Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107241 - unmerge python version says one version protected then removes all versions
Summary: unmerge python version says one version protected then removes all versions
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-26 00:22 UTC by Nathan West
Modified: 2005-10-06 05:28 UTC (History)
0 users

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


Attachments
emerge info (bug_emerginfo,2.24 KB, text/plain)
2005-09-26 00:25 UTC, Nathan West
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan West 2005-09-26 00:22:00 UTC
emerge --info showed my system as having two versions of python installed
(dev-lang/python: 2.3.4-r1, 2.3.5).  Trying to remove one version with the
command   emerge -C "=dev-lang/python-2.3.4-r1" -p 
gave the output; 
dev-lang/python
    selected: 2.3.4-r1
   protected: none
     omitted: 2.3.5
Running the command then removed both 2.3.4-r1 and 2.3.5
See forum 
http://forums.gentoo.org/viewtopic-t-379071-highlight-.html

Reproducible: Always
Steps to Reproduce:
1. Recover system from backup tarball (untar stage3, untar system tarball)
2. execute emerge -C "=dev-lang/python-2.3.4-r1" -p
3. emerge -C "=dev-lang/python-2.3.4-r1"

Actual Results:  
preview listed dev-lang/python-2.3.4-r1 as being selected and
dev-lang/python-2.3.5 as being omitted then removed both versions.

Expected Results:  
removed version dev-lang/python-2.3.4-r1 only as stated.

Tarball used in recovery was stage3-pentium3-2005.1.tar.bz2.
The system backup extracted over the top of this could be sanitized and made
available if necessary.
Comment 1 Nathan West 2005-09-26 00:25:59 UTC
Created attachment 69250 [details]
emerge info
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-10-06 05:28:10 UTC
2.3.5 was omitted. The problem was that 2.3.4-r1 was installed after 2.3.5 
hence almost all python files were owned by the version you decided to 
uninstall. `emerge --clean dev-lang/python` is what you should have ran and is 
designed specifically so that the correct version is uninstalled.