(this is i386, 4.3 release) PKG_PATH contains three locations
0) PKG_CACHE dir 1) first http server (mirror.switch.ch) 2) second http server (mirror.startek.ch) # echo $PKG_PATH /pkg_cache/:http://mirror.switch.ch/ftp/pub/OpenBSD/4.3/packages/i386/:http://mirror.startek.ch/OpenBSD/pkg/i386/e17/ e17 packages are only available in 2). Now there is an interesting phenomena: # pkg_add -x e-20071211p3 Error from http://mirror.switch.ch/ftp/pub/OpenBSD/4.3/packages/i386/e-20071211p3.tgz: ftp: Error retrieving file: 404 Not Found Error from http://mirror.switch.ch/ftp/pub/OpenBSD/4.3/packages/i386/e-20071211p3.tgz: ftp: Error retrieving file: 404 Not Found Error from http://mirror.switch.ch/ftp/pub/OpenBSD/4.3/packages/i386/e-20071211p3.tgz: ftp: Error retrieving file: 404 Not Found Error from http://mirror.switch.ch/ftp/pub/OpenBSD/4.3/packages/i386/e-20071211p3.tgz: ftp: Error retrieving file: 404 Not Found Error from http://mirror.switch.ch/ftp/pub/OpenBSD/4.3/packages/i386/e-20071211p3.tgz: ftp: Error retrieving file: 404 Not Found Error from http://mirror.switch.ch/ftp/pub/OpenBSD/4.3/packages/i386/e-20071211p3.tgz: ftp: Error retrieving file: 404 Not Found which is ok, since e17 is neither in 0) nor present on 1). However, e17 is also NOT found on 2), though it is present there - and it stopps (hangs). When I then press CTRL-C: ^CError from http://mirror.startek.ch/OpenBSD/pkg/i386/e17/e-20071211p3.tgz: http fetch aborted. Adding e-20071211p3:sdl-1.2.13p0 . . . (continues normally) Though the above looks like as if the server is just slow ("http fetch aborted") it actually isn't fetching anything. Even after hours, it just stays there. Now the fun part comes: When I do NOT set PKG_CACHE then pkg_add works as expected: # echo $PKG_PATH http://mirror.switch.ch/ftp/pub/OpenBSD/4.3/packages/i386/:http://mirror.startek.ch/OpenBSD/pkg/i386/e17/ # pkg_add -x e-20071211p3 Error from http://mirror.switch.ch/ftp/pub/OpenBSD/4.3/packages/i386/e-20071211p3.tgz: ftp: Error retrieving file: 404 Not Found Error from http://mirror.switch.ch/ftp/pub/OpenBSD/4.3/packages/i386/e-20071211p3.tgz: ftp: Error retrieving file: 404 Not Found Error from http://mirror.switch.ch/ftp/pub/OpenBSD/4.3/packages/i386/e-20071211p3.tgz: ftp: Error retrieving file: 404 Not Found Error from http://mirror.switch.ch/ftp/pub/OpenBSD/4.3/packages/i386/e-20071211p3.tgz: ftp: Error retrieving file: 404 Not Found Error from http://mirror.switch.ch/ftp/pub/OpenBSD/4.3/packages/i386/e-20071211p3.tgz: ftp: Error retrieving file: 404 Not Found Error from http://mirror.switch.ch/ftp/pub/OpenBSD/4.3/packages/i386/e-20071211p3.tgz: ftp: Error retrieving file: 404 Not Found Adding e-20071211p3:sdl-1.2.13p0 . . . (no hang, normal installation). In other words: As soon as I set PKG_CACHE, even when not including it in PKG_PATH, I see pkg_add stopping. Any insights are welcome. Maybe I just overlooked something in the archives or man pages? Thanks, Stephan -- ----------------------------------------------------------- StarTek - secure by design Tel ++41 44 500 111-0 Postfach 19 Fax ++41 44 500 111-2 CH-8118 Pfaffhausen/ZH Web http://startek.ch RSA public key: http://startek.ch/people/star/publickey.asc -----------------------------------------------------------