Hi Juan,

Juan Miscaro wrote on Mon, Feb 09, 2009 at 08:38:01PM -0500:

> A few months ago I installed amavisd-new by ports.  I am now upgrading
> my system to the latest snapshot (060209).  The pkg_add command
> upgraded many of my packages but left me with packages not upgraded
> due to them being only available in the ports tree.  This seems to me
> to be a typical scenario so I figured there must be a standard way of
> dealing with this.  Do I actually have to dig and discover what those
> packages are and then manually re-install them?

Yes; the reasons for those packages not being upgraded vary, though.

> Probably not but I
> couldn't find any other way.  What I did was take a line from the
> output of the pkg_add upgrade and apply some tools (grep, sed, cut) to
> arrive at a file containing one package name per line.  Now instead of
> manually re-installing them can someone help me to programatically
> upgrade these things?

No, you must do that by hand.
Sometimes, things do change, and must be dealt with.
Not everything is automatic.

> The file contains:
> 
> expiretable-0.6

Obsolete, see pfctl(8), search for -T expire,
or see Peter's "Book of PF", page 71.

> p5-Archive-Tar-1.38
> p5-Compress-Raw-Zlib-2.011
> p5-Compress-Zlib-2.011
> p5-IO-Compress-Base-2.011
> p5-IO-Compress-Zlib-2.011
> p5-IO-Zlib-1.08

http://www.openbsd.org/faq/current.html#20080929

Just remove those.
When following -current, also follow the -current FAQ.

> unace-1.2bp0
> unarj-2.43
> unrar-3.81

Due to nasty licences, you must build those from source.

> p5-IO-INET6-2.01p0
> freeze-2.5

Don't know those two, sorry.

Hope this helps,
  Ingo

Reply via email to