How do uninstall a package and all it's dependencies ?
Beech Rintoul
beech at mangohealth.org
Thu Apr 20 04:40:14 UTC 2006
> On 4/20/06, Patrick Bowen <pbowen at fastmail.fm> wrote:
> > Low Kian Seong wrote:
> > >Dear all,
> > >
> > >Been digging around but never really found the answer to this one, say
> > > if i install xfce4 package and then later I want to uninstall xfce4 and
> > >*all* it's dependencies, how do i do it ?
> > >
> > Seong;
> >
> > I do that fairly often when I'm just looking at packages. Try
> > "pkg_deinstall -R package-name", where package-name is replaced with the
> > name of the package you want to delete, in your case xfce4.
> >
> > pkg_deinstall -R xfce4.
> >
> > Patrick
On Wednesday 19 April 2006 19:23, Low Kian Seong wrote:
> The problem about the -R option is that normally that takes off stuff like
> xorg-server and friends too ! Really not nice, or am I doing something
> wrong ?
Add the -i flag. From the man:
-i
--interactive Request confirmation before attempting to delete each
package, regardless whether or not the standard input
device is a terminal.
A little more hands on, but it'll keep you from nuking something you want to
keep.
Beech
--
---------------------------------------------------------------------------------------
Beech Rintoul - Sys. Administrator - beech at mangohealth.org
/"\ ASCII Ribbon Campaign | Mangohealth
\ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310
X - NO Word docs in e-mail | Anchorage, AK 99501
/ \ - XanGo - http://www.mangohealth.org
---------------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060420/8033d360/attachment.pgp
More information about the freebsd-questions
mailing list