Date: Wed, 19 Apr 2006 20:39:56 -0800 From: Beech Rintoul <beech@mangohealth.org> To: freebsd-questions@freebsd.org Cc: Patrick Bowen <pbowen@fastmail.fm>, Low Kian Seong <freebsd.low@gmail.com> Subject: Re: How do uninstall a package and all it's dependencies ? Message-ID: <200604192040.10554.beech@mangohealth.org> In-Reply-To: <a6baaade0604192023p14af3f0atbcc29e4989170bdd@mail.gmail.com> References: <a6baaade0604182113jbc2ed0oc2bfe8f3f71088de@mail.gmail.com> <4446C7E5.3050101@fastmail.fm> <a6baaade0604192023p14af3f0atbcc29e4989170bdd@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart3140722.kAcgrq0IEe
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
> On 4/20/06, Patrick Bowen <pbowen@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=20
> > >*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:
=2Di=20
--interactive Request confirmation before attempting to delete each
package, regardless whether or not the standard in=
put
device is a terminal.
A little more hands on, but it'll keep you from nuking something you want t=
o=20
keep.
Beech
=2D-=20
=2D------------------------------------------------------------------------=
=2D-------------
Beech Rintoul - Sys. Administrator - beech@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
=2D------------------------------------------------------------------------=
=2D-------------
--nextPart3140722.kAcgrq0IEe
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)
iD8DBQBERxCq2TFLCHYGSF0RAoxlAKCE38TC0uEY5chi3DVY2MGO63XM3QCaAz+3
Z5AnG4SbnEfMwjgQhUaIKNU=
=cuwV
-----END PGP SIGNATURE-----
--nextPart3140722.kAcgrq0IEe--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604192040.10554.beech>
