Public bug reported:

I just tried to to upgrade my system form 15.04 to 15.10 and like last
time I tried to update from 14.10 to 15.04 (see #1448380) the release-
upgrade crashed at this point.

This is the error in /var/log/dist-upgrade/main.log:
---------------------------------------------------------------------------
2016-01-04 12:47:20,781 ERROR not handled exception in KDE frontend:
Traceback (most recent call last):

  File "/tmp/ubuntu-release-upgrader-1ni4jss9/wily", line 8, in <module>
    sys.exit(main())

  File "/tmp/ubuntu-release-upgrader-1ni4jss9/DistUpgrade/DistUpgradeMain.py", 
line 240, in main
    if app.run():

  File 
"/tmp/ubuntu-release-upgrader-1ni4jss9/DistUpgrade/DistUpgradeController.py", 
line 1837, in run
    return self.fullUpgrade()

  File 
"/tmp/ubuntu-release-upgrader-1ni4jss9/DistUpgrade/DistUpgradeController.py", 
line 1802, in fullUpgrade
    if not self.doDistUpgrade():

  File 
"/tmp/ubuntu-release-upgrader-1ni4jss9/DistUpgrade/DistUpgradeController.py", 
line 1143, in doDistUpgrade
    res = self.cache.commit(fprogress,iprogress)

  File "/tmp/ubuntu-release-upgrader-1ni4jss9/DistUpgrade/DistUpgradeCache.py", 
line 267, in commit
    apt.Cache.commit(self, fprogress, iprogress)

  File "/usr/lib/python3/dist-packages/apt/cache.py", line 501, in commit
    # which is less than optimal!

  File "/usr/lib/python3/dist-packages/apt/cache.py", line 465, in
install_archives

  File "/tmp/ubuntu-release-upgrader-1ni4jss9/DistUpgrade/DistUpgradeView.py", 
line 234, in run
    res = os.WEXITSTATUS(self.wait_child())

  File 
"/tmp/ubuntu-release-upgrader-1ni4jss9/DistUpgrade/DistUpgradeViewKDE.py", line 
451, in wait_child
    self.update_interface()

  File 
"/tmp/ubuntu-release-upgrader-1ni4jss9/DistUpgrade/DistUpgradeViewKDE.py", line 
430, in update_interface
    InstallProgress.update_interface(self)

  File "/usr/lib/python3/dist-packages/apt/progress/base.py", line 252, in 
update_interface
    self.conffile(match.group(1), match.group(2))

  File 
"/tmp/ubuntu-release-upgrader-1ni4jss9/DistUpgrade/DistUpgradeViewKDE.py", line 
339, in conffile
    
self.confDialogue.show_difference_button.clicked.connect(self.showConffile())

TypeError: argument 1 has unexpected type 'NoneType'

2016-01-04 12:47:20,781 DEBUG running apport_crash()
2016-01-04 12:47:20,815 DEBUG enabling apt cron job
--------------------------------------------------------------------------------------------------------

The first lines with the version information are (I think in this case these 
are more relevant than apt-cache policy output which might show versions from 
the upgraded system):
-------------------------------------------------------------------------------------------------------
2016-01-04 12:10:29,829 INFO Using config files '['./DistUpgrade.cfg']'
2016-01-04 12:10:29,829 INFO uname information: 'Linux liwonb 3.19.0-42-generic 
#48-Ubuntu SMP Thu Dec 17 22:54:45 UTC 2
015 x86_64'
2016-01-04 12:10:29,829 INFO apt version: '1.0.9.7ubuntu4'
2016-01-04 12:10:29,829 INFO python version: '3.4.3 (default, Mar 26 2015, 
22:03:40) 
[GCC 4.9.2]'
2016-01-04 12:10:29,829 INFO release-upgrader version '15.10.14.2' started
2016-01-04 12:10:29,913 INFO locale: 'de_DE' 'UTF-8'
2016-01-04 12:10:30,015 DEBUG UI version is 4.0
-----------------------------------------------------------------------------------------------------

The file /var/log/dist-upgrade/apt-term.log ended with (sorry, my system is 
german and therefore the output from dpkg is, too. This is just a standard 
prompt for how dpkg should handle a changed config file):
-----------------------------------------------------------------------------------------------------
nginx-common (1.9.3-1ubuntu1) wird eingerichtet ...
Neue Version der Konfigurationsdatei /etc/init.d/nginx wird installiert ...
Neue Version der Konfigurationsdatei /etc/nginx/fastcgi.conf wird installiert 
...
Neue Version der Konfigurationsdatei /etc/nginx/fastcgi_params wird installiert 
...

Konfigurationsdatei »/etc/nginx/nginx.conf«
 ==> Geändert (von Ihnen oder von einem Skript) seit der Installation.
 ==> Paketverteiler hat eine aktualisierte Version herausgegeben.
   Wie möchten Sie vorgehen? Ihre Wahlmöglichkeiten sind:
    Y oder I : Die Version des Paket-Betreuers installieren
    N oder O : Die momentan installierte Version beibehalten
       D     : Die Unterschiede zwischen den Versionen anzeigen
       Z     : Eine Shell starten, um die Situation zu begutachten
 Der Standardweg ist das Beibehalten der momentanen Version.
*** nginx.conf (Y/I/N/O/D/Z) [Vorgabe=N] ?
---------------------------------------------------------------------------------------------------

I tried to finish the upgrade with
sudo dpkg --configure --pending
sudo apt-get dist-upgrade
sudo apt-get autoremove

We will see if this works after I reboot or not. Last time it didn't and
I had to reinstall.

This is the second time in a row that the release upgrade can not handle
dpkg prompts. Please include a scenario with such prompts in your tests
before doing a release. It really really sucks to run into this time and
again. I hope next time I remember to run the command line upgrader
instead of the graphical one.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1530854

Title:
  Kubuntu upgrade from 15.04 to 15.10 crashes when dpkg asks about
  config file changes

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to