[intrepid] package guidance-power-manager 4:4.0.83-0ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 2

Bug #245339 reported by Charles Keller
12
Affects Status Importance Assigned to Milestone
guidance-power-manager (Ubuntu)
Fix Released
High
Scott Kitterman
kde-guidance (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: guidance-power-manager

I am using Alpha 1 of intrepid, with regular updates. Upon running apt-get dist-upgrade, the upgrade process crashed while trying to install the package guidance-power-manager. I have included the messages following my execution of apt-get dist-upgrade.

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  gwenview
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
4 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up guidance-backends (0.8.0svn20080103-0ubuntu19) ...
Usage: update-python-modules [-v] [-c] package_directory [...]
       update-python-modules [-v] [-c] package.dirs [...]
       update-python-modules [-v] [-a|-f|-p]

update-python-modules: error: Trying to overwrite xf86misc.py which is already provided by /usr/share/python-support/guidance-power-manager
dpkg: error processing guidance-backends (--configure):
 subprocess post-installation script returned error exit status 2
Setting up guidance-power-manager (4:4.0.83-0ubuntu2) ...
Usage: update-python-modules [-v] [-c] package_directory [...]
       update-python-modules [-v] [-c] package.dirs [...]
       update-python-modules [-v] [-a|-f|-p]

update-python-modules: error: Trying to overwrite xf86misc.py which is already provided by /usr/share/python-support/guidance-backends
dpkg: error processing guidance-power-manager (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of kde-guidance:
 kde-guidance depends on guidance-backends; however:
  Package guidance-backends is not configured yet.
dpkg: error processing kde-guidance (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kde-guidance-powermanager:
 kde-guidance-powermanager depends on guidance-power-manager; however:
  Package guidance-power-manager is not configured yet.
dpkg: error processing kde-guidance-powermanager (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 guidance-backends
 guidance-power-manager
 kde-guidance
 kde-guidance-powermanager
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
Architecture: i386
Date: Thu Jul 3 19:23:28 2008
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 2
Package: guidance-power-manager 4:4.0.83-0ubuntu2
PackageArchitecture: i386
SourcePackage: guidance-power-manager
Title: package guidance-power-manager 4:4.0.83-0ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 2
Uname: Linux 2.6.26-2-generic i686

Revision history for this message
Charles Keller (byteman007) wrote :
Revision history for this message
Scott Kitterman (kitterman) wrote :

xf86misc.py is a display related file. The power-manager should not ship it.

Changed in guidance-power-manager:
importance: Undecided → High
status: New → Confirmed
Changed in kde-guidance:
status: New → Invalid
Changed in guidance-power-manager:
milestone: none → ubuntu-8.10-beta
Revision history for this message
Steve Stalcup (vorian) wrote :

here's what I was able to recreate

Usage: update-python-modules [-v] [-c] package_directory [...]
       update-python-modules [-v] [-c] package.dirs [...]
       update-python-modules [-v] [-a|-f|-p]

update-python-modules: error: Trying to overwrite xf86misc.py which is already provided by /usr/share/python-support/guidance-backends
dpkg: error processing guidance-power-manager (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of kde-guidance-powermanager:
 kde-guidance-powermanager depends on guidance-power-manager; however:
  Package guidance-power-manager is not configured yet.
dpkg: error processing kde-guidance-powermanager (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 guidance-power-manager

Changed in guidance-power-manager:
assignee: nobody → kitterman
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package guidance-power-manager - 4:4.0.83-0ubuntu3

---------------
guidance-power-manager (4:4.0.83-0ubuntu3) intrepid; urgency=low

  * Add debian/patches/kubuntu01-no-ixf86misc.patch to remove ixf86misc
    files from modules/CMakeLists.txt (LP: #245339)
    - ixf86misc is supplied by guidance-backends and is part of Guidance's
      display functionality and not power management
  * Add debian/patches/kubuntu02-klocalize-crash.patch to remove unimplemented
    call to python-kde4 (LP: #244830)
  * Drop ixf86misc related build-deps and depends:
    - libxxf86vm-dev, x11proto-scrnsaver-dev, libxrandr-dev, libxss-dev
    - ${shlibs:Depends} (package is pure Python now)
  * Change guidance-power-manager from arch any to arch all
  * Drop unused build-dep on quilt and remove /usr/share/cdbs/1/rules/quilt.mk
    from debian/cdbs/kde.mk
  * Add simple-patchsys.mk to debian/rules

 -- Scott Kitterman <email address hidden> Sat, 05 Jul 2008 12:13:42 -0400

Changed in guidance-power-manager:
status: In Progress → 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.