Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 157794

Summary: collision at /usr/bin/python-updater
Product: Gentoo Linux Reporter: Josh Nichols (RETIRED) <nichoj>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Josh Nichols (RETIRED) gentoo-dev 2006-12-10 20:52:46 UTC
If you have an older version of python (ie 2.4), and install a new one (ie 2.5) with FEATURES="collision-protect", you get the following:

* checking 3266 files for package collisions
existing file /usr/sbin/python-updater is not owned by this package
1000 files checked ...
2000 files checked ...
3000 files checked ...
* spent 0.228527069092 seconds checking for file collisions
* This package is blocked because it wants to overwrite
* files belonging to other packages (see messages above).
* If you have no clue what this is all about report it 
* as a bug for this package on http://bugs.gentoo.org

package dev-lang/python-2.5-r1 NOT merged


Searching all installed packages for file collisions...
Press Ctrl-C to Stop

 * dev-lang/python-2.4.4:

     '/usr/sbin/python-updater'



A couple of strategies of dealing with this:
* add the slot of python to python-updater, ie python-updater-2.5. make a new script python-updater, can check, for example WANT_PYTHON, which could contain the vesrion of python-updater to run.
* make a separate package for python-updater, and have both vesions of python pdepend on it

We use both of these for java-config. ie java-config is a part of dev-jav/java-config-wrapper, and provides the wrapper script which checks WANT_JAVA_CONFIG for what version to run (and falling back on highest available by default).
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-11 02:08:37 UTC

*** This bug has been marked as a duplicate of 148362 ***