pkg_add/delete questions

RW list-freebsd-2004 at
Mon Oct 23 19:55:27 UTC 2006

On Monday 23 October 2006 03:07, Jonathan Horne wrote:
> On Sunday 22 October 2006 20:52, Mark Jayson Alvarez wrote:
> > Hi,
> >
> > I have several questions:
> >
> > 1. If I install a particular package, its dependencies will be
> > installed as well. Now if I remove it later using pkg_delete, only
> > that package will be removed and not the dependencies. The reason I
> > guess is because some other packages may be dependent on those
> > dependencies as well. Is there a way to remove a particular package
> > and all of its dependencies (given that no other package is dependent
> > on those dependencies)?
> >
> > 2. Is it possible to tell pkg_add to just fetch the package and not
> > install them? My goal is to use my Internet conn
> this query would be easily answered by 'man pkg_add' and 'man pkg_delete'.
> ill hint you that you are looking for -r and a -n.

Unfortunately the meaning of -r is inverted in the system package tools with 
respect to portupgrade and its associated package tools, so  pkg_delete -r 
isn't much use. Portupgrade's pkg_deinstall  does support this.

More information about the freebsd-questions mailing list