Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Unmerging KDE

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
16 posts • Page 1 of 1
Author
Message
ultraViolet
Apprentice
Apprentice
User avatar
Posts: 280
Joined: Sat Apr 03, 2004 11:10 am
Location: Lyon, France

Unmerging KDE

  • Quote

Post by ultraViolet » Thu Aug 19, 2004 4:21 pm

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 ?
Top
gentoo_dude
l33t
l33t
User avatar
Posts: 645
Joined: Sat May 08, 2004 10:29 pm
Location: Washington, DC

  • Quote

Post by gentoo_dude » Thu Aug 19, 2004 4:26 pm

I never did it, but I suppose it would be

Code: Select all

 emerge -C kdebase 
Before you run it, try and see what programs it would un-merge using this

Code: Select all

emerge -pC kdebase 
Top
ultraViolet
Apprentice
Apprentice
User avatar
Posts: 280
Joined: Sat Apr 03, 2004 11:10 am
Location: Lyon, France

  • Quote

Post by ultraViolet » Thu Aug 19, 2004 4:28 pm

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.
Top
Locke355
Tux's lil' helper
Tux's lil' helper
Posts: 98
Joined: Tue May 21, 2002 8:23 am

  • Quote

Post by Locke355 » Thu Aug 19, 2004 10:25 pm

I just made a similar thread that got moved to this forum, but for gnome. Look at:

http://forums.gentoo.org/viewtopic.php?t=212214

just remove kde first. Give me some feedback if that works for you.
Top
brandi
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Sun Jan 18, 2004 8:11 pm
Location: Vienna
Contact:
Contact brandi
Website

  • Quote

Post by brandi » Fri Aug 20, 2004 4:58 am

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 !!
Top
firephoto
Veteran
Veteran
User avatar
Posts: 1612
Joined: Wed Oct 29, 2003 12:48 am
Location: +48° 5' 23.40", -119° 48' 30.00"

  • Quote

Post by firephoto » Fri Aug 20, 2004 5:39 am

I used something like this when I removed kde 3.2.3

Code: Select all

qpkg -v kde-base | grep 3.2 | xargs emerge -Ca
Don't forget arts either.
Top
ultraViolet
Apprentice
Apprentice
User avatar
Posts: 280
Joined: Sat Apr 03, 2004 11:10 am
Location: Lyon, France

  • Quote

Post by ultraViolet » Sun Aug 22, 2004 12:30 am

Thank you very much. I have used the qpkg -v kde-base | grep 3.2 | xargs emerge -Ca method and it has worked well... :)
Top
Vidur
n00b
n00b
Posts: 19
Joined: Tue Apr 22, 2003 1:43 am

  • Quote

Post by Vidur » Mon Aug 30, 2004 6:51 pm

When I tried qpkg -v kde-base | grep 3.1 | xargs emerge -Ca, this is what I got. Any pointers?

Code: Select all

# 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
Top
MasterX
Veteran
Veteran
Posts: 1165
Joined: Thu Jun 26, 2003 4:19 pm

  • Quote

Post by MasterX » Fri Sep 03, 2004 1:53 pm

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
Top
di
n00b
n00b
Posts: 3
Joined: Fri Sep 03, 2004 6:28 pm

  • Quote

Post by di » Fri Sep 03, 2004 7:18 pm

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
Top
madikken
n00b
n00b
Posts: 30
Joined: Sun Aug 29, 2004 9:31 pm

  • Quote

Post by madikken » Sun Sep 05, 2004 10:45 am

do I have to reinstall all my programs when i unmerge gnome and emerge kde afterwards?
Top
irf2003
Veteran
Veteran
Posts: 1078
Joined: Wed Sep 10, 2003 12:57 pm

  • Quote

Post by irf2003 » Sun Sep 05, 2004 10:52 am

Code: Select all

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
Top
ions
Apprentice
Apprentice
Posts: 235
Joined: Wed Jul 16, 2003 3:47 am

  • Quote

Post by ions » Fri Sep 10, 2004 2:15 am

I'm trying to remove KDE too.

I started by doing this:

Code: Select all

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: Select all

[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. :(
Top
gehidore
n00b
n00b
User avatar
Posts: 16
Joined: Thu May 06, 2004 12:01 am
Location: near the pine trees

  • Quote

Post by gehidore » Fri Sep 10, 2004 3:13 am

try this

Code: Select all

echo 'kde-base/kde-env' >> /etc/portage/package.mask
echo 'kde-base/kdelibs' >> /etc/portage/package.mask
then

Code: Select all

emerge -auvD world
now wait for portage to choke see what program it chokes on, and

Code: Select all

emerge -C choked package
do it untill it no longer chokes. then delete your masks

Code: Select all

echo ' ' > /etc/portage/package.mask
and continue

Code: Select all

emerge -auvD world
Top
ions
Apprentice
Apprentice
Posts: 235
Joined: Wed Jul 16, 2003 3:47 am

  • Quote

Post by ions » Fri Sep 10, 2004 3:15 am

Yeah that worked for me! :D Thanks gehidore!
Top
snowbum
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 127
Joined: Sun Mar 14, 2004 9:38 pm
Location: peace

  • Quote

Post by snowbum » Sun Sep 12, 2004 4:36 pm

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...
Top
Post Reply

16 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy