Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338653 - dev-lang/python doesn't unmerge cleanly
Summary: dev-lang/python doesn't unmerge cleanly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: InOverlay, InVCS
Depends on:
Blocks:
 
Reported: 2010-09-25 10:11 UTC by Faustus
Modified: 2010-10-26 21:29 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 Faustus 2010-09-25 10:11:51 UTC
In fresh stage3:

# emerge -q1C "=dev-lang/python-3*"
dev-lang/python: 3.1.2-r4 none 2.6.5-r3 
>>> Unmerging dev-lang/python-3.1.2-r4...
ls: cannot access python3.?: No such file or directory
!!! Error: 'eselect python set' requires Python interpreter filename
exiting
Switching to python2.6
<<< /usr/lib/python3.1/dbm/ndbm.py[co]
<<< /usr/lib/python3.1/dbm/gnu.py[co]
<<< /usr/lib/python3.1/dbm/__init__.py[co]
<<< /usr/lib/python3.1/dbm/dumb.py[co]
<<< /usr/lib/python3.1/dbm
<<< /usr/lib/python3.1/xml/dom/minicompat.py[co]
<<< /usr/lib/python3.1/xml/dom/NodeFilter.py[co]
[...]

If it's in stage3 (with no reason whatsoever, but I guess it's a political issue), then it should at least allow itself to unmerge cleanly.

Reproducible: Always

Steps to Reproduce:
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-09-28 23:28:13 UTC
These harmless messages also occur during uninstallation of the last installed version of Python 2.
Comment 2 Faustus 2010-09-29 20:29:38 UTC
Just checked after "eselect python set 2", you are right:

# eselect python list
Available Python interpreters:
  [1]   python2.6
  [2]   python3.1 *

# emerge -q1C "=dev-lang/python-2*"
dev-lang/python: 2.6.5-r3 none 3.1.2-r4 
>>> Unmerging dev-lang/python-2.6.5-r3...
ls: cannot access python2.?: No such file or directory
!!! Error: 'eselect python set' requires Python interpreter filename
exiting
Switching to python3.1
<<< /usr/lib/python2.6/HTMLParser.py[co]
<<< /usr/lib/python2.6/xml/dom/minicompat.py[co]
<<< /usr/lib/python2.6/xml/dom/NodeFilter.py[co]
<<< /usr/lib/python2.6/xml/dom/pulldom.py[co]
<<< /usr/lib/python2.6/xml/dom/xmlbuilder.py[co]
<<< /usr/lib/python2.6/xml/dom/__init__.py[co]
[...]
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-10-24 20:58:08 UTC
Fixed in 2.7.1_pre20101024, 3.1.3_pre20101024 and 3.2_pre20101024 in python overlay.
Comment 4 Faustus 2010-10-26 21:29:34 UTC
Thanks, I think you forgot to mark as FIXED.