KH wrote: > Dale schrieb: > >> Michael P. Soulier wrote: >> >> >>> I'm new to gentoo, and I recently changed my USE flags, so I ran >>> >>> emerge -p --depclean >>> >>> to see what it suggests removing. >>> >>> Along with many others, I see >>> >>> dev-lang/python >>> selected: 2.4.4-r13 >>> protected: none >>> omitted: 2.5.2-r7 >>> >>> [EMAIL PROTECTED]:~$ equery list | grep dev-lang/python >>> dev-lang/python-2.4.4-r13 >>> dev-lang/python-2.5.2-r7 >>> >>> So it's going to remove the redundant python version, is that right? Any >>> chance of shared files being removed? >>> >>> Thanks, >>> Mike >>> >>> >>> >> Run this, emerge -uvDNp world and see if it wants to emerge anything. >> man emerge will tell you what the options are for but the -N is the >> important part. Also, you may want to run python-updater as well just >> to see if it picks up anything. Basically, you want to make sure >> everything is using the new version of python before removing the old. >> --depclean has no clue on that one. >> >> Also, anytime you run --depclean, run revdep-rebuild -i afterwards just >> in case something did get messed up. Always do that before you log out >> or reboot. I have been known to switch to another console and login >> before logging out of the other one. Just to be sure. >> >> Be very careful with --depclean. It can really mess up something if you >> are not watching close. Ask first if you're not sure. >> >> Dale >> >> :-) :-) >> >> >> > Hi, > As I have written somewhere else a couple of times. If unmerging a part > of the system consider running quickpkg --include-config=y > <forexamplepython> before. Running revdep-rebuild might show you do have > to reinstall whatever you unmerged but emerge might not be able to do it > any longer if something is really broken. > kh > > >
Another good way is to have it in make.conf. I have buildsyspkg in mine so that it does it automatically. It hasn't saved me yet since I follow my own advice but it may one day. Dale :-) :-)