Ubuntu – Online upgrade from 12.04 to 14.04 stuck

12.0414.04kubuntuupgrade

I was trying to upgrade my Lenovo T500 laptop from Kubuntu 12.04 LTS to Kubuntu 14.04 LTS.

Fired up the upgrade process, and finally after downloading a zillion packages the upgrade got going, only to get stuck…

It has been stuck for hours on:

 Installing the upgrades->Unpacking subversion

Last lines of error messages:

GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.32.4/./gobject/gtype.c:2722: You forgot to call g_type_init() at /usr/lib/perl/5.18/DynaLoader.pm line 207.

GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed at /usr/lib/perl/5.18/DynaLoader.pm line 207.

I don't care much about subversion anymore, I use git now; I don't care if subversion ends up in a bad state and I have to remove it.

I just want the upgrade to continue, and hopefully complete.

Any idea?

Best Answer

I had this problem as well but I figured out a way around it.

After the upgrade has stalled look for the process called "frontend" in the process tree of "python->sudo->trusty->trusty->...->...->frontend" that the upgrade-manager is running under. Once you kill this sub-process the installation process will start again and complete cleanly.

This is related to something involving updating of the man-db. It is not related to subversion, or python, or whatever was being unpacked. That was just the last bit in the logs. The problem is something related to man-db and (probably) perl.

Recommending a fresh install as a first course of action is not exactly helpful. That's what you do when problem solving fails. It isn't a solution.

Related Question