rhythmbox and dia-common upgrade crashes on gutsy beta upgrade

Bug #147777 reported by hewitten
8
Affects Status Importance Assigned to Milestone
dia (Ubuntu)
Invalid
Undecided
Unassigned
python-support (Ubuntu)
Invalid
Undecided
Unassigned
rhythmbox (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: python-support

gutsy beta upgrade at 29.09.2007
upgrade crashed with a crash of update-python-modules, but could be continued after reboot without updating rhythmbox and dia-common.
still update of rhythmbox and dia-common causes the following error:
rhythmbox:

The following packages will be upgraded:
  rhythmbox
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/3322kB of archives.
After unpacking 483kB of additional disk space will be used.
(Reading database ... 204135 files and directories currently installed.)
Preparing to replace rhythmbox 0.10.0-0ubuntu2 (using .../rhythmbox_0.11.2-0ubuntu3_i386.deb) ...
Warning: /usr/share/gconf/schemas/rhythmbox.schemas could not be found.
Usage: gconf-schemas --[un]register file1.schemas [file2.schemas [...]]

gconf-schemas: error: You need to give at least a file to (un)register.
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
WARNING: /usr/share/python-support/rhythmbox.dirs does not exist.
         Some bytecompiled files may be left behind.
Traceback (most recent call last):
  File "/usr/sbin/update-python-modules", line 227, in <module>
    args.remove(arg)
ValueError: list.remove(x): x not in list
dpkg: error processing /var/cache/apt/archives/rhythmbox_0.11.2-0ubuntu3_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/rhythmbox_0.11.2-0ubuntu3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

dia-common:

The following packages will be upgraded:
  dia-common
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/2392kB of archives.
After unpacking 32,8kB of additional disk space will be used.
Selecting previously deselected package dia-common.
(Reading database ... 204135 files and directories currently installed.)
Preparing to replace dia-common 0.96.1-0ubuntu1 (using .../dia-common_0.96.1-3_all.deb) ...
Ignoring nonregistered document dia-manual
WARNING: /usr/share/python-support/dia-common.dirs does not exist.
         Some bytecompiled files may be left behind.
Traceback (most recent call last):
  File "/usr/sbin/update-python-modules", line 227, in <module>
    args.remove(arg)
ValueError: list.remove(x): x not in list
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
WARNING: /usr/share/python-support/dia-common.dirs does not exist.
         Some bytecompiled files may be left behind.
Traceback (most recent call last):
  File "/usr/sbin/update-python-modules", line 227, in <module>
    args.remove(arg)
ValueError: list.remove(x): x not in list
dpkg: error processing /var/cache/apt/archives/dia-common_0.96.1-3_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/dia-common_0.96.1-3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

similar errors on apt-get remove:

Removing dia-common ...
Ignoring nonregistered document dia-manual
WARNING: /usr/share/python-support/dia-common.dirs does not exist.
         Some bytecompiled files may be left behind.
Traceback (most recent call last):
  File "/usr/sbin/update-python-modules", line 227, in <module>
    args.remove(arg)
ValueError: list.remove(x): x not in list
dpkg: error processing dia-common (--remove):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 dia-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

Tags: iso-testing
Revision history for this message
hewitten (witte2000) wrote :
Revision history for this message
hewitten (witte2000) wrote :
Revision history for this message
hewitten (witte2000) wrote :
Revision history for this message
hewitten (witte2000) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Looks like a local installation issue, the rhythmbox schemas has no reason to not be available and we got no other bug about that

Revision history for this message
Sebastien Bacher (seb128) wrote :

that's not a rhythmbox bug

Changed in rhythmbox:
importance: Undecided → Medium
status: New → Invalid
Revision history for this message
hewitten (witte2000) wrote :

I think the problem occurs because I removed rhytmbox (and maybe dia, can't remember that) in the feisty installation and the upgrade script acts on the assumption, that it is installed. so it's maybe a bug in the update manager more precisely the gutsy upgrade routine, which should not try to upgrade removed packages?
i found the same problem here:
http://ubuntuforums.org/showthread.php?p=3447833

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

This same error occurred to me on hardy, from a network boot and upgrading in steps to get to a GUI.

Attached is an abridged apt term.log to the first occurrence of the error. (I cut out everything after the first error, nothing before)

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Now that a newer package is available it fails with the same error as the original reporter.

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

I fixed it by sudo rm rhythmbox.* -rf in /var/lib/dpkg/info
which may not be a recommended fix.

Daniel T Chen (crimsun)
Changed in dia:
status: New → Invalid
Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10?

Changed in python-support:
status: New → Incomplete
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

I don't think it was ever easily reproducible. The error doesn't occur for me when upgrading rhytmbox anymore, but I'm pretty sure I have formated since then.

I'm closing it until (and if) I see it again. hewitten and other subscribers please reopen if you get it again. (I also tried with a fresh server install to install rhymbox and dia and they both worked)

Changed in python-support:
status: Incomplete → 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.