From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-133163-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RhlKs-0004SD-AB
	for garchives@archives.gentoo.org; Mon, 02 Jan 2012 17:06:11 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 985E021C333;
	Mon,  2 Jan 2012 17:05:56 +0000 (UTC)
Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178])
	by pigeon.gentoo.org (Postfix) with ESMTP id 5AE0721C31C
	for <gentoo-user@lists.gentoo.org>; Mon,  2 Jan 2012 17:04:48 +0000 (UTC)
Received: from hactar.digimed.co.uk (hactar.digimed.co.uk [192.168.1.3])
	by mail.digimed.co.uk (Postfix) with ESMTPSA id DCA8A8000A
	for <gentoo-user@lists.gentoo.org>; Mon,  2 Jan 2012 17:04:46 +0000 (GMT)
Date: Mon, 2 Jan 2012 17:04:46 +0000
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge --update behavior
Message-ID: <20120102170446.33a8065b@hactar.digimed.co.uk>
In-Reply-To: <4F01D6A2.9000002@orlitzky.com>
References: <4F00D521.1030702@orlitzky.com>
	<CA+czFiBM3sJhw0h7RgfiehUyVjZMNX8dYosZrbL4AGUrh931JA@mail.gmail.com>
	<4F00DA99.8050502@orlitzky.com>
	<4F00DEC5.5090500@gmail.com>
	<CAK2H+eeLmuDsPtDWe7tH3wKfCzHcf=vErNogiFcj2yoBOSJD6g@mail.gmail.com>
	<4F00E741.6050002@orlitzky.com>
	<CAK2H+ee5x4FdrbHa17i-TzV+N2=w6fvsD+VjFWN6acBROui4ug@mail.gmail.com>
	<4F01CED2.5090806@libertytrek.org>
	<CAK2H+ecz2A-kAN81w9PMU56Mqb5i1e4sEEHMOvjQ58tbKSRPeg@mail.gmail.com>
	<4F01D6A2.9000002@orlitzky.com>
Organization: Digital Media Production
X-Mailer: Claws Mail 3.8.0cvs8 (GTK+ 2.24.8; x86_64-pc-linux-gnu)
X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667  FE37 BA6E 1A97 4375 1903
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=PGP-SHA1;
 boundary="Sig_/WmRjjmvoGnlvQykX7Dr_3En"; protocol="application/pgp-signature"
X-Archives-Salt: 54d33ff0-970a-49fe-b908-1c46ed2fa266
X-Archives-Hash: 4b5d519b2bf1c215f65868aba03f027d

--Sig_/WmRjjmvoGnlvQykX7Dr_3En
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Mon, 02 Jan 2012 11:09:06 -0500, Michael Orlitzky wrote:

> Fine for your home PC, doesn't cut it on servers. I have the following=20
> in one of my world files:
>=20
>    dev-php/PEAR-Mail
>    dev-php/PEAR-Mail_Mime
>    dev-php/PEAR-PEAR
>    dev-php/PEAR-Structures_Graph
>=20
> which of those do I want? At least one of them was installed to support=20
> a customer's custom PHP application. Maybe all of them were and they
> all belong in world. No one knows, this server is older than the
> current --update behavior.
>=20
> So which ones can I remove?

I use sets to deal with this, so much simpler to organise than a single
world file. If I am installing something from outside of portage and it
has dependencies, I create a set listing those dependencies and emerge
that set. If I remove the package I can remove the set and depclean will
unmerge anything not needed by other packages.

For example, I use a perl script called zenus (specific to my ISP) and=20
/etc/portage/sets/zenus-deps contains

dev-perl/SOAP-Lite
perl-gcpan/SOAP-DateTime
dev-perl/Class-Inspector
dev-perl/Data-Dumper-Concise

Those packages may or may not be needed by anything else, but a set means
I keep them installed without cluttering world. I do similar for specific
projects, especially short term ones so I can clean up after.


--=20
Neil Bothwick

Committee (noun): A group of people spending hours taking minutes

--Sig_/WmRjjmvoGnlvQykX7Dr_3En
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iEYEARECAAYFAk8B464ACgkQum4al0N1GQOmSQCfUtrtrE50EEQzUAccOXyLl07l
0ksAn1DRop5Dl04A45GtD6am4SLQkoMQ
=B4AV
-----END PGP SIGNATURE-----

--Sig_/WmRjjmvoGnlvQykX7Dr_3En--