pkg_upgrade?

Benjamin Lutz benlutz at datacomm.ch
Mon May 29 16:51:57 PDT 2006


On Tuesday 30 May 2006 01:42, Joe wrote:
> Hi,
>
> I've read the documentation and it seems there's no pkg_upgrade or
> pkg_update, or a way to install an updated/upgraded package.  I'd like
> to determine if that is indeed the case.
>
> [...]
>
> The documentation mentions portupgrade and portmanager as mechanisms to
> upgrade ports, but if I'm not mistaken these invoke source updates, not
> a binary upgrade as was done for the OS.  It appears that the only way
> to upgrade in binary form is to use pkg_delete -f to remove each
> package, e.g., expat 1.98, and then pkg_add to get the newer (2.0)
> version.  And then you have to be extra careful with dependencies
> between packages.
>
> [...]

portupgrade actually does support packages as well. Use the --use-packages 
switch. It will look for local packages, remote packages, and if both fail, 
fall back to compiling the ports.

Cheers
Benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060529/275dd5bf/attachment.pgp


More information about the freebsd-questions mailing list