[Bug 1505021] Re: do-release-ubgrade from 12.04 LTS to 14.04 LTS fails

Mark Fortescue 1505021 at bugs.launchpad.net
Tue Oct 13 21:52:19 UTC 2015


Having restored from backup,  I restarted the upgrade from LTS 10.04. A bin problematic but I eventually arrived at LTS 12.04.5 and created backups of this version for recovery.
I then started the update from LTS 12.04.5 to LTS 14.04.
The first command used was 'sudo do-release-upgrade' but this fails as my locale is 'C'.
The second command used was 'LANG=enGB.utf8 sudo do-release-upgrade' (to get round some insanity where the default locale is broken).
This runs for some time (with segmentation faults and other errors) and then fails with a fatal error leaving the system in a broken but functional state between LTS 12.04.5 and LTS 14.04.
In the attached pack.tar are the following:
 1) installed-LTS-12.04.5.gz: Output of apt-show-versions before starting upgrade.
 2) updmap.3rc9Fc0L.gz: Output that the log indicated may be needed.
 3) dist-upgrade.tar.gz: Tar file of the contents of /var/log/dist-upgrade
Hopefully, Brian and others will be ably to diagnose the issues using the attached files and provide a forward path in the near future.

** Attachment added: "Log files to diagnose upgrade failure"
   https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1505021/+attachment/4493864/+files/pack.tar

-- 
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/1505021

Title:
  do-release-ubgrade from 12.04 LTS to 14.04 LTS fails

Status in ubuntu-release-upgrader package in Ubuntu:
  Incomplete

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/python2.7/dist-packages/gobject/constants.py:26: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
    import gobject._gobject

  ** (trusty:24719): WARNING **: Command line `dbus-launch --autolaunch=20a1515e7ef2f2b18635e6124c5f4699 --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n
  /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: specified class size for type `PyGtkGenericCellRenderer' is smaller than the parent type's `GtkCellRenderer' class size
    from gtk import _gtk
  /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_get_qdata: assertion `node != NULL' failed
    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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1505021/+subscriptions



More information about the foundations-bugs mailing list