do-release-upgrade fails when using update-alternatives to provide different versions of /usr/bin/python
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
sudo do-release-upgrade
fails to upgrade 13.04 to 13.10 when update-alternatives is used to maintain different versions of python
e.g.
sudo update-alternatives --list python
/usr/bin/python2.7
/usr/bin/python3.3
The script complains that the symlink to /usr/bin/python is broken regardless of which version is being used to provide python
a workaround is to remove the symbolic link
`sudo rm /usr/bin/python`
and creating it manually
`sudo rm /usr/bin/python`
`sudo ln -s /usr/bin/python2.7 /usr/bin/python`
`sudo do-release-upgrade`
Apparently using version 3.3 didn't work too well either.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: ubuntu-
ProcVersionSign
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
CrashDB: ubuntu
Date: Fri Oct 18 11:42:03 2013
MarkForUpload: True
PackageArchitec
SourcePackage: ubuntu-
Symptom: release-upgrade
UpgradeStatus: Upgraded to saucy on 2013-10-18 (0 days ago)
Found a log with the actual error