do-release-ubgrade from 12.04 LTS to 14.04 LTS fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The command fails as shown:
> sudo do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [198 B]
Get:2 Upgrade tool [1156 kB]
Fetched 1156 kB in 0s (0 B/s)
authenticate 'trusty.tar.gz' against 'trusty.tar.gz.gpg'
extracting 'trusty.tar.gz'
can't load DistUpgradeViewText (unsupported locale setting)
(process:24719): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
can't load DistUpgradeViewGtk3 (Gtk couldn't be initialized)
/usr/lib/
import gobject._gobject
** (trusty:24719): WARNING **: Command line `dbus-launch --autolaunch=
/usr/lib/
from gtk import _gtk
/usr/lib/
from gtk import _gtk
One of the causes is simply that my local setting is 'LANG=C' which is the default locale and must always be supported by the C library despite the messages given (it is the default so it must be supported !!!).
Using 'LANG=enGB.utf8 sudo do-release-upgrade' gets further but I still get python/gtk warnings that someone needs to sort out.
gtk: gir1.2-gtk-2.0: Installed: 2.24.10-0ubuntu6.2
python: Installed: 2.7.3-0ubuntu2.2
The starting point was 10.04 LTS. This was upgraded to 12.04.5 LTS and I am now trying to update to 14.04 LTS.
Installation now totally bust - will have to revert to LTS 10.04 backup and start again - another 16 hours of pain.
Key Failures:
Processing triggers for hicolor-icon-theme ...
(gtk-update- icon-cache- 3.0:2410) : GLib-GObject- CRITICAL **: /build/ buildd/ glib2.0- 2.32.4/ ./gobject/ gtype.c: 2722: You forgot to call g_type_init()
(gtk-update- icon-cache- 3.0:2410) : GLib-GObject- CRITICAL **: /build/ buildd/ glib2.0- 2.32.4/ ./gobject/ gtype.c: 2722: You forgot to call g_type_init()
(gtk-update- icon-cache- 3.0:2410) : GLib-GObject- CRITICAL **: g_type_ interface_ add_prerequisit e: assertion `G_TYPE_ IS_INTERFACE (interface_type)' failed
(gtk-update- icon-cache- 3.0:2410) : GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
(gtk-update- icon-cache- 3.0:2410) : GLib-GObject- CRITICAL **: g_type_ add_interface_ static: assertion `G_TYPE_ IS_INSTANTIATAB LE (instance_type)' failed
(gtk-update- icon-cache- 3.0:2410) : GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
(gtk-update- icon-cache- 3.0:2410) : GLib-GObject- CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
Segmentation fault (core dumped)
WARNING: icon cache generation failed
and
Unknown AddHypen directive USEFILE in line: ==USEFILE /usr/share/ texmf-texlive/ tex/generic/ config/ language. us /usr/share/ texmf-texlive/ tex/generic/ config/ lang\ texmf-texlive/ tex/generic/ config/ language. us /usr/share/ texmf-texlive/ tex/generic/ config/ lang\ texmf-texlive/ tex/generic/ config/ language. us /usr/share/ texmf-texlive/ tex/generic/ config/ lang\ n0uWooGy
uage.us.def==!
Unknown AddHypen directive USEFILE in line: ==USEFILE /usr/share/
uage.us.def==!
Unknown AddHypen directive USEFILE in line: ==USEFILE /usr/share/
uage.us.def==!
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time...
updmap-sys failed. Output has been stored in
/tmp/updmap.
Please include this file if you report a bug.
Sometimes, not accepting conffile updates in /etc/texmf/updmap.d
causes updmap-sys to fail. Please check for files with extension
.dpkg-dist or .ucf-dist in this directory
dpkg: error processing package tex-common (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports has already been reached
Errors were encountered while processing:
tex-common
Error in function:
A fatal error occurred
No recovery options available from this point on as the package database has now become too badly corrupted.
As a release upgrade procedure - d0-release-ubgrade from LTS-12.04 to 14.04 is fundamentally broken as it corrupts the system irrecoverably unless you un-install an un-known quantity of packages that it can't hack before you start.