15.04 installer hung in configure step with exception in DistUpgradeViewKDE.py
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ubuntu-release-upgrader (Ubuntu) |
Critical
|
Unassigned | |||
Bug Description
I started the update to Kubuntu 15.04 from Muon updater.
The packages had downloaded and it was going through the configure step when I stepped away.
When I returned the "Distribution Upgrade" KDE window was unresponsive, and when I covered it with other windows it did not repaint. The window displayed
About 4 minutes remaining
Configuring libgtk-3-0 (amd64)
Quick summary: from the logs it looks like the upgrader experienced a python error in DistUpgradeView
ps alx -w -w reported two processes of interest:
5 0 18155 2210 20 0 631468 43068 poll_s Ss ? 3:49 /usr/bin/python3 /tmp/ubuntu-
4 0 28966 18155 20 0 26720 12676 n_tty_ Ss+ pts/13 0:09 /usr/bin/dpkg --force-overwrite --status-fd 154 --configure libtasn1-6:i386 <long long line continues>
libtasn1-6:amd64 libffi6:i386 libffi6:amd64 libp11-kit0:i386 libp11-kit0:amd64 p11-kit-
(Note libgtk-3-0 is not in this list, maybe it's an incomplete command line)
In /var/log/
2015-04-24 20:07:54,444 DEBUG got a conffile-prompt from dpkg for file: '/etc/gtk-
2015-04-24 20:07:56,129 ERROR not handled exception in KDE frontend:
... (full trace is at the end)
File "/tmp/ubuntu-
self.
TypeError: connect() slot argument should be a callable or a signal, not 'NoneType'
KDE bug https:/
After this TypeError, the last two lines of main.log are
2015-04-24 20:07:56,130 DEBUG running apport_crash()
2015-04-24 20:08:24,801 DEBUG enabling apt cron job
I didn't see any apport window. By the way, when I tried to report this bug by entering `apport-bug --hanging 18155` at the command line as root, I get a python error
ValueError: /usr/bin/python3.4 (deleted) does not exist
apt-term.log ends with:
Setting up libgtk-3-0:amd64 (3.14.12-0ubuntu2) ...
Configuration file '/etc/gtk-
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** settings.ini (Y/I/N/O/D/Z) [default=N] ?
Here's the end of main.log:
2015-04-24 20:07:54,444 DEBUG got a conffile-prompt from dpkg for file: '/etc/gtk-
2015-04-24 20:07:56,129 ERROR not handled exception in KDE frontend:
Traceback (most recent call last):
File "/tmp/ubuntu-
sys.
File "/tmp/ubuntu-
if app.run():
File "/tmp/ubuntu-
return self.fullUpgrade()
File "/tmp/ubuntu-
if not self.doDistUpgr
File "/tmp/ubuntu-
res = self.cache.
File "/tmp/ubuntu-
apt.
File "/usr/lib/
res = self.install_
File "/usr/lib/
res = install_
File "/tmp/ubuntu-
res = os.WEXITSTATUS(
File "/tmp/ubuntu-
self.
File "/tmp/ubuntu-
InstallProg
File "/usr/lib/
self.
File "/tmp/ubuntu-
self.
TypeError: connect() slot argument should be a callable or a signal, not 'NoneType'
2015-04-24 20:07:56,130 DEBUG running apport_crash()
2015-04-24 20:08:24,801 DEBUG enabling apt cron job
| skierpage (skierpage) wrote : | #1 |
| skierpage (skierpage) wrote : | #2 |
> I will try re-running the install from the command line.
FYI that worked fine. Someone on IRC told me to first run `sudo apt-get update`, that printed
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
When I ran this, the config step started up again and I answered the libgtk-3-0 config question which hung the GUI installer. Then I ran `apt-get dist-upgrade` and it went fine, and I'm running Kubuntu 15.04!
| description: | updated |
| tags: | added: dist-upgrade vivid |
| Launchpad Janitor (janitor) wrote : | #3 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in ubuntu-release-upgrader (Ubuntu): | |
| status: | New → Confirmed |
| Lienhart Woitok (liwo) wrote : | #4 |
I just had the same error during upgrade from kubuntu 14.10 to 15.04. In my case, it was the file /etc/php5/
Like you I had to kill the dpkg process and then do a manual dpkg --configure -a which did a lot of things and asked me about file differences. Afterwards I ran apt-get dist-upgrade but this reported only packages that could be removed. I did so with apt-get autoremove.
I hope this is basically what the upgrader would do, I tried to look around the source code a bit, but I couldn't really figure out what it does.
I believe this is a very serious bug as it prevents people from upgrading and without enough knowledge on how to proceed from there they are stuck with a broken system!
| Changed in ubuntu-release-upgrader (Ubuntu): | |
| importance: | Undecided → Critical |
| Lienhart Woitok (liwo) wrote : | #5 |
Update to my previous comment. When I wrote it, I had not yet rebooted my system to be able to collect some information and debug the problem. After I rebooted I was not able to log back into KDE. I could enter my password in the login manager and KDE started to launch (so X11 started even though logging some nvidia-related errors), but after about 2/3 of the progress bar it went to a black screen and after a few seconds back to the login screen. This even happened with a completly new user, so my old user settings were not the cause. I did not find out what the problem was as this caused me to loose any remaining trust in the stability of my previous repair work and I didn't invest much time into it. I just finished reinstalling the whole system.
| Changed in ubuntu-release-upgrader (Ubuntu): | |
| status: | Confirmed → Triaged |
| Sergio Callegari (callegar) wrote : | #6 |
Seen the same on both computers that I upgraded to kubuntu vivid from utopic.
The first time it happened the upgrade was unattended. I left the machine running over night, so when found it stuck in the morning I basically thought that I might have stumbled in some glitch.
But now I am seeing this for the second time in a row. In my case, it happened during the mime-config phase. The log are exactly as reported a python error with "TypeError: connect() slot argument should be a callable or a signal, not NoneType".
The fact that kubuntu utopic is going EOL in less than a month is making me quite scared.
| Changed in ubuntu-release-upgrader (Ubuntu): | |
| status: | Triaged → Fix Committed |
| Changed in ubuntu-release-upgrader (Ubuntu): | |
| status: | Fix Committed → Fix Released |


I killed the /usr/bin/dpkg child process, and the parent window came back to life, and closed, and now I have the KDE desktop reboot prompt, even though /var/log/dpkg.log ends with libgtd-3-0 unpacked but not installed.
I will try re-running the install from the command line.