On Tue, 04 Jul 2006 09:37:45 +1200 Nick Rout <[EMAIL PROTECTED]> wrote:

NR> 
NR> On Mon, 03 Jul 2006 06:30:39 +0100
NR> Graham Murray wrote:
NR> 
NR> > Maybe what is needed is an enhancement to portage to allow the removal
NR> > of a meta-package to (optionally) also remove the 'real' packages
NR> > which it caused to be installed.
NR> 
NR> ummmm think about this.
NR> 
NR> new system, no gui installed.
NR> 
NR> I install kde-meta, which installs xorg-x11 as a dependency.
NR> 
NR> I decide I want gnome, I install gnome which doesn't install xorg,
NR> because it is already installed.
NR> 
NR> I decide I do not want kde because i prefer gnome. I unsinstall
NR> kde-meta. Under your scheme it would also uninstall xorg-x11. But that
NR> is not what you want!

Hmm, it can be done with "garbage collector principe". Each
package will have counter which increases when some package which depend on
it is installed. Decreased, when the package is uninstalled. If counter is
zero, "dependency" package can be uninstalled along with package specified
for uninstalling.

Robert


-- 
Robert Cernansky
E-mail: [EMAIL PROTECTED]
Jabber: [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list

Reply via email to