View previous topic :: View next topic |
Author |
Message |
ultraViolet Apprentice
Joined: 03 Apr 2004 Posts: 280 Location: Lyon, France
|
Posted: Thu Aug 19, 2004 4:21 pm Post subject: Unmerging KDE |
|
|
Hi,
I would like to unmerge KDE as a whole (kde and all packages installed when I typed "emerge kde").
Could someone give the emerge options to use ? |
|
Back to top |
|
|
gentoo_dude l33t
Joined: 08 May 2004 Posts: 645 Location: Washington, DC
|
Posted: Thu Aug 19, 2004 4:26 pm Post subject: |
|
|
I never did it, but I suppose it would be
Before you run it, try and see what programs it would un-merge using this
|
|
Back to top |
|
|
ultraViolet Apprentice
Joined: 03 Apr 2004 Posts: 280 Location: Lyon, France
|
Posted: Thu Aug 19, 2004 4:28 pm Post subject: |
|
|
It will unmerge kdebase only...
# emerge -pC kdebase
>>> These are the packages that I would unmerge:
kde-base/kdebase
selected: 3.2.3-r1
protected: none
omitted: none
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed. |
|
Back to top |
|
|
Locke355 Tux's lil' helper
Joined: 21 May 2002 Posts: 98
|
Posted: Thu Aug 19, 2004 10:25 pm Post subject: |
|
|
I just made a similar thread that got moved to this forum, but for gnome. Look at:
https://forums.gentoo.org/viewtopic.php?t=212214
just remove kde first. Give me some feedback if that works for you. |
|
Back to top |
|
|
brandi Tux's lil' helper
Joined: 18 Jan 2004 Posts: 83 Location: Vienna
|
Posted: Fri Aug 20, 2004 4:58 am Post subject: |
|
|
try that:
emerge -C kde
emerge -p depclean (here you should get a list with the unneeded kde packages)
emerge depclean !! caution, try that on your own risk, maybe there are other packages that you remove with the kde packages !! |
|
Back to top |
|
|
firephoto Veteran
Joined: 29 Oct 2003 Posts: 1612 Location: +48° 5' 23.40", -119° 48' 30.00"
|
Posted: Fri Aug 20, 2004 5:39 am Post subject: |
|
|
I used something like this when I removed kde 3.2.3
Code: |
qpkg -v kde-base | grep 3.2 | xargs emerge -Ca
|
Don't forget arts either. |
|
Back to top |
|
|
ultraViolet Apprentice
Joined: 03 Apr 2004 Posts: 280 Location: Lyon, France
|
Posted: Sun Aug 22, 2004 12:30 am Post subject: |
|
|
Thank you very much. I have used the qpkg -v kde-base | grep 3.2 | xargs emerge -Ca method and it has worked well... |
|
Back to top |
|
|
Vidur n00b
Joined: 22 Apr 2003 Posts: 19
|
Posted: Mon Aug 30, 2004 6:51 pm Post subject: |
|
|
When I tried qpkg -v kde-base | grep 3.1 | xargs emerge -Ca, this is what I got. Any pointers?
Code: |
# qpkg -v kde-base | grep 3.1 | xargs emerge -Ca
]2; *** emerge --ask unmerge kde-base/kdeutils-3.1.4 * kde-base/kde-3.1.4 * kde-base/kdeadmin-3.1.4 * kde-base/kdegraphics-3.1.4 * kde-base/kdetoys-3.1.4 * kde-base/kdegames-3.1.4 * kde-base/kdeartwork-3.1.4 * kde-base/kdeedu-3.1.4 * kde-base/kdeaddons-3.1.4 * kde-base/kdepim-3.1.4 * kde-base/kdenetwork-3.1.4 * kde-base/kdemultimedia-3.1.4-r1 * kde-base/kdelibs-3.1.4 * kde-base/kdebase-3.1.4 * kde-base/kde-3.1.5 kde-base/kdebase-3.1.5 kde-base/kdelibs-3.1.5-r1 kde-base/kdetoys-3.1.5 kde-base/kdeartwork-3.1.5 kde-base/kdebindings-3.1.5 kde-base/kde-i18n-3.1.5 kde-base/kdeadmin-3.1.5 kde-base/kdegames-3.1.5 kde-base/kdegraphics-3.1.5 kde-base/kdeedu-3.1.5 kde-base/kdepim-3.1.5 kde-base/kdesdk-3.1.5 kde-base/kdeutils-3.1.5 kde-base/kdeaddons-3.1.5 kde-base/kdenetwork-3.1.5 kde-base/kdemultimedia-3.1.5
>>> These are the packages that I would unmerge:
--- Couldn't find kde-base/kdeutils-3.1.4 to unmerge.
--- Couldn't find * to unmerge.
--- Couldn't find kde-base/kde-3.1.4 to unmerge.
--- Couldn't find * to unmerge.
--- Couldn't find kde-base/kdeadmin-3.1.4 to unmerge.
--- Couldn't find * to unmerge.
--- Couldn't find kde-base/kdegraphics-3.1.4 to unmerge.
--- Couldn't find * to unmerge.
--- Couldn't find kde-base/kdetoys-3.1.4 to unmerge.
--- Couldn't find * to unmerge.
--- Couldn't find kde-base/kdegames-3.1.4 to unmerge.
--- Couldn't find * to unmerge.
--- Couldn't find kde-base/kdeartwork-3.1.4 to unmerge.
--- Couldn't find * to unmerge.
--- Couldn't find kde-base/kdeedu-3.1.4 to unmerge.
--- Couldn't find * to unmerge.
--- Couldn't find kde-base/kdeaddons-3.1.4 to unmerge.
--- Couldn't find * to unmerge.
--- Couldn't find kde-base/kdepim-3.1.4 to unmerge.
--- Couldn't find * to unmerge.
--- Couldn't find kde-base/kdenetwork-3.1.4 to unmerge.
--- Couldn't find * to unmerge.
--- Couldn't find kde-base/kdemultimedia-3.1.4-r1 to unmerge.
--- Couldn't find * to unmerge.
--- Couldn't find kde-base/kdelibs-3.1.4 to unmerge.
--- Couldn't find * to unmerge.
--- Couldn't find kde-base/kdebase-3.1.4 to unmerge.
--- Couldn't find * to unmerge.
--- Couldn't find kde-base/kde-3.1.5 to unmerge.
--- Couldn't find kde-base/kdebase-3.1.5 to unmerge.
--- Couldn't find kde-base/kdelibs-3.1.5-r1 to unmerge.
--- Couldn't find kde-base/kdetoys-3.1.5 to unmerge.
--- Couldn't find kde-base/kdeartwork-3.1.5 to unmerge.
--- Couldn't find kde-base/kdebindings-3.1.5 to unmerge.
--- Couldn't find kde-base/kde-i18n-3.1.5 to unmerge.
--- Couldn't find kde-base/kdeadmin-3.1.5 to unmerge.
--- Couldn't find kde-base/kdegames-3.1.5 to unmerge.
--- Couldn't find kde-base/kdegraphics-3.1.5 to unmerge.
--- Couldn't find kde-base/kdeedu-3.1.5 to unmerge.
--- Couldn't find kde-base/kdepim-3.1.5 to unmerge.
--- Couldn't find kde-base/kdesdk-3.1.5 to unmerge.
--- Couldn't find kde-base/kdeutils-3.1.5 to unmerge.
--- Couldn't find kde-base/kdeaddons-3.1.5 to unmerge.
--- Couldn't find kde-base/kdenetwork-3.1.5 to unmerge.
--- Couldn't find kde-base/kdemultimedia-3.1.5 to unmerge.
>>> unmerge: No packages selected for removal.
|
Vidur |
|
Back to top |
|
|
MasterX Veteran
Joined: 26 Jun 2003 Posts: 1165
|
Posted: Fri Sep 03, 2004 1:53 pm Post subject: |
|
|
Vidur,
this is because the ebuilds for kde 3.1.4 are not in the portage any more!
Maybe, you can rename the ebuilds for kde 3.1.5 to kde 3.1.4 and try again |
|
Back to top |
|
|
di n00b
Joined: 03 Sep 2004 Posts: 3
|
Posted: Fri Sep 03, 2004 7:18 pm Post subject: |
|
|
Vidur,
There is spurious output in the above qpkg command and that is
confusing emerge. (Specifically the * and details related to uninstalled
versions of kde) Here's a suggestion that works for me. Try,
qpkg -nc -v -I kde | grep 3.2 | cut -d"/" -f2 | xargs echo
and if that shows you nothing damaging, go ahead with,
qpkg -nc -v -I kde | grep 3.2 | cut -d"/" -f2 | xargs emerge -Ca
The -nc is used to get output with no colors and also to get rid of
the * in the output. The -I restricts the search to installed packages
and the -v makes sure that version numbers are listed in the output.
Note, this isn't going to remove everything emerged as a result
of adding kde to your system, just the obvious kde packages. A
brute force search can give you information about other packages
that _may_ be removable.
qpkg -f /usr/kde/3.2 | more
--di |
|
Back to top |
|
|
madikken n00b
Joined: 29 Aug 2004 Posts: 30
|
Posted: Sun Sep 05, 2004 10:45 am Post subject: |
|
|
do I have to reinstall all my programs when i unmerge gnome and emerge kde afterwards? |
|
Back to top |
|
|
irf2003 Veteran
Joined: 10 Sep 2003 Posts: 1078
|
Posted: Sun Sep 05, 2004 10:52 am Post subject: |
|
|
Code: |
emerge -C kde-base/arts \
kde-base/kdelibs \
kde-base/kdebase \
kde-base/kdeaddons \
kde-base/kdeadmin \
kde-base/kdeartwork \
kde-base/kdeedu \
kde-base/kdegames \
kde-base/kdegraphics \
kde-base/kdemultimedia \
kde-base/kdenetwork \
kde-base/kdepim \
kde-base/kdenetwork \
kde-base/kdetoys \
kde-base/kdeutils \
kde-base/kdeaccessibility \
kde-base/kde-env \
kde-base/kde
|
for kde 3.3, add kde-base/kdewebdev to the above
hth
happy gentooing |
|
Back to top |
|
|
ions Apprentice
Joined: 16 Jul 2003 Posts: 235
|
Posted: Fri Sep 10, 2004 2:15 am Post subject: |
|
|
I'm trying to remove KDE too.
I started by doing this:
Code: | bash-2.05b# qpkg | grep kde
app-doc/kdelibs-apidocs
app-pda/synce-kde
dev-embedded/pikdev
dev-python/pykde
dev-util/kdevelop
kde-base/arts
kde-base/kde
kde-base/kde-env
kde-base/kde-i18n
kde-base/kdeaccessibility
kde-base/kdeaddons
kde-base/kdeadmin
kde-base/kdeartwork
kde-base/kdebase
kde-base/kdebindings
kde-base/kdeedu
kde-base/kdegames
kde-base/kdegraphics
kde-base/kdelibs
kde-base/kdemultimedia
kde-base/kdenetwork
kde-base/kdepim
kde-base/kdesdk
kde-base/kdetoys
kde-base/kdeutils
kde-base/kdewebdev
kde-base/unsermake
media-plugins/xmms-kde
media-tv/kdetv
media-video/kdenlive
net-wireless/kdebluetooth
|
So after that I did emerge -C with all those apps listed and it failed on most of them but claimed to erase kdebase.
So I did emerge -auvD world and it wants to update KDE!
Code: | [ebuild N ] kde-base/kde-env-3-r3 [empty/missing/bad digest]
[ebuild N ] kde-base/kdelibs-3.3.0 -alsa -arts -arts +cups -debug -debug -doc -ipv6 -ldap +ssl +tiff 0 kB |
How do I get rid of KDE?!
I tried the qpkg things that di suggested and got nowhere. |
|
Back to top |
|
|
gehidore n00b
Joined: 06 May 2004 Posts: 16 Location: near the pine trees
|
Posted: Fri Sep 10, 2004 3:13 am Post subject: |
|
|
try this
Code: |
echo 'kde-base/kde-env' >> /etc/portage/package.mask
echo 'kde-base/kdelibs' >> /etc/portage/package.mask
|
then
now wait for portage to choke see what program it chokes on, and
Code: |
emerge -C choked package
|
do it untill it no longer chokes. then delete your masks
Code: |
echo ' ' > /etc/portage/package.mask
|
and continue
|
|
Back to top |
|
|
ions Apprentice
Joined: 16 Jul 2003 Posts: 235
|
Posted: Fri Sep 10, 2004 3:15 am Post subject: |
|
|
Yeah that worked for me! Thanks gehidore! |
|
Back to top |
|
|
snowbum Tux's lil' helper
Joined: 14 Mar 2004 Posts: 127 Location: peace
|
Posted: Sun Sep 12, 2004 4:36 pm Post subject: |
|
|
Thanks, di. I learned alot from your command formating and got KDE as well as other pakages sorted out. _________________ The sun shall be turned to darkness and the moon into blood... |
|
Back to top |
|
|
|