Sat, 20 Feb 2016 22:59:59 -0500 Ежи рыбы <[email protected]>
> $ printenv PKG_PATH
> ftp://ftp5.usa.openbsd.org/pub/OpenBSD/snapshots/packages/amd64
> $ egrep -v '(^#|^$)' /etc/{,examples/}pkg.conf
> /etc/pkg.conf:installpath = 
> http://ftp5.usa.openbsd.org/pub/OpenBSD/%c/packages/%a/

Try setting this in ~/.profile to match what you have in /etc/pkg.conf

export 
PKG_PATH=http://ftp5.usa.openbsd.org/pub/OpenBSD/snapshots/packages/`arch -s`/

NB: use plain text message to reply

20.02.2016, 22:19, <[email protected]>:
> 
> > Sat, 20 Feb 2016 17:45:02 -0500 Ежи рыбы <[email protected]>
> > 
> > When attempting to update packages with: # pkg_add -vui
> > the update fails, with a series of error messages
> > ftp: /root/.netrc: Permission denied
> 
> 1) What does this printenv(1) produce?
> 
> $ printenv PKG_PATH
> 
> 2) What do you have in pkg.conf(5)?
> 
> $ egrep -v '(^#|^$)' /etc/{,examples/}pkg.conf
> 
> 3) Compare this with the mirrors list:
> 
> http://www.openbsd.org/ftp.html
> http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/www/build/mirrors.dat
> http://spacehopper.org/mirmon/
> 
> 4) Try ftp(1) connect manually with the results from 1) & 2) like
> this
> 
> $ ftp -d \
>  ftp://ftp5.usa.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/

Reply via email to