Re: Pkg_add completes installurl with bad openbsd version number
On Mon, Nov 04, 2019 at 05:16:35PM GMT, Bruno Martin wrote: > Hi Raf > > My PKG_PATH is empty. > But actually, by Dsnaping, I fixed the problem. > Regards > > Bruno > Hi Bruno, Are you absolutely sure it is empty? pkg_add(1) is getting the wrong URL from somewhere, and the usual suspects are: TRUSTED_PKG_PATH, the aforementioned PKG_PATH, and installurl(5). Is the latter in order? Check your user's, and root's env(1) for PKG_PATH again, please. Well, if, like you said, you have upgraded to OpenBSD 6.6, and then used: # pkg_add -Dsnap -u Then you didn't actually *fix* the problem, but potentially introduced a new one ;^) Regards, Raf
Re: Pkg_add completes installurl with bad openbsd version number
Hi Raf My PKG_PATH is empty. But actually, by Dsnaping, I fixed the problem. Regards Bruno > Le 4 nov. 2019 à 16:33, Raf Czlonka a écrit : > >> On Mon, Nov 04, 2019 at 08:24:04AM GMT, Bruno Martin wrote: >> Hello, >> >> I'm running openbsd 6.6 generic.mp#427 amd64 >> After the 6.6 upgrade I had troubles with pkg_add -u. >> I did several new upgrades to 6.6, removed all packages and now when I want >> to pkg_add something, it looks to the 6.4 tree. >> # pkg_add wget >> HTTPS://ftp.fr.openbsd.org/pub/OpenBSD/6.4/packages/amd64/: no such dir >> Can't find wget >> How can I find the 6.6 tree to upgrade my packages? >> >> Sorry if I don't follow the good way to address the question, but I am on a >> tablet to write. >> >> >> Bruno >> > > Hi Bruno, > > What does: > >$ echo $PKG_PATH > > return? > > Regards, > > Raf
Re: Pkg_add completes installurl with bad openbsd version number
On Mon, Nov 04, 2019 at 08:24:04AM GMT, Bruno Martin wrote: > Hello, > > I'm running openbsd 6.6 generic.mp#427 amd64 > After the 6.6 upgrade I had troubles with pkg_add -u. > I did several new upgrades to 6.6, removed all packages and now when I want > to pkg_add something, it looks to the 6.4 tree. > # pkg_add wget > HTTPS://ftp.fr.openbsd.org/pub/OpenBSD/6.4/packages/amd64/: no such dir > Can't find wget > How can I find the 6.6 tree to upgrade my packages? > > Sorry if I don't follow the good way to address the question, but I am on a > tablet to write. > > > Bruno > Hi Bruno, What does: $ echo $PKG_PATH return? Regards, Raf
Pkg_add completes installurl with bad openbsd version number
Hello, I'm running openbsd 6.6 generic.mp#427 amd64 After the 6.6 upgrade I had troubles with pkg_add -u. I did several new upgrades to 6.6, removed all packages and now when I want to pkg_add something, it looks to the 6.4 tree. # pkg_add wget HTTPS://ftp.fr.openbsd.org/pub/OpenBSD/6.4/packages/amd64/: no such dir Can't find wget How can I find the 6.6 tree to upgrade my packages? Sorry if I don't follow the good way to address the question, but I am on a tablet to write. Bruno