On Fri, 19 Oct 2007, Zac Medico wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Daniel Barkalow wrote: > > I've been doing a lot of --depclean lately, and I've run into something > > odd. "emerge --depclean cross-avr/gcc" wants to remove all 3 versions, but > > it's in my world file. On the other hand, "emerge --depclean" doesn't want > > to remove any of them. I initially set this up with a crossdev that's now > > quite ancient, which may be significant, but I don't want to entirely redo > > all my avr compilers to get them with the new crossdev. > > > > What I'd actually like is to have a specific version (the one that our > > code is most heavily tested with), and the latest version (to test that). > > Is there some way to have --depclean see a dependancy on a specific > > version (or slot, as I've already masked other versions that would be in > > that slot) from world or the equivalent? > > I think you want --prune, since --depclean behaves like a dependency > aware version of --unmerge.
According to the man page, --prune will remove the old version that I want to keep. I want to have 3.4.4-r1 and (currently) 4.2.2, but I don't care about 4.1.2. When 4.2.3 comes out, I'll want that instead of 4.2.2. -Daniel *This .sig left intentionally blank* -- [EMAIL PROTECTED] mailing list