crash during upgrade from jaunty to karmic, 'utf8' codec can't decode byte 0xc3 in position 254: unexpected end of data

Bug #459847 reported by Ernst Kloppenburg
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-qt4 (Ubuntu)
Invalid
Undecided
Unassigned
update-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

using 'update-notifier-kde -d', the upgrade stopped with a crash while packages upgrades were installed

a bug reporting application openened and said "kdesudo has crashed", but debug information was not sufficient to make a bug report

I guess it is rather a problem of update-manager.

I can retry the upgrade to help you debugging, as I did the upgrade on a _copy_ of my installation.

The upgrade was from a
jaunty system
+ libstdc++6,apt-cacher-ng from karmic
+ http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu

Terminal output:

$ update-notifier-kde -d
extracting 'karmic.tar.gz'
authenticate 'karmic.tar.gz' against 'karmic.tar.gz.gpg'
/var/lib/python-support/python2.6/dbus/connection.py:242: DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)

adept_manager: Kein Prozess beendet
adept_updater: Kein Prozess beendet
 * Starting automatic crash report generation: apport
   ...done.
exitMainLoop
'utf8' codec can't decode byte 0xc3 in position 254: unexpected end of data
'utf8' codec can't decode byte 0xbc in position 0: unexpected code byte
Traceback (most recent call last):
  File "/tmp/tmplscAjz/karmic", line 7, in <module>
    sys.exit(main())
  File "/tmp/tmplscAjz/DistUpgradeMain.py", line 132, in main
    if app.run():
  File "/tmp/tmplscAjz/DistUpgradeController.py", line 1590, in run
    return self.fullUpgrade()
  File "/tmp/tmplscAjz/DistUpgradeController.py", line 1564, in fullUpgrade
    if not self.doDistUpgrade():
  File "/tmp/tmplscAjz/DistUpgradeController.py", line 1049, in doDistUpgrade
KCrash: Application 'kdesudo' crashing...
    "sock_file=/home/ernst/.kde/socket-rechner6/kdeinit4__0

[1]+ Stopped update-notifier-kde -d

Revision history for this message
Ernst Kloppenburg (ernst-kloppenburg) wrote :
Revision history for this message
Ernst Kloppenburg (ernst-kloppenburg) wrote :
Revision history for this message
Ernst Kloppenburg (ernst-kloppenburg) wrote :
Revision history for this message
Ernst Kloppenburg (ernst-kloppenburg) wrote :
Revision history for this message
Ernst Kloppenburg (ernst-kloppenburg) wrote :

I tried the upgrade with "apt-get inst

Revision history for this message
Ernst Kloppenburg (ernst-kloppenburg) wrote :

I retried the upgrade on a copy of the system with "update-manager -d" (after installing "apt-get install update-manager") -> nothing evil happened

Revision history for this message
Ernst Kloppenburg (ernst-kloppenburg) wrote :

Then I retried the upgrade on a copy of the system,
using 'update-notifier-kde -d'
-> the crash occured again!

The crash reporting assistant says:
Application: KdeSudo (kdesudo), signal: Segmentation fault
[Current thread is 0 (process 6756)]

Another interesting detail:
$ ps aux | grep dp
root 722 0.1 0.3 8980 6472 pts/4 Ss+ 11:38 0:00 /usr/bin/dpkg --force-overwrite --status-fd 18 --configure bash

Revision history for this message
Michael Vogt (mvo) wrote :

There are some errors:

2009-10-24 17:02:55,623 DEBUG error reading from self.master_fd ''utf8' codec can't decode byte 0xc3 in position 254: unexpected end of data'
2009-10-24 17:02:55,643 DEBUG error reading from self.master_fd ''utf8' codec can't decode byte 0xbc in position 0: unexpected code byte'
2009-10-24 17:04:34,758 DEBUG got a conffile-prompt from dpkg for file: '/etc/bash.bashrc'
2009-10-24 17:04:34,767 ERROR IOError in cache.commit(): '[Errno 2] No such file or directory: '/usr/share/python-qt4/widget-plugins/kde4.py''. Retrying (currentTry: 0)

but the last line seems to be the crucial one:

No such file or directory: '/usr/share/python-qt4/widget-plugins/kde4.py''

Revision history for this message
Ernst Kloppenburg (ernst-kloppenburg) wrote :

before the upgrade, the file was present (I had made a copy using 'rsync -ax' to sda1):

# ls -l /media/sda1/usr/share/python-qt4/widget-plugins/kde4.py
lrwxrwxrwx 1 root root 69 2009-10-12 07:26 /media/sda1/usr/share/python-qt4/widget-plugins/kde4.py -> ../../../lib/python2.6/dist-packages/PyQt4/uic/widget-plugins/kde4.py

# ls -l /media/sda1/usr/lib/python2.6/dist-packages/PyQt4/uic/widget-plugins/kde4.py
-rw-r--r-- 1 root root 1461 2009-03-27 15:46 /media/sda1/usr/lib/python2.6/dist-packages/PyQt4/uic/widget-plugins/kde4.py

so the file was probably removed during the upgrade.

There should be some way to 'statically link' the dependencies of the update-manager.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

"No such file or directory: '/usr/share/python-qt4/widget-plugins/kde4.py''" is being tracked at bug 459471

Changed in python-qt4 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.