Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42941 - 'emerge unmerge' cannot remove obsolete ebuilds
Summary: 'emerge unmerge' cannot remove obsolete ebuilds
Status: RESOLVED DUPLICATE of bug 56408
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Conceptual/Abstract Ideas (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-25 16:55 UTC by Hubert Mercier (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Hubert Mercier (RETIRED) gentoo-dev 2004-02-25 16:55:42 UTC
Today, i decided to clean my collection of old kernels.

A few weeks ago, i tested the development-sources, release 2.6.1-rc1. And a few days later, the 2.6.1, etc... But today, when trying to remove 2.6.1-rc1, i saw that the ebuild for this version of the 2.6 kernel had disappeared.

As a result : i couldn't manage to remove manually this specific version of this kernel. When trying to 'emerge unmerge development-sources-2.6.1-rc1', i got something like : no such package. But 'emerge unmerge development-sources-2.6.3' worked... Which could mean that portage needs the ebuild of a soft to be present in the tree in order to be able to remove it ?

I finally found a 'clean' way to remove this version : 'emerge unmerge development-sources' removed all my 2.6 serie of kernels. And i emerged back the last one after.

Hope i was clear, my english isn't perfect :(.

Thanks !
Comment 1 SpanKY gentoo-dev 2004-02-25 17:20:15 UTC
i'm pretty sure a bug has already been filed for this but i cant seem to find it :/
Comment 2 Hubert Mercier (RETIRED) gentoo-dev 2004-02-26 02:50:10 UTC
Hey yes :) !

I searched for it too, but couldn't manage to find it nor :( . That's why i posted it !
Comment 3 Masatomo Nakano (RETIRED) gentoo-dev 2004-02-26 17:59:40 UTC
emerge unmerge development-sources-2.6.1-rc1
                                        *
emerge unmerge development-sources-2.6.1_rc1

Is it just typo in this bug?
Comment 4 Hubert Mercier (RETIRED) gentoo-dev 2004-03-01 03:30:55 UTC
No, the problem was not a typo error.

but i cannot reproduce the bug, since i solved it another way :(

I will be hunting for this :) !
Comment 5 Nicholas Jones (RETIRED) gentoo-dev 2004-04-11 00:53:11 UTC
unmerge uses portdbapi, I'd imagine. The ebuild isn't searched
for in the vardb, and it isn't used anyway (uses environment file).

unmerge should check and discover info via vardbapi and check for
an environment file.
Comment 6 Brian Harring (RETIRED) gentoo-dev 2005-02-28 00:08:08 UTC
CVS Head handles the issues above, beyond that this bus is basically a dupe of 56408

*** This bug has been marked as a duplicate of 56408 ***