Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Dec 2006 14:45:21 +0100
From:      Svein Halvor Halvorsen <svein.h@lvor.halvorsen.cc>
To:        Graham Bentley <admin@cpcnw.co.uk>
Cc:        questions@freebsd.org, roberthuff@rcn.com
Subject:   Re: simple question...how to show packages which depend upon
Message-ID:  <457031F1.2060006@lvor.halvorsen.cc>
In-Reply-To: <001301c714ab$c6a42dc0$1c07a8c0@CPC>
References:  <001301c714ab$c6a42dc0$1c07a8c0@CPC>

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

Graham Bentley wrote:
>> Example: you install Z, which depends on Y, which depends in X,
>> ..., which depends on Q.
>> What if Q is "xorg-server-6.9.0_1"?
>=20
> I installed 'feh' thinking wrongly it was a console app and ended up
> getting x, xlibs etc etc when all I wanted was a console app to view
> jpgs in elinks. So, the above is exactly what I wanted.

Ok, so you may want x-org-server deleted, by what about some other
dependency that your unwanted app shares with some port you really
do want to keep around?

I find pkg_cutleaves handy. It will loop through all the leaves of
your dependency tree (all ports that do not have any other ports
dependant on them), and asks if you want to keep or delete it. After
 the ports tree is cleaned up, it will ask you to repeat the process
for any ports that may have become leaves as a result of the
previous iteration.

When I look through the pkg_info list, I usually don't know what all
the installed ports do, I why I need it. But i usually do know if I
need a leaf or not.


	Svein Halvor


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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)
Comment: mailto:pgpkey@svein.halvorsen.cc to get my PGP-key

iD8DBQFFcDH3hQg3vZGYu0ARAl8KAJ9qlM9pcUJ2hzoxndUmQhYeqGGM2wCePdmb
NHtfJNAUqX7OQoYR3sw9aLM=
=aAFz
-----END PGP SIGNATURE-----

--------------enigDDDDA9924E091B3D13A0F6EF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?457031F1.2060006>