Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC about another *DEPEND variable
Date: Mon, 25 Sep 2006 17:19:18
Message-Id: 200609232313.42321.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] RFC about another *DEPEND variable by Ciaran McCreesh
On Saturday 23 September 2006 22:36, Ciaran McCreesh wrote:
> How would it know what other files are required? For example, if > libexpat.so.0 were to rely upon /usr/share/expat-0/config , how would > the package manager know not to clobber that file? Or are you > suggesting leaving (or reparenting, if you prefer) all a package's > files, not just the .so files?
i'm talking about just libexpat.so.0 ... keep the file around long enough to update the system
> Or a related question: what proportion of breakages will be fixed > merely by keeping .so files and nothing else around? Will implementing > this prevent enough breakages to make it worthwhile?
of course it will when you look at core things like openssl, acl, openldap, etc... if you remove anyone one of these packages completely, you risk breaking everything (coreutils and many system packages use libacl) or all your network capabilities (sshd/ssh no longer usuable; now you require on-site service to fix ... hopefully you have packages cached cause wget no longer works either) -mike