release upgrade crashed on custom configuration file dialog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Xenial |
Fix Released
|
High
|
Brian Murray |
Bug Description
On Kubuntu 15.04 amd64, while running installer to upgrade to 15.10, the GUI froze at 89% complete and /var/log/
Yesterday on #kubuntu channel there was someone complaining about the same thing - his installer GUI froze at %80, and he found a similar stack trace in the log (I only know the last line of the trace was identical, didn't see the full stack trace). He said in his case it looks related to the sane (scanner package) custom configuration file dialog prompt.
I think this is a pretty critical bug since an aborted OS upgrade is likely to render the system unusable for the average user, and it does little to encourage confidence of users in the OS distribution.
2015-10-24 14:34:12,360 DEBUG got a conffile-prompt from dpkg for file: '/etc/tomcat7/
2015-10-24 14:34:12,362 DEBUG UI version is 4.0
2015-10-24 14:34:12,362 DEBUG uiname is dialog_conffile
2015-10-24 14:34:12,362 DEBUG toplevel widget is QDialog
2015-10-24 14:34:12,362 DEBUG setting property geometry
2015-10-24 14:34:12,362 DEBUG setting property windowTitle
2015-10-24 14:34:12,362 DEBUG setting property modal
2015-10-24 14:34:12,362 DEBUG push QDialog dialog_conffile
2015-10-24 14:34:12,362 DEBUG push QGridLayout gridlayout
2015-10-24 14:34:12,362 DEBUG setting property text
2015-10-24 14:34:12,362 DEBUG push QPushButton show_difference
2015-10-24 14:34:12,362 DEBUG pop widget QPushButton show_difference
2015-10-24 14:34:12,362 DEBUG new topwidget <PyQt5.
2015-10-24 14:34:12,362 DEBUG setting property sizePolicy
2015-10-24 14:34:12,362 DEBUG setting property text
2015-10-24 14:34:12,363 DEBUG setting property pixmap
2015-10-24 14:34:12,363 DEBUG setting property wordWrap
2015-10-24 14:34:12,363 DEBUG push QLabel textLabel2
2015-10-24 14:34:12,363 DEBUG pop widget QLabel textLabel2
2015-10-24 14:34:12,363 DEBUG new topwidget <PyQt5.
2015-10-24 14:34:12,363 DEBUG setting property text
2015-10-24 14:34:12,363 DEBUG setting property wordWrap
2015-10-24 14:34:12,363 DEBUG push QLabel label_conffile
2015-10-24 14:34:12,363 DEBUG pop widget QLabel label_conffile
2015-10-24 14:34:12,363 DEBUG new topwidget <PyQt5.
2015-10-24 14:34:12,363 DEBUG setting property text
2015-10-24 14:34:12,363 DEBUG push QPushButton keep_button
2015-10-24 14:34:12,363 DEBUG pop widget QPushButton keep_button
2015-10-24 14:34:12,363 DEBUG new topwidget <PyQt5.
2015-10-24 14:34:12,363 DEBUG setting property text
2015-10-24 14:34:12,363 DEBUG push QPushButton replace_button
2015-10-24 14:34:12,363 DEBUG pop widget QPushButton replace_button
2015-10-24 14:34:12,363 DEBUG new topwidget <PyQt5.
2015-10-24 14:34:12,364 DEBUG push QTextEdit textview_conffile
2015-10-24 14:34:12,364 DEBUG pop widget QTextEdit textview_conffile
2015-10-24 14:34:12,364 DEBUG new topwidget <PyQt5.
2015-10-24 14:34:12,364 DEBUG pop layout QGridLayout gridlayout
2015-10-24 14:34:12,364 DEBUG pop widget QDialog dialog_conffile
2015-10-24 14:34:12,364 DEBUG new topwidget None
2015-10-24 14:34:12,365 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/
# which is less than optimal!
File "/usr/lib/
File "/tmp/ubuntu-
res = os.WEXITSTATUS(
File "/tmp/ubuntu-
self.
File "/tmp/ubuntu-
InstallProg
File "/usr/lib/
self.
File "/tmp/ubuntu-
self.
TypeError: argument 1 has unexpected type 'NoneType'
2015-10-24 14:34:12,366 DEBUG running apport_crash()
2015-10-24 14:34:12,393 DEBUG enabling apt cron job
Related branches
affects: | ubiquity (Ubuntu) → ubuntu-release-upgrader (Ubuntu) |
tags: | added: kubuntu wily |
Changed in ubuntu-release-upgrader (Ubuntu): | |
importance: | Undecided → Critical |
Changed in ubuntu-release-upgrader (Ubuntu): | |
importance: | Critical → High |
summary: |
- installer crashed on custom configuration file dialog + release upgrade crashed on custom configuration file dialog |
Changed in ubuntu-release-upgrader (Ubuntu Xenial): | |
status: | Confirmed → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
Addition: after killing the frozen installer gui and running 'sudo dpkg --configure -a' in terminal to continue the installation manually, I indeed got the prompt about /etc/tomcat7/ server. xml and whether I want the maintainer's version, the current version, to view diff, etc.
However, after selecting 'n' to keep the currently installed version, a whole new full-screen dialog immediately showed up (full-terminal, that is, i.e. an ascii dialog within the terminal window, not another GUI desktop window) asking me basically the same question again but with a couple more available options (3-way merge etc.).
Maybe that's what trips up the installer - the configuration file choices prompt being presented twice in a row.
I hope this helps.