release upgrader doesn't re-enable updates after failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Expired
|
High
|
Unassigned | ||
Bionic |
Expired
|
High
|
Unassigned |
Bug Description
If a release upgrade fails (my example is in a failure to calculate the upgrade: https:/
In my case, the first two updates on the "Updates" tab of software sources should have been re-enabled (zesty-security and zesty-updates), but were not.
Expected behaviour: if the release upgrader cannot complete the upgrade, it should reinstate the software sources as they were prior to the upgrade.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 4.10.0-38-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.9
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: Unity:Unity7
Date: Sun Dec 10 23:00:41 2017
PackageArchitec
SourcePackage: ubuntu-
Symptom: ubuntu-
UpgradeStatus: Upgraded to zesty on 2017-12-09 (1 days ago)
VarLogDistupgra
information type: | Private Security → Public |
tags: | added: zesty2artful |
tags: | added: rls-bb-incoming |
Changed in ubuntu-release-upgrader (Ubuntu): | |
importance: | Undecided → High |
tags: | removed: rls-bb-incoming |
tags: | added: id-5a32a5447424d161c8ae4beb |
tags: | added: id-5a579272c94f7561416efca8 |
I've tried to recreate this by installing nvidia- libopencl1- 304 and virt-viewer on Ubuntu 17.04 to ensure my upgrade to 17.10 will fail and the upgrade process failed in the same way that is show in the Mainlog.txt file attached to this bug report and the bug which was linked to in the description.
2017-12-14 10:29:06,946 DEBUG need_server_mode(): run in 'desktop' mode, (because of pkg 'ubuntu-desktop') ver::Resolve generated breaks, this may be caused by held packages.'
2017-12-14 10:29:07,299 ERROR Dist-upgrade failed: 'E:Error, pkgProblemResol
2017-12-14 10:29:07,301 DEBUG abort called
2017-12-14 10:29:07,302 DEBUG openCache()
2017-12-14 10:29:07,302 DEBUG failed to SystemUnLock() (E:Not locked)
2017-12-14 10:29:09,558 DEBUG /openCache(), new cache size 87326
However, my /etc/apt/ sources. list file is properly restored whether I use my mirror of the Ubuntu archive or an official mirror fo the archive. Could you provide some more details as to how this situation came about? Its quite serious and we'd like to sort it out.