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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1737445 Title: release upgrader doesn't re-enable updates after failure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1737445/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs