package gconf2 3.2.5-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1011337 reported by Eric Freeman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gconf (Ubuntu)
Invalid
Low
Unassigned

Bug Description

sudo apt-get upgrade -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be upgraded:
  unity unity-common
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
8 not fully installed or removed.
Need to get 0 B/1,436 kB of archives.
After this operation, 7,168 B disk space will be freed.
Do you want to continue [Y/n]? y
Setting up gconf2 (3.2.5-0ubuntu2) ...
/usr/share/gconf/schemas/compiz-commands.schemas:1247: parser error : Premature end of data in tag applyto line 1247
      <applyto>/apps/compi
                          ^
/usr/share/gconf/schemas/compiz-commands.schemas:1247: parser error : Premature end of data in tag schema line 1245
      <applyto>/apps/compi
                          ^
/usr/share/gconf/schemas/compiz-commands.schemas:1247: parser error : Premature end of data in tag schemalist line 3
      <applyto>/apps/compi
                          ^
/usr/share/gconf/schemas/compiz-commands.schemas:1247: parser error : Premature end of data in tag gconfschemafile line 2
      <applyto>/apps/compi
                          ^
Failed to open `/usr/share/gconf/schemas/compiz-commands.schemas': Input/output error
dpkg: error processing gconf2 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of compiz-gnome:
 compiz-gnome depends on gconf2 (>= 2.28.1-2); however:
  Package gconf2 is not configured yet.
dpkg: error processing compiz-gnome (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of compiz:
 compiz depends on compiz-gnome | compiz-kde; however:
  Package compiz-gnome is not configured yet.
  Package compiz-kde is not installed.
dpkg: error processing compiz (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-gnome:
 libreoffice-gnome depends on gconf2; however:
  Package gconf2 is not configured yet.
dpkg: error processing libreoffice-gnome (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntuone-client-gnome:
 ubuntuone-client-gnome depends on gconf2 (>= 2.31.1); however:
  Package gconf2 is not configured yet.
dpkg: error processing ubNo 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
                                 No apport report written because MaxReports is reached already
               No apport report written because MaxReports is reached already
                                                                             No apport report written because MaxReports is reached already
                                                           No apport report written because MaxReports is reached already
                                         No apport report written because MaxReports is reached already
                       untuone-client-gnome (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of unity-common:
 unity-common depends on gconf2 (>= 2.28.1-2); however:
  Package gconf2 is not configured yet.
dpkg: error processing unity-common (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of unity:
 unity depends on libunity-core-5.0-5 (= 5.12-0ubuntu1); however:
  Version of libunity-core-5.0-5 on system is 5.12-0ubuntu1.1.
 unity depends on unity-common (= 5.12-0ubuntu1); however:
  Package unity-common is not configured yet.
 unity depends on compiz; however:
  Package compiz is not configured yet.
dpkg: error processing unity (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of unity-lens-applications:
 unity-lens-applications depends on unity-common (>= 4.4.0); however:
  Package unity-common is not configured yet.
dpkg: error processing unity-lens-applications (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gconf2
 compiz-gnome
 compiz
 libreoffice-gnome
 ubuntuone-client-gnome
 unity-common
 unity
 unity-lens-applications
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: gconf2 3.2.5-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic i686
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
Date: Sat Jun 9 17:45:42 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
SourcePackage: gconf
Title: package gconf2 3.2.5-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-04-27 (44 days ago)

Revision history for this message
Eric Freeman (efreem01) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Reviewing your dmesg attachment in this bug report it seems that there is a problem with your hardware. I recommend performing a back up and then investigating the situation. Measures you might take include checking cable connections and using software tools to investigate the health of your hardware. In the event that is is not in fact an error with your hardware please set the bug's status back to New. Thanks and good luck!

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: hardware-error
Changed in gconf (Ubuntu):
importance: Undecided → Low
status: New → Invalid
Revision history for this message
Eric Freeman (efreem01) wrote :

I discovered the core issue. The file /usr/share/gconf/schemas/compiz-commands.schemas was corrupted. I repaired the File System with e2fsck, and then replaced it with a copy from another 12.04 instance. Then I manually installed libunity-core and unity with dpkg.

I ran sudo apt-get check and everything is operating as it should now.

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.