[Bug 1824247] [NEW] Upgrade from 16.04 to 18.04 fails.
Kent Lion
KLSU at cox.net
Wed Apr 10 22:16:35 UTC 2019
Public bug reported:
kent at Dimension8300:~$ sudo do-release-upgrade
[sudo] password for kent:
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,246 kB]
Fetched 1,247 kB in 0s (0 B/s)
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg'
extracting 'bionic.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Hit http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Hit http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu xenial InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Fetched 325 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://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Fetched 0 B 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.
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.If
you want to investigate this yourself the log files in
'/var/log/dist-upgrade' will contain details about the upgrade.
Specifically, look at 'main.log' and 'apt.log'.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=================================== So I tried this:
kent at Dimension8300:/var/log/dist-upgrade$ sudo update-manager -c --debug
/usr/bin/update-manager:28: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
WARNING:root:can not import unity GI cannot import name Dbusmenu, introspection typelib not found
Checking for a new Ubuntu release
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcher.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, Gdk
/usr/lib/python3/dist-packages/DistUpgrade/ReleaseNotesViewerWebkit.py:33: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded.
from gi.repository import WebKit2 as WebKit
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg'
extracting 'bionic.tar.gz'
(appstreamcli:7279): GLib-CRITICAL **: g_strchug: assertion 'string !=
NULL' failed
(appstreamcli:7279): GLib-CRITICAL **: g_strchomp: assertion 'string !=
NULL' failed
(appstreamcli:7279): GLib-CRITICAL **: g_strchug: assertion 'string !=
NULL' failed
(appstreamcli:7279): GLib-CRITICAL **: g_strchomp: assertion 'string !=
NULL' failed
(appstreamcli:7279): GLib-CRITICAL **: g_strchug: assertion 'string !=
NULL' failed
(appstreamcli:7279): GLib-CRITICAL **: g_strchomp: assertion 'string != NULL' failed
AppStream cache update completed, but some metadata was ignored due to errors.
--------------- Here a GUI window is displayed containing the above error message and a "Close" button:-------------
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade.
If none of this applies, then please report this bug using the command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.If you want to investigate this yourself the log files in '/var/log/dist-upgrade' will contain details about the upgrade. Specifically, look at 'main.log' and 'apt.log'.
--------------- And I'm returned to the command line. I suppose it would be nice to know what metadata was ignored due to what errors, but that error message is as helpful as a MS Windows error message...
I checked main.log and the 4th line from the end has the only ERROR:
kent at Dimension8300:/var/log/dist-upgrade$ cat main.log | grep ERROR
2019-04-10 17:49:16,631 ERROR Dist-upgrade failed: 'E:Unable to correct problems, you have held broken packages.'
apt.log contains no errors, synaptic finds no broken packages, aptitude
finds none, and /var/lib/dpkg/status contains nothing I can find that
suggests a problem.
After the first try (many before the ones above, I found a problem with
cups-browsed, that synaptic and aptitude could not correct or reinstall,
so I completely removed cups-browsed, tried again, and when that didn't
help reinstalled it and tried again with the above (identical) results.
I've lost count of how many times and different ways I've tried to get
this upgrade to work.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubuntu-release-upgrader-core 1:16.04.26
ProcVersionSignature: Ubuntu 4.4.0-145.171-generic 4.4.176
Uname: Linux 4.4.0-145-generic i686
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: i386
CrashDB: ubuntu
CurrentDesktop: XFCE
Date: Wed Apr 10 17:25:24 2019
EcryptfsInUse: Yes
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to xenial on 2019-04-10 (0 days ago)
VarLogDistupgradeTermlog:
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug dist-upgrade i386 xenial
--
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/1824247
Title:
Upgrade from 16.04 to 18.04 fails.
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
kent at Dimension8300:~$ sudo do-release-upgrade
[sudo] password for kent:
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,246 kB]
Fetched 1,247 kB in 0s (0 B/s)
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg'
extracting 'bionic.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Hit http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Hit http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu xenial InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Fetched 325 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://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Fetched 0 B 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.
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.If
you want to investigate this yourself the log files in
'/var/log/dist-upgrade' will contain details about the upgrade.
Specifically, look at 'main.log' and 'apt.log'.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=================================== So I tried this:
kent at Dimension8300:/var/log/dist-upgrade$ sudo update-manager -c --debug
/usr/bin/update-manager:28: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
WARNING:root:can not import unity GI cannot import name Dbusmenu, introspection typelib not found
Checking for a new Ubuntu release
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcher.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, Gdk
/usr/lib/python3/dist-packages/DistUpgrade/ReleaseNotesViewerWebkit.py:33: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded.
from gi.repository import WebKit2 as WebKit
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg'
extracting 'bionic.tar.gz'
(appstreamcli:7279): GLib-CRITICAL **: g_strchug: assertion 'string !=
NULL' failed
(appstreamcli:7279): GLib-CRITICAL **: g_strchomp: assertion 'string
!= NULL' failed
(appstreamcli:7279): GLib-CRITICAL **: g_strchug: assertion 'string !=
NULL' failed
(appstreamcli:7279): GLib-CRITICAL **: g_strchomp: assertion 'string
!= NULL' failed
(appstreamcli:7279): GLib-CRITICAL **: g_strchug: assertion 'string !=
NULL' failed
(appstreamcli:7279): GLib-CRITICAL **: g_strchomp: assertion 'string != NULL' failed
AppStream cache update completed, but some metadata was ignored due to errors.
--------------- Here a GUI window is displayed containing the above error message and a "Close" button:-------------
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade.
If none of this applies, then please report this bug using the command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.If you want to investigate this yourself the log files in '/var/log/dist-upgrade' will contain details about the upgrade. Specifically, look at 'main.log' and 'apt.log'.
--------------- And I'm returned to the command line. I suppose it would be nice to know what metadata was ignored due to what errors, but that error message is as helpful as a MS Windows error message...
I checked main.log and the 4th line from the end has the only ERROR:
kent at Dimension8300:/var/log/dist-upgrade$ cat main.log | grep ERROR
2019-04-10 17:49:16,631 ERROR Dist-upgrade failed: 'E:Unable to correct problems, you have held broken packages.'
apt.log contains no errors, synaptic finds no broken packages,
aptitude finds none, and /var/lib/dpkg/status contains nothing I can
find that suggests a problem.
After the first try (many before the ones above, I found a problem
with cups-browsed, that synaptic and aptitude could not correct or
reinstall, so I completely removed cups-browsed, tried again, and when
that didn't help reinstalled it and tried again with the above
(identical) results. I've lost count of how many times and different
ways I've tried to get this upgrade to work.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubuntu-release-upgrader-core 1:16.04.26
ProcVersionSignature: Ubuntu 4.4.0-145.171-generic 4.4.176
Uname: Linux 4.4.0-145-generic i686
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: i386
CrashDB: ubuntu
CurrentDesktop: XFCE
Date: Wed Apr 10 17:25:24 2019
EcryptfsInUse: Yes
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to xenial on 2019-04-10 (0 days ago)
VarLogDistupgradeTermlog:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1824247/+subscriptions
More information about the foundations-bugs
mailing list