Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2678 - Unmerge is acting weirdly in 1.9.10 (and 1.9.9)
Summary: Unmerge is acting weirdly in 1.9.10 (and 1.9.9)
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
Depends on:
Reported: 2002-05-12 12:28 UTC by Karl Trygve Kalleberg (RETIRED)
Modified: 2011-10-30 22:19 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-05-12 12:28:06 UTC
[#130 /usr/portage] emerge unmerge
Traceback (most recent call last):
  File "/usr/sbin/emerge", line 1179, in ?
    if 1==unmerge(myaction, myfiles):
  File "/usr/sbin/emerge", line 700, in unmerge
NameError: global name 'abspath' is not defined
[#131 /usr/portage] emerge unmerge libpng-1.0.12                      
!!! Couldn't find match for libpng-1.0.12

>>> unmerge: No packages selected for removal.

[#132 /usr/portage] emerge unmerge libpng       

    selected: 1.0.12 1.2.1-r1
   protected: none
     omitted: none

>>> Packages in red are slated for removal.
>>> Packages in green will not be removed.

>>> Waiting 5 seconds before starting unmerge.
>>> (Control-C to abort)...
>>> Unmerging in: 5 !!! Portage interrupted by SIGINT; exiting.
zsh: killed     emerge unmerge libpng
[#133 /usr/portage] 

While the docs say gives the example:

sys-devel/binutils- matches

In practice, the only allowed syntax to unmerge libpng-1.0.12 is
emerge unmerge =libpng-1.0.12

So either the syntax parser should be fixed, or the docs should be corrected.

Also, the abspath crash is ugly, but not in any way critical.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-05-13 11:37:40 UTC
OK, both these bugs are now fixed and will appear in 1.9.11