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

Bug 149068

Summary: python-updater -o 2.5 -n 2.4 doesn't work
Product: Gentoo Linux Reporter: Rob Cakebread (RETIRED) <pythonhead>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: coldwind
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 148333    

Description Rob Cakebread (RETIRED) gentoo-dev 2006-09-25 08:36:17 UTC
Trying to downgrade from Python 2.5 to 2.4 won't work. python-updater will try to re-emerge everything with 2.5 instead of 2.4 when using:

python-updater -o 2.5 -n 2.4 

If you un-merge 2.5 and then run python-updater you get:
localhost ~ # python-updater -o 2.5 -n 2.4
 * Can't determine any previous Python version(s).
Comment 1 brad walker 2006-11-16 20:47:11 UTC
temporary workaround:

sed -i -e 's/^for old in 2.4/for old in 2.5 2.4/' /usr/sbin/python-updater
cd /usr/bin
rm python{,2}
ln -s python2.4 python
ln -s python2.4 python2
python-updater -o 2.5 -n 2.4
emerge -C =python-2.5*
Comment 2 Bryan Østergaard (RETIRED) gentoo-dev 2007-05-06 09:57:14 UTC
Fixed in app-admin/python-updater.