[Bug 1241465] Re: do-release-upgrade fails when using update-alternatives to provide different versions of /usr/bin/python
Daniel Ricao Canelhas
1241465 at bugs.launchpad.net
Fri Oct 18 12:50:35 UTC 2013
Found a log with the actual error
** Attachment added: "python symlink points to: '/etc/alternatives/python', but expected is 'python2.7' or '/usr/bin/python2.7'"
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1241465/+attachment/3881896/+files/main.log
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1241465
Title:
do-release-upgrade fails when using update-alternatives to provide
different versions of /usr/bin/python
Status in “ubuntu-release-upgrader” package in Ubuntu:
New
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-release-upgrader-core 1:0.205
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
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
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: release-upgrade
UpgradeStatus: Upgraded to saucy on 2013-10-18 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1241465/+subscriptions
More information about the foundations-bugs
mailing list