Alan McKinnon wrote: > On Saturday 28 November 2009 13:59:38 Jörg Schaible wrote: >> Alan McKinnon wrote: >> > On Friday 27 November 2009 23:07:25 Jörg Schaible wrote: >> >> Alan McKinnon wrote: >> >> > On Thursday 26 November 2009 19:34:34 James wrote: >> >> >> kde-4.3.1 went smooth, except >> >> >> for I have to manually removed all the kde-3.5 packages. >> >> >> It had kde-meta-3.5.10. Is there some syntax or a better >> >> >> method to insure all the kde-3.5.x packages are removed, >> >> >> without a manual sweep? >> >> > >> >> > grep kde /var/lib/portage/world >> >> > and eyeball the output. There should only be -meta packages, and >> >> > individual packages for which you have NOT installed the -meta >> >> > package, in there. vi the world file and remove the stuff that >> >> > shouldn't be there, then >> >> > >> >> > emerge -C <all-kde3.5-meta-packages-in-world> && emerge -a >> >> > --depclean >> >> >> >> as alternative simply append to all kde-base/* packages in world :4.3 >> >> and do then a depclean ;-) >> > >> > Which promptly defeats the ENTIRE purpose of a world file and -meta >> > packages. >> >> a) I've never used the meta packages, but selected my KDE apps on purpose > > You missed the part where the user clearly states earlier that he DOES use > -meta packages. With that in mind, any advice you give should be aligned > to the fact that he is a -meta user > >> b) it's a lot easier this way to get rid of the KDE 3 stuff, however you >> should get drop of the slot again after depclean has been finished > > How is it easier? You have to maintain the SLOTs in world yourself because > the instant you do that portage will not automagically offer to upgrade > anymore (upgrades within the same slot excepted). And --depclean will NOT > adjust your SLOTs in world when it's finished. I can't really make sense > of your last sentence but that is what you seem to imply
Yes, that's what I've said. Drop the slot again after depclean has finished. Exactly because of the upgrades. >> > If that's how you want to admin your box, >> >> I am using long enough Gentoo that I remember very well the times when >> portage destroyed the world file completely. > > That was long ago and no longer applicable. That bug in portage got fixed, > so a behaviour on your part to compensate for a bug that is not there is > outdated behaviour. > >> And regenworld put *anything* >> into world at that time. Therefore I know very well, what should be in >> this file and what not. There's no magic. > > Yes, the only things in world are packages you want that are not > dependencies of something else already in world. You are advising the user > to put the dependencies of -meta packages into world No. I adviced him to add :4.3 to all kde-base/* packages that *are* in world. > when the -meta > package is already there. It does not matter in this case if the package is -meta or not. > > And that is plain silly > >> > can I recommend you switch to >> > sabayon instead? >> >> ROFL! So, you mean, if users get too smart, Gentoo is no longer their >> distribution? Don't be silly. > > Erm, you should read the whole thread and realise the bits you missed - > the bits that make your statements nonsensical All I did, was offering an alternative method to get rid of KDE 3 using depclean without the need to identify every package individually. Feel free to ignore it. - Jörg