16.04 to 18.04 upgrade fails

Asked by Martin Truffer

I'm trying to upgrade to 18.04 with do-release-upgrade, and I get the following:

To continue please press [ENTER]

Hit http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit http://archive.canonical.com/ubuntu bionic InRelease
Hit http://archive.canonical.com bionic InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [706 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [698 kB]
Fetched 1,651 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

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Martin Truffer
Solved:
Last query:
Last reply:
Revision history for this message
Martin Truffer (truffer) said :
#1

Just to add to the above: From

tail -n 50 /var/log/dist-upgrade/apt.log

I get:

  Setting zeitgeist-core:amd64 NOT as auto-installed (direct Recommends of ubuntu-desktop:amd64 which is in APT::Never-MarkAuto-Sections)
  Setting zeitgeist-datahub:amd64 NOT as auto-installed (direct Recommends of ubuntu-desktop:amd64 which is in APT::Never-MarkAuto-Sections)
  MarkDelete ubuntu-desktop [ amd64 ] < 1.361.2 -> 1.417 > ( metapackages ) FU=0
Investigating (5) dpkg-dev [ amd64 ] < 1.18.4ubuntu1.5 -> 1.19.0.5ubuntu2.1 > ( utils )
Broken dpkg-dev:amd64 Breaks on debhelper [ amd64 ] < 9.20160115ubuntu3 -> 11.1.6ubuntu2 > ( devel ) (< 10.10.1~)
  Considering debhelper:amd64 6 as a solution to dpkg-dev:amd64 34
  Upgrading debhelper:amd64 due to Breaks field in dpkg-dev:amd64
Investigating (5) debhelper [ amd64 ] < 9.20160115ubuntu3 -> 11.1.6ubuntu2 > ( devel )
Broken debhelper:amd64 Breaks on cmake [ amd64 ] < 3.5.1-1ubuntu3 -> 3.10.2-1ubuntu2 > ( devel ) (< 3.9~)
  Considering cmake:amd64 12 as a solution to debhelper:amd64 6
  MarkKeep debhelper [ amd64 ] < 9.20160115ubuntu3 -> 11.1.6ubuntu2 > ( devel ) FU=0
  Holding Back debhelper:amd64 rather than change cmake:amd64
Investigating (6) dpkg-dev [ amd64 ] < 1.18.4ubuntu1.5 -> 1.19.0.5ubuntu2.1 > ( utils )
Broken dpkg-dev:amd64 Breaks on debhelper [ amd64 ] < 9.20160115ubuntu3 -> 11.1.6ubuntu2 > ( devel ) (< 10.10.1~)
  Considering debhelper:amd64 6 as a solution to dpkg-dev:amd64 34
  Upgrading debhelper:amd64 due to Breaks field in dpkg-dev:amd64
Investigating (6) debhelper [ amd64 ] < 9.20160115ubuntu3 -> 11.1.6ubuntu2 > ( devel )
Broken debhelper:amd64 Breaks on cmake [ amd64 ] < 3.5.1-1ubuntu3 -> 3.10.2-1ubuntu2 > ( devel ) (< 3.9~)
  Considering cmake:amd64 12 as a solution to debhelper:amd64 6
  MarkKeep debhelper [ amd64 ] < 9.20160115ubuntu3 -> 11.1.6ubuntu2 > ( devel ) FU=0
  Holding Back debhelper:amd64 rather than change cmake:amd64
Investigating (7) dpkg-dev [ amd64 ] < 1.18.4ubuntu1.5 -> 1.19.0.5ubuntu2.1 > ( utils )
Broken dpkg-dev:amd64 Breaks on debhelper [ amd64 ] < 9.20160115ubuntu3 -> 11.1.6ubuntu2 > ( devel ) (< 10.10.1~)
  Considering debhelper:amd64 6 as a solution to dpkg-dev:amd64 34
  Upgrading debhelper:amd64 due to Breaks field in dpkg-dev:amd64
Investigating (7) debhelper [ amd64 ] < 9.20160115ubuntu3 -> 11.1.6ubuntu2 > ( devel )
Broken debhelper:amd64 Breaks on cmake [ amd64 ] < 3.5.1-1ubuntu3 -> 3.10.2-1ubuntu2 > ( devel ) (< 3.9~)
  Considering cmake:amd64 12 as a solution to debhelper:amd64 6
  MarkKeep debhelper [ amd64 ] < 9.20160115ubuntu3 -> 11.1.6ubuntu2 > ( devel ) FU=0
  Holding Back debhelper:amd64 rather than change cmake:amd64
Investigating (8) dpkg-dev [ amd64 ] < 1.18.4ubuntu1.5 -> 1.19.0.5ubuntu2.1 > ( utils )
Broken dpkg-dev:amd64 Breaks on debhelper [ amd64 ] < 9.20160115ubuntu3 -> 11.1.6ubuntu2 > ( devel ) (< 10.10.1~)
  Considering debhelper:amd64 6 as a solution to dpkg-dev:amd64 34
  Upgrading debhelper:amd64 due to Breaks field in dpkg-dev:amd64
Investigating (8) debhelper [ amd64 ] < 9.20160115ubuntu3 -> 11.1.6ubuntu2 > ( devel )
Broken debhelper:amd64 Breaks on cmake [ amd64 ] < 3.5.1-1ubuntu3 -> 3.10.2-1ubuntu2 > ( devel ) (< 3.9~)
  Considering cmake:amd64 12 as a solution to debhelper:amd64 6
  MarkKeep debhelper [ amd64 ] < 9.20160115ubuntu3 -> 11.1.6ubuntu2 > ( devel ) FU=0
  Holding Back debhelper:amd64 rather than change cmake:amd64
Investigating (9) dpkg-dev [ amd64 ] < 1.18.4ubuntu1.5 -> 1.19.0.5ubuntu2.1 > ( utils )
Broken dpkg-dev:amd64 Breaks on debhelper [ amd64 ] < 9.20160115ubuntu3 -> 11.1.6ubuntu2 > ( devel ) (< 10.10.1~)
  Considering debhelper:amd64 6 as a solution to dpkg-dev:amd64 34
  Upgrading debhelper:amd64 due to Breaks field in dpkg-dev:amd64
Investigating (9) debhelper [ amd64 ] < 9.20160115ubuntu3 -> 11.1.6ubuntu2 > ( devel )
Broken debhelper:amd64 Breaks on cmake [ amd64 ] < 3.5.1-1ubuntu3 -> 3.10.2-1ubuntu2 > ( devel ) (< 3.9~)
  Considering cmake:amd64 12 as a solution to debhelper:amd64 6
  MarkKeep debhelper [ amd64 ] < 9.20160115ubuntu3 -> 11.1.6ubuntu2 > ( devel ) FU=0
  Holding Back debhelper:amd64 rather than change cmake:amd64
Done

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

For diagnostic purposes, what is the output of the commands

uname -a
lsb_release -crid
apt-cache policy debhelper cmake dpkg-dev

Steps that might be able to resolve the problem:
- uninstall debhelper and/or dpkg-dev and/or cmake (and reinstall after the release upgrade if still needed)
- upgrade debhelper to the version in xenial-backports

Revision history for this message
Martin Truffer (truffer) said :
#3

removing debhelper did the trick.
Thanks!