python2.4-minimal fails on removal ; chillispot upgrade fails to upgrade

Bug #225927 reported by sbibayoff
16
Affects Status Importance Assigned to Milestone
chillispot (Ubuntu)
Invalid
Undecided
Unassigned
Hardy
Invalid
Undecided
Unassigned
Intrepid
Invalid
Undecided
Unassigned
python-central (Ubuntu)
Fix Released
High
Unassigned
Hardy
Fix Released
High
Unassigned
Intrepid
Fix Released
High
Unassigned

Bug Description

Binary package hint: update-manager

$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
$ apt-cache policy update-manager
update-manager:
  Installed: 1:0.87.24
  Candidate: 1:0.87.24
  Version table:
 *** 1:0.87.24 0
        500 http://mirrors.kernel.org hardy/main Packages
        100 /var/lib/dpkg/status

appears to be same error reported by me from bug #225913 . Don't know why this crash error keeps coming up. It comes up right after it tries to report a nautlus crash(which fails)
Attached are the dist-upgrade logs

ProblemType: Package
Architecture: i386
Date: Fri May 2 13:21:47 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)

NonfreeKernelModules: nvidia
Package: update-manager 1:0.87.24
PackageArchitecture: all
SourcePackage: update-manager
Title: package update-manager 1:0.87.24 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)
Uname: Linux 2.6.24-16-generic i686

Revision history for this message
sbibayoff (bibayoff) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :
Download full text (3.9 KiB)

Here is the package that causes the error:

...
Setting up chillispot (1.0-8) ...
Installing new version of config file /etc/init.d/chillispot ...
Hangup
dpkg: error processing chillispot (--configure):
 subprocess post-installation script returned error exit status 129
...

Removing python2.4-minimal ...
Unlinking and removing bytecode for runtime python2.4
    python-bittorrent: >= 2.3 (['install', 'ok', 'installed'])
    python-pkg-resources: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-4suite-xml: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-ctypes: 2.4 (['install', 'ok', 'installed'])
    apturl: current (['install', 'ok', 'installed'])
    language-selector: current (['install', 'ok', 'installed'])
    jockey-common: 2.5 (['install', 'ok', 'installed'])
    python-wxgtk2.6: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-wxgtk2.8: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-software-properties: >= 2.4 (['install', 'ok', 'installed'])
    python-launchpad-integration: 2.4, 2.5 (['install', 'ok', 'installed'])
    gnome-app-install: 2.5 (['install', 'ok', 'installed'])
    python-apport: 2.5 (['install', 'ok', 'installed'])
    python-sip4: 2.4, 2.5 (['install', 'ok', 'installed'])
    gdebi-core: current (['install', 'ok', 'installed'])
    hwdb-client-common: all (['install', 'ok', 'installed'])
    update-manager-core: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-gmenu: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-cairo: 2.4, 2.5 (['install', 'ok', 'installed'])
    alacarte: >= 2.4 (['install', 'ok', 'installed'])
    hwtest: current (['install', 'ok', 'installed'])
    qemulator: current (['install', 'ok', 'installed'])
    python-wxversion: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-serial: all (['install', 'ok', 'installed'])
    deskbar-applet: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-problem-report: 2.5 (['install', 'ok', 'installed'])
    serpentine: >= 2.4 (['install', 'ok', 'installed'])
    launchpad-integration: current (['install', 'ok', 'installed'])
    python-gst0.10: 2.4, 2.5 (['install', 'ok', 'installed'])
    gdebi: current (['install', 'ok', 'installed'])
    python-crypto: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-qt4-common: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-pyatspi: all (['install', 'ok', 'installed'])
    python-launchpad-bugs: >= 2.4 (['install', 'ok', 'installed'])
    python-qt4: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-virtkey: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-imaging: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-pygame: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-apt: 2.4, 2.5 (['install', 'ok', 'installed'])
    onboard: current (['install', 'ok', 'installed'])
    language-selector-common: current (['install', 'ok', 'installed'])
    mirage: 2.5 (['install', 'ok', 'installed'])
    python-setuptools: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-opengl: all (['install', 'ok', 'installed'])
    update-manager: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-uno: 2.5 (['install', 'ok', 'installed'])
    python-apsw: 2.4, 2.5 (['install', 'ok', 'instal...

Read more...

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

Milestoning the python-central error as it may break upgrades

Changed in python-central:
importance: Undecided → High
milestone: none → ubuntu-8.04.1
Steve Langasek (vorlon)
Changed in python-central:
importance: Undecided → High
Revision history for this message
Steve Langasek (vorlon) wrote :

I had tentatively targeted this to hardy due to the milestone, but on closer inspection it's evident that the problem here is that python-setuptools is installed, but has no .list file - so the dpkg database is in an inconsistent state at the time the python2.4-minimal removal is run. It may be beneficial to improve python-central's handling of this case in the long-term, but I don't think an SRU is warranted here since any change would be a workaround for a very uncommon bug.

Changed in python-central:
status: New → Won't Fix
Steve Langasek (vorlon)
Changed in python-central:
milestone: ubuntu-8.04.1 → none
Revision history for this message
Matthias Klose (doko) wrote :

> would be a workaround for a very uncommon bug.

I disagree. this upgrade error happes a lot more often; the reason being that the package already is removed, but the status file is not yet written.

Revision history for this message
Matthias Klose (doko) wrote :

fixed in intrepid

Changed in python-central:
status: New → Fix Released
status: Won't Fix → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

not a bug in chillispot

Changed in chillispot:
status: New → Invalid
status: New → Invalid
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here

Changed in python-central:
status: Confirmed → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

I don't see a TEST CASE in the bug description and I am uncertain how to recreate the bug or test the fix.

Revision history for this message
Steve Langasek (vorlon) wrote :

Reproducing this bug depends on a precise ordering of dpkg operations during upgrade; as such, there is no straightforward test case for this issue.

I'm going ahead with copying this to -updates on the basis that the fix is visually correct and no regressions have been reported with the new version.

Changed in python-central:
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.