package hal-device-manager 0.5.9.1-1ubuntu8 failed to install/upgrade:

Bug #146741 reported by pe3k
108
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
Won't Fix
Medium
Martin Pitt

Bug Description

Binary package hint: hal

Fails to upgrade from Feisty to Gutsy.

ProblemType: Package
Architecture: amd64
Date: Sat Sep 29 14:34:46 2007
DistroRelease: Ubuntu 7.10
ErrorMessage:
 ErrorMessage: dependency problems - leaving unconfigured
Package: hal-device-manager 0.5.9.1-1ubuntu8
PackageArchitecture: all
SourcePackage: hal
Title: package hal-device-manager 0.5.9.1-1ubuntu8 failed to install/upgrade:
Uname: Linux qyx 2.6.20-16-generic #2 SMP Sun Sep 23 18:31:23 UTC 2007 x86_64 GNU/Linux

Revision history for this message
pe3k (qyx) wrote :
Revision history for this message
Scott Beamer (angrykeyboarder) wrote :

I'm having the same problem. In my case it's Gutsy/i386 not a dist-upgrade but a simple upgrade from a previous verson of HAL.

Me thinks the Importance needs to go from "undecided" to "critical". Anytime yesterday would be fine. ;)

I can't access peripherals (notably an external hard drive) and other packages are depending on HAL and therefore won't install.

scott@scottbox:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  ekiga
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
4 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up hal (0.5.9.1-1ubuntu9) ...
 * Reloading system message bus config... [ OK ]
 * Starting Hardware abstraction layer hald invoke-rc.d: initscript hal, action "start" failed.
dpkg: error processing hal (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of gnome-power-manager:
 gnome-power-manager depends on hal; however:
  Package hal is not configured yet.
dpkg: error processing gnome-power-manager (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of hal-device-manager:
 hal-device-manager depends on hal; however:
  Package hal is not configured yet.
dpkg: error processing hal-device-manager (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kde-guidance-powermanager:
 kde-guidance-powermanager depends on hal; however:
  Package hal is not configured yet.
dpkg: error processing kde-guidance-powermanager (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 hal
 gnome-power-manager
 hal-device-manager
 kde-guidance-powermanager
Saving new apt-history status...
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Martin Pitt (pitti) wrote :

This does not generally happen, thus I need some more information. Please send the output of

  sudo sh -ex /var/lib/dpkg/info/hal.postinst configure 0.5.9.1-1ubuntu8

(enter it in a Terminal and cut&paste the output). Thank you!

Changed in hal:
importance: Undecided → Medium
status: New → Incomplete
assignee: nobody → pitti
Revision history for this message
sandos (sandos) wrote :

I am having this problem after a gutsy dist-upgrade from feisty. Attached is output from script when doing the above command

Revision history for this message
sandos (sandos) wrote :

After reading the hald manpage I tried gdb /usr/sbin/hald, attached is the output.

Revision history for this message
sandos (sandos) wrote :

Added --daemon=no to /etc/default/hal, and got some more info from the postinst script, attached is the output from that.

Revision history for this message
sandos (sandos) wrote :

workaround mentioned in this bug seems to work for me (though I did also chown haldaemon:haldaemon /var/cache/hald before, but that on its own did not seem to help)

https://bugs.launchpad.net/ubuntu/+source/hal/+bug/139155

Revision history for this message
Paul Dufresne (paulduf) wrote :

Well, I had a similar problem, hald returning 1.
By doing: sudo hald --daemon=no --verbose=yes
I have seen that it was stopping after a message saying that haldaemon group did not exist.
So I did: sudo groupadd haldaemon
Then things have begun to work from then.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Just curious if anyone has tested upgrading from Gutsy to Hardy Alpha and are able to still witness this issue? Thanks.

Revision history for this message
Martin Pitt (pitti) wrote :

hal-device-manager does not exist any more in hardy, it was removed upstream. gnome-device-manager is the replacement.

Changed in hal:
status: Incomplete → Won't Fix
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.