Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unmerging KDE
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ultraViolet
Apprentice
Apprentice


Joined: 03 Apr 2004
Posts: 280
Location: Lyon, France

PostPosted: Thu Aug 19, 2004 4:21 pm    Post subject: Unmerging KDE Reply with quote

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
View user's profile Send private message
gentoo_dude
l33t
l33t


Joined: 08 May 2004
Posts: 642
Location: Washington, DC

PostPosted: Thu Aug 19, 2004 4:26 pm    Post subject: Reply with quote

I never did it, but I suppose it would be
Code:
 emerge -C kdebase

Before you run it, try and see what programs it would un-merge using this
Code:
emerge -pC kdebase
Back to top
View user's profile Send private message
ultraViolet
Apprentice
Apprentice


Joined: 03 Apr 2004
Posts: 280
Location: Lyon, France

PostPosted: Thu Aug 19, 2004 4:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Locke355
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2002
Posts: 98

PostPosted: Thu Aug 19, 2004 10:25 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
brandi
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2004
Posts: 83
Location: Vienna

PostPosted: Fri Aug 20, 2004 4:58 am    Post subject: Reply with quote

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
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1560
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Fri Aug 20, 2004 5:39 am    Post subject: Reply with quote

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
View user's profile Send private message
ultraViolet
Apprentice
Apprentice


Joined: 03 Apr 2004
Posts: 280
Location: Lyon, France

PostPosted: Sun Aug 22, 2004 12:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Vidur
n00b
n00b


Joined: 22 Apr 2003
Posts: 19

PostPosted: Mon Aug 30, 2004 6:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Fri Sep 03, 2004 1:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
di
n00b
n00b


Joined: 03 Sep 2004
Posts: 3

PostPosted: Fri Sep 03, 2004 7:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
madikken
n00b
n00b


Joined: 29 Aug 2004
Posts: 30

PostPosted: Sun Sep 05, 2004 10:45 am    Post subject: Reply with quote

do I have to reinstall all my programs when i unmerge gnome and emerge kde afterwards?
Back to top
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Sun Sep 05, 2004 10:52 am    Post subject: Reply with quote

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
View user's profile Send private message
ions
Apprentice
Apprentice


Joined: 16 Jul 2003
Posts: 235

PostPosted: Fri Sep 10, 2004 2:15 am    Post subject: Reply with quote

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
View user's profile Send private message
gehidore
n00b
n00b


Joined: 06 May 2004
Posts: 16
Location: near the pine trees

PostPosted: Fri Sep 10, 2004 3:13 am    Post subject: Reply with quote

try this
Code:

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

then
Code:

emerge -auvD world

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
Code:
emerge -auvD world
Back to top
View user's profile Send private message
ions
Apprentice
Apprentice


Joined: 16 Jul 2003
Posts: 235

PostPosted: Fri Sep 10, 2004 3:15 am    Post subject: Reply with quote

Yeah that worked for me! :D Thanks gehidore!
Back to top
View user's profile Send private message
snowbum
Tux's lil' helper
Tux's lil' helper


Joined: 14 Mar 2004
Posts: 127
Location: peace

PostPosted: Sun Sep 12, 2004 4:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum