On Tue, Aug 01, 2006 at 05:59:04PM +0200, the unit calling itself Nikolay Sturm wrote: > > This worked well for the most part - the exceptions being unrar & > > unarj; a couple of archivers required by clamav. The pkg_add update > > said it couldn't upgrade those packages. As I understand it, pkg_add > > doesn't work with these apps due to some political/licensing issue - > > they are provided as ports ONLY (not packages). > > pkg_add works perfectly fine with these packages, they are just not > provided by OpenBSD. That means you have to build the packages yourself > and then pkg_add -r and -u will work, assuming your PKG_PATH environment > variable is set correctly or you use absoulte pathnames. > > BTW: Providing details means as well to provide exact comand lines and > error messages. Interpretations of error messages are basically useless.
Yes - in many cases you are correct. So here's what did finally work: # pkg_add -r /usr/ports/packages/i386/all/unrar-3.54p0.tgz unrar-3.54p0 (extracting): complete unrar-3.43 (deleting): complete unrar-3.54p0 (installing): complete Clean shared items: complete Some things I learned: 1) a successful 'make' produces a package; pkg_create doesn't appear to be required. 2) all "made" packages go to /usr/ports/packages/i386/all 3) both ftp sites *and* local packages can be specified in PKG_PATH So perhaps if I had followed this sequence I could have avoided the problems I encountered: # setenv PKG_PATH ftp://ftp3.usa.openbsd.org/pub/OpenBSD/3.9/packages/i386/;/usr/ports/packages/i386/all # pkg_add -ui -F update -F updatedepends Thnx, J
