This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Talk:KDE/Removal

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
Note
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (~~~~). When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}} so it will show up in the list of open discussions.

Split complex uninstall command

Talk status
This discussion is still ongoing.

Would it be possible to split the uninstall command so that it is nicer to see on the wiki?

Personally, I would use something like this:

root #KDEPACKAGES="$(qlist -IC 'kde-base/*')"
root #KDELIBDEPS="$(for name in $(qlist -IC | grep -v '^kde-base/'); do (qdepends -C $name | grep -q kdelibs) && echo $name; done)"
root #emerge --depclean --ask ${KDEPACKAGES} ${KDELIBDEPS}

The document currently uses the following:

root #emerge --ask --depclean kde-base/kdelibs $(qlist -IC 'kde-base/*') $(for name in $(qlist -IC | grep -v '^kde-base/') ; do ( qdepends -C $name | grep -q kdelibs ) && echo $name ; done)

I did remove the explicit kde-base/kdelibs as it will be mentioned by the qlist command anyway.

Perhaps we can also use the following qdepends reverse dependency option (-Q):

root #qdepends -C -N -q -Q kde-base/kdelibse

However it seems that this is not matching all dependencies sadly (I think it misses eclass provided dependencies?)

Perhaps we can find the most optimal way through revdep-rebuild against the /usr/lib/libkdecore.so library? — The preceding unsigned comment was added by SwifT (talkcontribs) 05:31, December 29, 2013‎

Entire KDE/Removal page is obsolete

Talk status
This discussion is still ongoing.

There is not one single bit of useful information left for someone coming from a current sync of Portage. It needs to be either rewritten or deleted. — The preceding unsigned comment was added by ASturm (talkcontribs)