wrong pkg_add url after sysupgrade

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

wrong pkg_add url after sysupgrade

shadrock uhuru
after trying sysupgrade for the first time on my laptop running snapshots
running the following command returns no such dir.

doas pkg_add -u
https://ftp.OpenBSD.org/pub/OpenBSD/6.6/packages/amd64/: no such dir
pkg_info p5-finance
https://ftp.OpenBSD.org/pub/OpenBSD/6.6/packages/amd64/: no such dir

my /etc/installurl has
cat /etc/installurl
https://ftp.OpenBSD.org/pub/OpenBSD

does this need editing
if so what url should i use ?

shadrock
Reply | Threaded
Open this post in threaded view
|

Re: wrong pkg_add url after sysupgrade

Peter Nicolai Mathias Hansteen
On Wed, Oct 09, 2019 at 01:40:42PM +0000, shadrock uhuru wrote:
> after trying sysupgrade for the first time on my laptop running snapshots
> running the following command returns no such dir.

We're close enough to release that pkg_add needs to be run with '-D snap'
in addition to other options.

- P

--
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

Reply | Threaded
Open this post in threaded view
|

Re: wrong pkg_add url after sysupgrade

Paul de Weerd
In reply to this post by shadrock uhuru
On Wed, Oct 09, 2019 at 01:40:42PM +0000, shadrock uhuru wrote:
| after trying sysupgrade for the first time on my laptop running snapshots
| running the following command returns no such dir.
|
| doas pkg_add -u
| https://ftp.OpenBSD.org/pub/OpenBSD/6.6/packages/amd64/: no such dir
| pkg_info p5-finance
| https://ftp.OpenBSD.org/pub/OpenBSD/6.6/packages/amd64/: no such dir
|
| my /etc/installurl has
| cat /etc/installurl
| https://ftp.OpenBSD.org/pub/OpenBSD
|
| does this need editing
| if so what url should i use ?

Same url, different command: pkg_add -u -Dsnap

Twice a year there's a brief window where snapshots have the name of
the upcoming release.  During that time, you must add -Dsnap to
pkg_add.  It doesn't hurt to have -Dsnap when you're running something
-current or -beta, so if you always run snaps, best to train you
muscle memory to do -Dsnap always :)

Cheers,

Paul 'WEiRD' de Weerd

--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply | Threaded
Open this post in threaded view
|

Re: wrong pkg_add url after sysupgrade

Justin Noor
In reply to this post by shadrock uhuru
For future reference you could also:

export PKG_PATH=“
https://cdn.openbsd.org/pub/OpenBSD/snapshots/amd64”

Or whatever your preferred mirror is.

Then pkg_add -u should work

On Wed, Oct 9, 2019 at 6:42 AM shadrock uhuru <[hidden email]> wrote:

> after trying sysupgrade for the first time on my laptop running snapshots
> running the following command returns no such dir.
>
> doas pkg_add -u
> https://ftp.OpenBSD.org/pub/OpenBSD/6.6/packages/amd64/: no such dir
> pkg_info p5-finance
> https://ftp.OpenBSD.org/pub/OpenBSD/6.6/packages/amd64/: no such dir
>
> my /etc/installurl has
> cat /etc/installurl
> https://ftp.OpenBSD.org/pub/OpenBSD
>
> does this need editing
> if so what url should i use ?
>
> shadrock
>
Reply | Threaded
Open this post in threaded view
|

Re: wrong pkg_add url after sysupgrade

shadrock uhuru
In reply to this post by shadrock uhuru
On 10/9/19 2:56 PM, Paul de Weerd wrote:

On Wed, Oct 09, 2019 at 01:40:42PM +0000, shadrock uhuru wrote:
| after trying sysupgrade for the first time on my laptop running snapshots
| running the following command returns no such dir.
|
| doas pkg_add -u
| https://ftp.OpenBSD.org/pub/OpenBSD/6.6/packages/amd64/: no such dir
| pkg_info p5-finance
| https://ftp.OpenBSD.org/pub/OpenBSD/6.6/packages/amd64/: no such dir
|
| my /etc/installurl has
| cat /etc/installurl
| https://ftp.OpenBSD.org/pub/OpenBSD
|
| does this need editing
| if so what url should i use ?

Same url, different command: pkg_add -u -Dsnap

Twice a year there's a brief window where snapshots have the name of
the upcoming release.  During that time, you must add -Dsnap to
pkg_add.  It doesn't hurt to have -Dsnap when you're running something
-current or -beta, so if you always run snaps, best to train you
muscle memory to do -Dsnap always :)

Cheers,

Paul 'WEiRD' de Weerd


thanks  Paul
Reply | Threaded
Open this post in threaded view
|

Re: wrong pkg_add url after sysupgrade

Michael Joy
In reply to this post by shadrock uhuru
I was confused by this myself. Thanks Paul.On 10 Oct 2019 7:01 am, shadrock uhuru <[hidden email]> wrote:

>
> On 10/9/19 2:56 PM, Paul de Weerd wrote:
>
> On Wed, Oct 09, 2019 at 01:40:42PM +0000, shadrock uhuru wrote:
> | after trying sysupgrade for the first time on my laptop running snapshots
> | running the following command returns no such dir.
> |
> | doas pkg_add -u
> | https://ftp.OpenBSD.org/pub/OpenBSD/6.6/packages/amd64/: no such dir
> | pkg_info p5-finance
> | https://ftp.OpenBSD.org/pub/OpenBSD/6.6/packages/amd64/: no such dir
> |
> | my /etc/installurl has
> | cat /etc/installurl
> | https://ftp.OpenBSD.org/pub/OpenBSD 
> |
> | does this need editing
> | if so what url should i use ?
>
> Same url, different command: pkg_add -u -Dsnap
>
> Twice a year there's a brief window where snapshots have the name of
> the upcoming release.  During that time, you must add -Dsnap to
> pkg_add.  It doesn't hurt to have -Dsnap when you're running something
> -current or -beta, so if you always run snaps, best to train you
> muscle memory to do -Dsnap always :)
>
> Cheers,
>
> Paul 'WEiRD' de Weerd
>
>
> thanks  Paul