Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2006 20:55:01 +0100
From:      RW <list-freebsd-2004@morbius.sent.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg_add/delete questions
Message-ID:  <200610232055.02282.list-freebsd-2004@morbius.sent.com>
In-Reply-To: <200610222107.44751.freebsd@dfwlp.com>
References:  <cf5917110610221852h5d52afbducbfcbe88bbf71345@mail.gmail.com> <200610222107.44751.freebsd@dfwlp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610232055.02282.list-freebsd-2004>