[Bug 1737445] Re: release upgrader doesn't re-enable updates after failure

Brian Murray brian at ubuntu.com
Thu Dec 14 18:35:44 UTC 2017


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')
2017-12-14 10:29:07,299 ERROR Dist-upgrade failed: 'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'
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.

** Changed in: ubuntu-release-upgrader (Ubuntu Bionic)
       Status: New => Incomplete

-- 
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/1737445

Title:
  release upgrader doesn't re-enable updates after failure

Status in ubuntu-release-upgrader package in Ubuntu:
  Incomplete
Status in ubuntu-release-upgrader source package in Bionic:
  Incomplete

Bug description:
  If a release upgrade fails (my example is in a failure to calculate
  the upgrade: https://bugs.launchpad.net/bugs/1726180) the software
  sources are reset but updates are not re-enabled,   This has meant in
  my case going a month without updates, which introduces a security
  exposure to my system.

  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-release-upgrader-core 1:17.04.10
  ProcVersionSignature: Ubuntu 4.10.0-38.42-generic 4.10.17
  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
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to zesty on 2017-12-09 (1 days ago)
  VarLogDistupgradeTermlog:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1737445/+subscriptions



More information about the foundations-bugs mailing list