Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35338 - python 2.2 does not unmerge correctly
Summary: python 2.2 does not unmerge correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-08 07:52 UTC by Thomas Weidner
Modified: 2003-12-08 11:05 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 Thomas Weidner 2003-12-08 07:52:20 UTC
Hi,

i did emerge -C =python-2.2* to remove python2.2.,but /usr/lib/python2.2/ is far away from empty. it still contains all the .pyc and .pyo files. (qpkg -f says they don't belong to a package). pls make sure these files get removed as well when unmerging python.
Comment 1 SpanKY gentoo-dev 2003-12-08 07:58:06 UTC
those files were created in real time, not by the original package
Comment 2 Thomas Weidner 2003-12-08 08:36:27 UTC
but they are senseless without python and should be removed...
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-12-08 08:52:17 UTC
.pyc and .pyo cleaning has been implemented for python-2.3 in portage, so it will be fixed in the future. but afaik, python-2.2.3-r5 has this as well, which version of python are you using?

Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-12-08 09:37:51 UTC
actually, i just noticed some anomalies with the python_mod_cleanup() with 2.2.
can you just try doing:

ebuild /usr/portage/dev-lang/python/python-2.2.3-r5.ebuild postrm
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-12-08 11:05:14 UTC
alright, i think i've nailed down the problem. it only cleaned up /usr/lib/python2.2/site-packages and not /usr/lib/python2.2 itself.  should be fixed in -r5 now. you can fix the problem locally by syncing and then running that ebuild command i mentioned.

otherwise, it'll happen automatically for future users now.

thanks for your report.