Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18652 - unmerge does not remove package from virtuals
Summary: unmerge does not remove package from virtuals
Status: RESOLVED DUPLICATE of bug 1891
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-02 15:08 UTC by eric sammer
Modified: 2011-10-30 22:20 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 eric sammer 2003-04-02 15:08:18 UTC
During testing, I merged courier (~x86 - current version 0.41.0) which went
fine. I unmerged courier later and it was properly removed from the world file
(/var/cache/edb/world) but the virtual entries remained. Namely, virtual/imap
and virtual/mta listed courier AFTER it was unmerged. This caused an odd
situation because the next time I sync'd and looked with 'emerge -up --deep
world', it wanted to merge courier (the operation marked as 'N', not 'R' if it
was installed) but nothing required it. I can't imagine this is just an ebuild
issue as ebuilds don't directly muck with the cache files (in my experience).

To reproduce:

emerge courier
emerge unmerge courier
emerge -up --deep world (note courier listed as to be installed)
less /var/cache/edb/world (note no courier listing)
less /var/cache/edb/virtuals (note courier IS listed for virtuals/imap and
virtuals/mta)

System: Unstable x86
Portage: Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0)

Issue resolved by hand editing /var/cache/edb/virtuals and removing the
offending entries.
Comment 1 eric sammer 2003-04-02 15:14:45 UTC
I have just confirmed the same behavior with another package: postfix. The same result - removed from world, but not virtuals.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-04-03 16:30:36 UTC

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