do-release-upgrade fails due to "An unresolvable problem occurred while calculating the upgrade."

Bug #1684198 reported by Karl-Philipp Richter
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

All invokations of `sudo do-release-upgrade` fail due to `An unresolvable problem occurred while calculating the upgrade.` after a previous run has been aborted with Ctrl+C. The output is:

```
Hit http://de.archive.ubuntu.com/ubuntu zesty-backports InRelease
Get:3 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_8.0 Release.gpg [481 B]
Ign http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_8.0 Release.gpg
Fetched 90,7 kB in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done

Updating repository information

Third party sources disabled

Some third party entries in your sources.list were disabled. You can
re-enable them after the upgrade with the 'software-properties' tool
or your package manager.

To continue please press [ENTER]

Hit http://de.archive.ubuntu.com/ubuntu zesty InRelease
Get:1 http://security.ubuntu.com/ubuntu zesty-security InRelease [89,2 kB]
Hit http://de.archive.ubuntu.com/ubuntu zesty-updates InRelease
Hit http://de.archive.ubuntu.com/ubuntu zesty-backports InRelease
Fetched 89,2 kB in 0s (0 B/s)

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done

Calculating the changes

Calculating the changes

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu

If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.

Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
```

The release in `sources.list` have been altered and the release upgrade should:

  * explain what's going on - why give a list of possible reasons if checking these reasons programmatically is absolutely possible -> apply principles of "Don't make me think" design
  * not say that it restores the original system state without making sure that it actually does that because it does _not_
  * restore the system state reliably, e.g. detect a mismatch between `lsb_release` output and release in `sources.list` (in doubt ask the user for input)
  * warn about potentially unwanted changes of crucial system configuration when pressing Ctrl+C and add require the user to press it a second time/send SIGINT twice
  * after more than 20 version upgrades over more than 10 years just work perfectly better sooner than later

Not a duplicate of https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1246441 because I'm not using the Xorg edgers PPA and the necessary improvements would still be necessary.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: ubuntu-release-upgrader-core 1:16.10.10
ProcVersionSignature: Ubuntu 4.8.0-46.49-generic 4.8.17
Uname: Linux 4.8.0-46-generic x86_64
NonfreeKernelModules: zfs zunicode icp zcommon znvpair zavl
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: Unity
Date: Wed Apr 19 16:51:42 2017
InstallationDate: Installed on 2015-12-12 (494 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to yakkety on 2017-04-19 (0 days ago)

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :
description: updated
tags: added: yakkety2zesty
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
Revision history for this message
dino99 (9d9) wrote :

This is an unsupported release now. Please think to install the next LTS 'Bionic 18.04'

http://cdimage.ubuntu.com/ubuntu-next/daily-live/current/
https://www.omgubuntu.co.uk/2018/02/ubuntu-18-04-minimal-install-option

Changed in ubuntu-release-upgrader (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Simon Quigley (tsimonq2) wrote :

Marking as Invalid because the release is EOL is not correct. Marking as Incomplete. Also, 18.04 is (at the time of writing) still in development, and you should expect some breakage.
https://wiki.ubuntu.com/Bugs/Responses#Release_has_reached_End_of_Life_.28EOL.29

Reporter, is this still present on 17.10 or 16.04?

Changed in ubuntu-release-upgrader (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubuntu-release-upgrader (Ubuntu) because there has been no activity for 60 days.]

Changed in ubuntu-release-upgrader (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.