Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190454 - python-updater-0.2 causes collision with python-2.4.4 and earlier
Summary: python-updater-0.2 causes collision with python-2.4.4 and earlier
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-27 20:13 UTC by Joe Peterson (RETIRED)
Modified: 2007-09-13 21:40 UTC (History)
3 users (show)

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 Joe Peterson (RETIRED) gentoo-dev 2007-08-27 20:13:58 UTC
This one bit me the other day...

It appears that python used to install /usr/sbin/python-updater up to version 2.4.4, but in later revs of 2.4.4 (like -r4), it no longer does this and instead PDEPENDs on the python-updater package.  But python-updater, if installed, will cause a collision of this file, overwriting the one installed by python.

Because portage (2.1.3) now removes orphaned files by default, upgrading python from python-2.4.4 will cause /usr/sbin/python-updater to be removed from the system (assuming python-updater has already been installed (thereby already satisfying python's new dependence on it), which was the case on two of my setups).  Now the file will simply mysteriously not exist, and one has to manually re-install python-updater to get it back.

A solution would be to add a block of <=python-2.4.4 in python-updater.  Or python-updater could RDEPEND on >python-2.4.4.
Comment 1 Ken Rushia 2007-09-02 04:10:22 UTC
I just wanted to say that this bug hit me today.  Very confusing, because emerge shows python-updater as installed, and qlist -v python-updater aggrees; yet /usr/sbin/python-updater just doesn't exist.

I'd bump the priority up a notch on this one, as it is mysterious breakage bound to stress out a lot of users.
Comment 2 Joe Peterson (RETIRED) gentoo-dev 2007-09-02 04:19:52 UTC
Thanks for the report!  I've bumped the severity as I agree this is an insidious problem, and the fix is easy.
Comment 3 Ali Polatel (RETIRED) gentoo-dev 2007-09-07 18:37:01 UTC
I've cleaned out redundant versions of python and added a blocker to
python-updater for python versions older than 2.3.6-r2. 2.3.6-r2 and newer versions depend on app-admin/python-updater.
Thanks for reporting :)