[Bug 1168518] Re: "The value 'precise' is invalid for APT::Default-Release" when upgrading from precise to quantal via command line
Launchpad Bug Tracker
1168518 at bugs.launchpad.net
Fri May 20 08:45:10 UTC 2016
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: update-manager (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1168518
Title:
"The value 'precise' is invalid for APT::Default-Release" when
upgrading from precise to quantal via command line
Status in update-manager package in Ubuntu:
Confirmed
Bug description:
launched from terminal window with: 'sudo do-release-upgrade', after
it modified the repositories to point to quantal and do the 'apt-get
update', it throwed the following on to the terminal:
A fatal error occurred
Please report this as a bug and include the files
/var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in
your report. The upgrade has aborted.
Your original sources.list was saved in
/etc/apt/sources.list.distUpgrade.
Traceback (most recent call last):
File "/tmp/update-manager-fxmFQA/quantal", line 10, in <module>
sys.exit(main())
File "/tmp/update-manager-fxmFQA/DistUpgrade/DistUpgradeMain.py",
line 240, in main
if app.run():
File
"/tmp/update-manager-fxmFQA/DistUpgrade/DistUpgradeController.py",
line 1764, in run
return self.fullUpgrade()
File
"/tmp/update-manager-fxmFQA/DistUpgrade/DistUpgradeController.py",
line 1681, in fullUpgrade
self.openCache(restore_sources_list_on_fail=True)
File
"/tmp/update-manager-fxmFQA/DistUpgrade/DistUpgradeController.py",
line 207, in openCache
return self._openCache(lock)
File
"/tmp/update-manager-fxmFQA/DistUpgrade/DistUpgradeController.py",
line 235, in _openCache
lock)
File "/tmp/update-manager-fxmFQA/DistUpgrade/DistUpgradeCache.py",
line 94, in __init__
apt.Cache.__init__(self, progress)
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in
__init__
self.open(progress)
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 145, in
open
self._cache = apt_pkg.Cache(progress)
SystemError: E:The value 'precise' is invalid for
APT::Default-Release as such a release is not available in the
sources
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1168518/+subscriptions
More information about the foundations-bugs
mailing list