[Karmic] update-manager-kde: conffile prompt/error during upgrade cause crash

Bug #459471 reported by FriedChicken
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
kdebindings (Ubuntu)
Fix Released
Medium
Unassigned
Karmic
Fix Released
Medium
Unassigned

Bug Description

TEST CASE:
1. use jaunty kubuntu
2. modify /etc/sand.d/dll.conf by adding some comments
3. run do-release-upgrade --frontend DistUpgradeViewKDE
4. verify that it crashes around at around ~70% installed

5. repeat step 1
6. enabled jaunty-proposed
7. repeat step 2,3
8. verify that the upgrade finishes

Binary package hint: update-notifier-kde

Updating failed and kdesudo had a crash.

I guess this has to do something with config files that need user interaction to get replaced with new versions. From main.log:
  [...]
  2009-10-23 13:33:45,706 DEBUG got a conffile-prompt from dpkg for file: '/etc/sane.d/dll.conf'
  2009-10-23 13:33:45,711 ERROR IOError in cache.commit(): '[Errno 2] No such file or directory: '/usr/share/python-qt4/widget-plugins/kde4.py''. Retrying (currentTry: 2)
  2009-10-23 13:33:45,711 ERROR giving up on fetching after maximum retries
  2009-10-23 13:33:45,806 ERROR not handled exception in KDE frontend:
  Traceback (most recent call last):
  [...]

I don't know how the kdesudo crash is related to this, but is crashed and the "karmic" task was blocked so I had to kill it although update was not fully successful.

ProblemType: Bug
Architecture: i386
Date: Sat Oct 24 01:15:21 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: update-notifier-kde 9.10ubuntu2
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=de_DE:de:en_GB:en
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-6.20-386
SourcePackage: update-notifier-kde
Uname: Linux 2.6.28-6-386 i686
XsessionErrors: (polkit-gnome-authentication-agent-1:2714): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

Revision history for this message
FriedChicken (domlyons) wrote :
Revision history for this message
FriedChicken (domlyons) wrote :
Revision history for this message
FriedChicken (domlyons) wrote :
Revision history for this message
FriedChicken (domlyons) wrote :
affects: update-notifier-kde (Ubuntu) → update-manager (Ubuntu)
summary: - [Karmic] update-notifier-kde: not handled exception in KDE frontend
+ [Karmic] update-manager-kde: not handled exception in KDE frontend
Revision history for this message
Michael Vogt (mvo) wrote : Re: [Karmic] update-manager-kde: not handled exception in KDE frontend

It crashes because of:

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

affects: update-manager (Ubuntu) → kdebindings (Ubuntu)
Changed in kdebindings (Ubuntu):
milestone: none → karmic-updates
Changed in kdebindings (Ubuntu Karmic):
status: New → Confirmed
importance: Undecided → Medium
summary: - [Karmic] update-manager-kde: not handled exception in KDE frontend
+ [Karmic] update-manager-kde: conffile prompt/error during upgrade cause
+ crash
Revision history for this message
Michael Vogt (mvo) wrote :

It looks like its triggered by a conffile prompt in the middle of the upgrade when kdebindings is not in a fully working state.

Revision history for this message
Jonathan Riddell (jr) wrote :

debdiff to fix link

Revision history for this message
Jonathan Riddell (jr) wrote :

uploaded to karmic-proposed, awaiting approval

Revision history for this message
Martin Pitt (pitti) wrote :

I reviewed the package in -proposed, approved. Will accept right after karmic release.

Changed in kdebindings (Ubuntu Karmic):
status: Confirmed → Fix Committed
Michael Vogt (mvo)
description: updated
Revision history for this message
Michael Vogt (mvo) wrote :

I just did a test ugprade with the patched kdebindings from my ppa:mvo and it works with that flawlessly. Thanks for the fix Riddell!

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted kdebindings into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Ernst Kloppenburg (ernst-kloppenburg) wrote :

I have tested it sucessfully on a copy of the system where the upgrade from jaunty to karmic previously had failed
# enabled -proposed
# started update-notifier-kde -d
# the upgrade went smoothly

Revision history for this message
Helmut A. Bender (ubuntu-helmut-bender) wrote :

I had a similar problem with the update process crashing (configuring xosview => kdesu segfault).

What I don't understand:
- Why is importance only medium?
- Why 'Will accept right after karmic release'?

Do you know, what that bug means? I tried to update my laptop yesterday. The update process crashed. I tried to finish it 'by hand', but have now an unusable laptop; it doesn't boot anymore.
That was my first impression of karmic. I shurely will not upgrade my main pc... I need it to work and have no time to either try getting it running nor to reinstall.

In my humble opinion this bug is a showstopper and should be fixed immediately, so nobody else ever will see this crash!

Revision history for this message
Marco Cimmino (cimmo) wrote :

Same here but happened at the end of upgrade just before asking to remove obsolete packages, attaching log.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdebindings - 4:4.3.2-0ubuntu4.1

---------------
kdebindings (4:4.3.2-0ubuntu4.1) karmic-proposed; urgency=low

  * Fix link to kde4.py in python-kde4.links, closes LP: #459471

 -- Jonathan Riddell <email address hidden> Wed, 28 Oct 2009 18:26:47 +0000

Changed in kdebindings (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Copied karmic-proposed to lucid.

Changed in kdebindings (Ubuntu):
milestone: karmic-updates → none
status: Fix Committed → Fix Released
Changed in kdebindings (Ubuntu Karmic):
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdebindings - 4:4.3.2-0ubuntu4.1

---------------
kdebindings (4:4.3.2-0ubuntu4.1) karmic-proposed; urgency=low

  * Fix link to kde4.py in python-kde4.links, closes LP: #459471

 -- Jonathan Riddell <email address hidden> Wed, 28 Oct 2009 18:26:47 +0000

Changed in kdebindings (Ubuntu Karmic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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