Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 18:44:56 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg command to remove multiple packages
Message-ID:  <52E40628.2050505@infracaninophile.co.uk>
In-Reply-To: <1481503.WyXhS8WgeP@kontrol.kode5.net>
References:  <52E38EB5.3080604@gmail.com> <52E39294.3010106@FreeBSD.org> <1481503.WyXhS8WgeP@kontrol.kode5.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--ueGKAOtEq22HjRDTTRk60he2nraj3QFD9
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 25/01/2014 15:51, James Griffin wrote:
> On Saturday 25 January 2014 10:31:48 Matthew Seaman wrote:
>> On 25/01/2014 10:15, James Griffin wrote:
>>> Hi
>>>
>>> With this new pkgng thing, if I use 'pkg delete -R -x xfce' will it
>>> remove all the stuff related to the xfce4 installation. I had to use
>>> ports to build xfce4 because there wasn't a meta-pkg to install (at
>>> least not that I could find), but i'm using kde4 now instead. Could=20
> do
>>> with the disk space.
>>>
>>> I guess that command won't find a few bits like thunar and some=20
> libs.
>>
>> 'pkg deinstall -R pkgname' deletes pkgname and everything that=20
> requires
>> pkgname, which is 90% of what you need.
>>
>> The remaining 10% can be cleaned up by:
>>
>>   pkg autoremove
>>
>> This deletes packages that were installed solely to fulfill the
>> dependencies of pkgname -- if you're building your packages locally=20
> with
>> portmaster / portupgrade or similar, it should try and remove any=20
> build
>> dependencies[*] too, which may or may not be what you want.  Also,=20
> it
>> won't remove a package if something else has subsequently been=20
> installed
>> that also requires it.
>>
>> 	Cheers,
>>
>> 	Matthew
>>
>> [*] pkg(8) only ever considers run-time dependencies.
>=20
> Are you sure 'pkg deinstall ...' is right? I don't see deinstall as an =

> available argument to use. Am I missing something here?

Err -- no.  It's 'pkg delete'  --- "pkg deinstall" is just something my
fingers want to produce in defiance of my brain.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matthew@infracaninophile.co.uk


--ueGKAOtEq22HjRDTTRk60he2nraj3QFD9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJS5AYyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT8sIQAJXayXZQL7RPN55DPAkSlsdE
0NqUqgXMFWR1pU7j5ORotoEWjQUQ0hVfH/yE8dGTkCwMi3CJitWmpO70OyARBdsC
ewIsCAPgomrrRCJBIrQ/qfIIB2vxvayQU9BNqq6BEJF4gXqXLbER8odnjqU9fomI
mACdJ0+2Wdf6Uol6oy1H0XhBaWiy11I615G8GsNbouDKp3iSmY2HLmxyXJSQ7f6y
sqlkFpnDtGnuYNd0HN0F+6gFqiyonU8JgNoVuImLrKtHYb+WqRT1jWKdINGPT9bD
HmFXs0ewVaPxrYGnHmyspAT+AxlxofltPSd1fbEgXD+GCMhc0SXo9FtwgMB9uHP2
T3WhsT3M22a0bKTeARycvXKoHN4yTf2KHjwS7o2esyXM2ljrbjnI/QNYRspn8VSY
JObzwkhQTiVb27D1ehkethLDykMuXbnXwNKeYNfWS/KNw4nOmBTsvU77Po4AjOEY
pb87D/pq1E11V+H9JVPswYyl0MGcOAPhXFewU4lNRAVM2tldTGXoTMBKs4Cn0O0W
mHUgFlwTgiMkN1fOXToT1Es6PQAAIiiW87hQ34Lux6Q21PyS8MJsryzv9A4xt582
lH7J7OXdfkDM/s+l2+3b/ub87zTuqD3zDLyPezdegpm6LKlLKF7bKIOjevs9nyJA
wWYJuwhDw/9ZsJySvifW
=zt39
-----END PGP SIGNATURE-----

--ueGKAOtEq22HjRDTTRk60he2nraj3QFD9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52E40628.2050505>