Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13133 - using emerge umerge kde-base/kde fails to unmerge.
Summary: using emerge umerge kde-base/kde fails to unmerge.
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-02 21:01 UTC by Doug Glenn
Modified: 2011-10-30 22:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Glenn 2003-01-02 21:01:09 UTC
Using  
emerge -C kde-base/kde or emerge unmerge -C kde-base/kde fails to unmerge the 
package so I can reinstall it. There were some errors creating the default KDE 
directories were not created. I want to re-merge the kde-base/kde ebuilds so I 
was trying to remove it. 
emerge world done 1/2/2003 and latest sync done same date 1800hrs EST (tz). 
 
I did not find any previous information on this.
Comment 1 SpanKY gentoo-dev 2003-01-02 21:17:02 UTC
please post the errors
Comment 2 Doug Glenn 2003-01-03 15:48:17 UTC
/ # emerge unmerge -C kde-base/kde 
 
!!! Couldn't find match for unmerge 
 
 kde-base/kde 
    selected: 3.0.5a 
   protected: none 
     omitted: none 
 
>>> Packages in red are slated for removal. 
>>> Packages in green will not be removed. 
 
>>> Waiting 5 seconds before starting... 
>>> (Control-C to abort)... 
>>> Unmerging in: 5 4 3 2 1 
These are the responses. 
First try. 
 
>>> Unmerging kde-base/kde-3.0.5a... 
No package files given... Grabbing a set. 
>>> Regenerating /etc/ld.so.cache... 
 
 * Regenerating GNU info directory index... 
 * Processed 66 info files. 
 * IMPORTANT: 1 config files in /etc need updating. 
 * Type emerge --help config to learn how to update config files. 
 
--------Next try 
emerge unmerge kde-base/kde 
 
!!! Couldn't find match for kde-base/kde 
 
>>> unmerge: No packages selected for removal. 
 
If I try to install it back: 
emerge kde-base/kde 
Calculating dependencies ...done! 
>>> emerge (1 of 1) kde-base/kde-3.0.5a to / 
>>> Unpacking source... 
>>> Source unpacked. 
 
>>> Install kde-3.0.5a into /var/tmp/portage/kde-3.0.5a/image/ category 
kde-base 
strip: 
>>> Completed installing into /var/tmp/portage/kde-3.0.5a/image/ 
 
>>> Merging kde-base/kde-3.0.5a to / 
 
>>> Regenerating /etc/ld.so.cache... 
>>> kde-base/kde-3.0.5a merged. 
 
 kde-base/kde 
    selected: none 
   protected: 3.0.5a 
     omitted: none 
 
>>> clean: No packages selected for removal. 
 
>>> Regenerating /etc/ld.so.cache... 
>>> Auto-cleaning packages ... 
 
>>> No outdated packages were found on your system. 
 
 
 * Regenerating GNU info directory index... 
 * Processed 66 info files. 
 * IMPORTANT: 1 config files in /etc need updating. 
 * Type emerge --help config to learn how to update config files. 
 
 
Comment 3 Terje Kvernes 2003-01-10 04:48:25 UTC
kde is a metapackage.  it doesn't install anything on its own, all it does is
pull in dependencies.  these dependecies in total become the Gentoo KDE-package.
 hence, when it removes nothing, it does it's job.

if you which to uninstall what kde-base/kde installed you'll need to look at the
dependecies in that ebuild and remove them manually.  portage should probably
sometime learn to understand the concept of a metapackage, so we don't have to
fake it like this, but until then, you're stuck.
Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2003-02-03 06:15:34 UTC
emerge -p depclean

this is handled by several other bugs.
Comment 5 Peter Hyman 2005-04-04 05:33:38 UTC
Just installed kde 3.4 and had this issue trying to remove 3.3.2. IMHO if the meta package is going to exist for installation, it really should be allowed to work for un-merging too. Otherwise, people not fluent with portage -- i.e. an average end-user, will be completely stumped by this and have lots of MB of files he/she can't get rid of. This workaround was provided on the NG and sort of works.

qpkg -v -I kde |grep 3.3.2

although this misses arts. The whole kde list shows all packages though and I can pick through the 3.3.x packages. Awful lot of work though :(