[ $ 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/ [ $ ftp -d ftp://ftp5.usa.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/ ]user (null):(null) host ftp5.usa.openbsd.org port (null) dir pub/OpenBSD/snapshots/packages/amd64 file Connected to plier.ucar.edu. 220 plier.ucar.edu FTP server ready. ---> USER anonymous 331 Guest login ok, send your email address as password. ---> PASS XXXX 230- Welcome to ftp.usa.OpenBSD.org in Boulder, Colorado, USA. 230- For other mirror sites visit http://www.openbsd.org/ftp.html ***[OpenBSD Splash - Puffy]***230- E-mail comments, questions, trouble reports, and complaints 230- to millert AT openbsd.org. Please drive safely. 230- 230 Guest login ok, access restrictions apply. ---> SYST 215 UNIX Type: L8 Remote system type is UNIX. Using binary mode to transfer files. ---> TYPE I 200 Type set to I. ---> CWD pub/OpenBSD/snapshots/packages/amd64 250 CWD command successful.ftp> 20.02.2016, 22:19, "[email protected]" <[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 : Update candidates: [PKG] -> [PKG] Error from ftp://ftp5.usa.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/[PKG].tgz 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/ where [PKG] progresses through the queue of update candidates. Thanks
