On Tue, Aug 01, 2006 at 10:37:41AM -0500, J Moore wrote:
> I tried the new "update" feature of pkg_add following my 3.8-to-3.9 
> upgrade.
> 
> 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).
> 
> So - after doing the "package add w/ update" to upgrade all of my other 
> packages, unrar & unarj have to be upgraded from ports via "make && make 
> install". I checked version numbers & saw that unarj did not need 
> upgrading, but my existing version of unrar was an old one.
> 
> make completed without incident; make install failed iaw the error 
> message above. Perhaps the solution is to rip out clamav, and go through 
> the whole mess of other dependencies to get this package upgraded... but 
> I'm hoping there is a better/easier way.

Use make package and pkg_add -r, or make update. Note that you might
want to give an explicit path for pkg_add, like pkg_add ./unrar-x.y.tgz,
as '.' is, at least, not in my PKG_PATHs [1].

                Joachim

[1] Arguably, this is a good thing for the same reason(s) '.' does not
belong in root's PATH.

Reply via email to