the art of pkgdb -F

RW fbsd06 at mlists.homeunix.com
Thu Mar 29 19:40:09 UTC 2007


On Thu, 29 Mar 2007 12:15:53 -0400
Gerard Seibert <gerard at seibercom.net> wrote:

> On Wed, 28 Mar 2007 20:36:59 -0400
> "Michael P. Soulier" <msoulier at digitaltorque.ca> wrote:
> 
> > On 28/03/07 RW said:
> > 
> > > The gettext upgrade is actually a good example of what portupgrade
> > > offers. With portupgrade the -rf option is advisable, but not
> > > essential, with portmaster, it's essential that the -r option is
> > > used, If it's not, or the upgrade fails to complete, you can
> > > end-up with not much more than the base-system working.  
> > 
> > Wow. You would think that such tools would prevent you from getting
> > into that situation.
> 
> That is the beauty of portmanager. Just using the -p flag will
> guarantee that all dependencies are updated, no matter how far down
> the dependency's tree. Using the -u -p combination will get everything
> working correctly, although in the case of the 'gettext' update, it
> can involve a large number of applications being updated.
>
Portmanager is really no better, the dependencies recorded in the
package database are also recursive. The big problem with gettext
was that a lot of port failed to build afterwards, leaving them with a
missing library.


More information about the freebsd-questions mailing list