i have randomly checked some packages if it is safe to remove it but i am confirmed again to not believe to
--depclean option - for example:

it recommend to remove package dev-python/pyxml but i have inscape installed (and it is in my world file)
and this one required pyxml

the second example is it wanted to remove xterm and it is only one terminal i have installed and used

now say - could i believe emerge --depclean does its job well? maybe i am wrong and someone advice me
how to use it and what to do because on the other side i am pretty sure i have some orphaned packages on
my system and would like to clean it up.

if it will be needed i can provide more information, it is enough to say what.

--JB

Last edited by JohnBlbec on Mon Mar 28, 2011 6:55 pm; edited 1 time in total

Inkscape does not require pyxml, at least it does not require it anymore.

But as with your example of xterm, you have to be careful so that it does not remove packages that you use but have not explicitly installed, so check the list carefully. Xterm used to be a dependency of xorg-x11, but since it is nonessetial for people who use other terminal emulators, it was removed. You prevent it from removing xterm by doing "emerge --noreplace xterm"._________________“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010

just run revdep-rebuild after emerge --depclean, it will reinstall any required packages to make sure all dependencies are met_________________I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.

I think emerge --depclean just broke my system. First I updated adobe flash and python then I ran "revdep-rebuild" because I forgot to clean my system with emerge --depclean. After that, I ran the depclean command and it wanted to remove python (not sure which version) and gentoo-sources. Because I update my box every day, I thought that everything wil be ok but I was wrong. Now, I cannot even run emerge --update world because when I do, nothing happens. Please help. Here is my error when running revdep-rebuild

grab http://www.jabawok.net/gentoo/distfiles/Python-2.6.6.tar.bz2 - and extract it overwriting the files you have, it should allow you to use python, i would then suggest doing - emerge --update --newuse --deep @world - which hopefully should compile the packages your system requires_________________I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.

Illuminated, I think it might have removed python 2.6 and left you with 2.7. Try running "eselect python" and set it to version 2.7. You also probably forgot to run python-updater._________________“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010

You are right. After I examined the problem I remembered that I forgot to change active python to 2.7. After that I ran python-updater and everything works fine now. Thank you guys. Is it safe to let portage remove dev-python/pyxml version 0.8.4-r2 ?

Should be safe._________________“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010

haha... I panicked, also, after --depclean removed python-2.6x from my system and got me a broken portage.

I think the python 2.7 elog message is incomplete. Apart from reminding to run python-updater, it should also remind you to eselect the new python 2.7x version, since after all at the end on any world update the system recommends you to run --depclean, when --depclean will remove python v2.6x

So, as instructed by the python 2.7 elog, I had run python-updater before doing the --depclean, but I ended up with a broken system. An eselect to the new 2.7 did the trick and I recovered emerge functionality. Now I'm re-running python-updater and 105 packages are being updated

BTW, I always use --depclean followed by a revdep-rebuild after my daily world updates, and it helps me keeping my system clean and shiny Not a single problem in a few years except today (if this can be considered as such).

Inkscape does not require pyxml, at least it does not require it anymore.

But as with your example of xterm, you have to be careful so that it does not remove packages that you use but have not explicitly installed, so check the list carefully. Xterm used to be a dependency of xorg-x11, but since it is nonessetial for people who use other terminal emulators, it was removed. You prevent it from removing xterm by doing "emerge --noreplace xterm".

I just checked my own box and also in my case pyxml is needed by inkscape.
But, why is that? Shouldn't the option >=x11-libs/pango-1.4.0 take precedence over dev-lang/python[xml] in the ebuild? If I have x11-libs/pango-1.28.3-r1, why does my inkscape installation require pyxml? Where does this requirement come from?

However, since I have xml in my USE flags and thus python depends on pyxml, maybe that's the reason why I don't see it removed when I run --depclean. Just a thought.

I just checked my own box and also in my case pyxml is needed by inkscape.
But, why is that? Shouldn't the option >=x11-libs/pango-1.4.0 take precedence over dev-lang/python[xml] in the ebuild? If I have x11-libs/pango-1.28.3-r1, why does my inkscape installation require pyxml? Where does this requirement come from?

However, since I have xml in my USE flags and thus python depends on pyxml, maybe that's the reason why I don't see it removed when I run --depclean. Just a thought.

Maybe a rebuild of inkscape if you have >=x11-libs/pango-1.4.0 installed will remove the dependency on dev-python/pyxml

You're misunderstanding the ebuild notation. It says that you need "pango AND ( python[xml] OR pyxml )".

You probably have python[xml] because the xml flag is on by default unless you specifically disabled it
(python-2.7.1-r1.ebuild:36: IUSE="-berkdb build ... wininst +xml").

So, pyxml is then useless. _________________“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010

Hi JohnBlbec,
Have a look on this thread for update python first. After that, run revdep-rebuild and depclean if you insist. You'll have to revdep-rebuild for a second time. As I have warned, don' t mess with depclean!
G'Luck

Hi JohnBlbec,
Have a look on this thread for update python first. After that, run revdep-rebuild and depclean if you insist. You'll have to revdep-rebuild for a second time. As I have warned, don' t mess with depclean!
G'Luck

hello ferreirafm,

just for info: I always execute "revdep-rebuild -- -av" after "emerge -avuDN world" so my system is really up to date. before "python-update" i used "eselect python set x" (x was the right number for python-2.7). python-update has not been able to finish its job w/o error (last package openoffice failed, total number of packages to rebuild was 49) and that is why i think i cannot continue but thanks for your help... i have returned to use python-2.6...

to update as much packages as possible, revdep-rebuild again and emerge openoffice afterwards.
G'Luck

well, I do not understand. what should I update? as I said "emerge -avuDN world" says my system is up to date as well as revdep-rebuild is ok. you want to say I should update manually every package that python-update wants to rebuild? (it was successful for all packages except openoffice). btw. I have compiled openoffice a couple of days ego (python-2.6 profile) and everything was ok but the error appears just today when I want to switch to use python-2.7 from 2.6 and executed python-update. maybe I have lost myself

Hi JohnBlbec,
I thought that you were stucked with openoffice and still had a list of python-updates to emerge. That way you could skip openoffice a keep emerging the other python-updates.
Weird, I don't understand why you can't be able to emerge openoffice. If you need to use it right now, emerge openoffice-bin instead.
G'Luck