PDA

View Full Version : [ubuntu] [10.04] Update returning errors



mazikowski
October 10th, 2010, 04:00 PM
This problem started with a standard software update on my 10.04 box. The packages gnome-terminal, xulrunner-1.9.2 and libgluezilla return errors and show up as not fully installed.

Each time apt-get (or the graphical updater) is used, I get the following messages at the end of the output:



Setting up gnome-terminal (2.30.2-0ubuntu1) ...
update-alternatives: error: /var/lib/dpkg/alternatives/x-terminal-emulator corrupt: invalid status
dpkg: error processing gnome-terminal (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up xulrunner-1.9.2 (1.9.2.10+build1+nobinonly-0ubuntu0.10.04.1) ...
update-alternatives: error: /var/lib/dpkg/alternatives/xulrunner corrupt: invalid status
dpkg: error processing xulrunner-1.9.2 (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libgluezilla:
libgluezilla depends on xulrunner-1.9.2; however:
Package xulrunner-1.9.2 is not configured yet.
dpkg: error processing libgluezilla (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
gnome-terminal
xulrunner-1.9.2
libgluezilla
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried running sudo aptitude reinstall on all three and it doesn't do any good. Can anyone give me some suggestions about how to resolve this?

KiLaHuRtZ
October 10th, 2010, 04:15 PM
Dependency errors, have you tried updating your repositories?


sudo apt-get update

mazikowski
October 10th, 2010, 04:18 PM
Yes, I got that message after running


$ sudo apt-get update
$ sudo apt-get upgrade


I also see it any time I install any other package using apt.

mazikowski
October 21st, 2010, 01:29 AM
Anybody?

mazikowski
November 2nd, 2010, 01:13 AM
When the Update Manager completes, I am also receiving the following messages (related to the afore mentioned installation failures):



E: gnome-terminal: subprocess installed post-installation script returned error exit status 2
E: xulrunner-1.9.2: subprocess installed post-installation script returned error exit status 2
E: libgluezilla: dependency problems - leaving unconfigured

mazikowski
December 19th, 2010, 11:54 PM
I'm still getting the same issues but cannot figure out why.

Most recently, I received these errors:


Setting up gnome-terminal (2.30.2-0ubuntu1) ...
update-alternatives: error: /var/lib/dpkg/alternatives/x-terminal-emulator corrupt: invalid status
dpkg: error processing gnome-terminal (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up xulrunner-1.9.2 (1.9.2.13+build3+nobinonly-0ubuntu0.10.04.1) ...
update-alternatives: error: /var/lib/dpkg/alternatives/xulrunner corrupt: invalid status
dpkg: error processing xulrunner-1.9.2 (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libgluezilla:
libgluezilla depends on xulrunner-1.9.2; however:
Package xulrunner-1.9.2 is not configured yet.
dpkg: error processing libgluezilla (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of icedtea6-plugin:
icedtea6-plugin depends on xulrunner-1.9.2; however:
Package xulrunner-1.9.2 is not configured yet.
dpkg: error processing icedtea6-plugin (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
Errors were encountered while processing:
gnome-terminal
xulrunner-1.9.2
libgluezilla
icedtea6-plugin
E: Sub-process /usr/bin/dpkg returned an error code (1)


From what I can tell, libgluezilla and icedtea6-plugin cannot install because xulrunner-1.9.2 isn't installing. This package isn't installing due to this error: "update-alternatives: error: /var/lib/dpkg/alternatives/xulrunner corrupt: invalid status", similar to gnome-terminal.

Can anyone suggest how to fix this?