package hal-device-manager failed to install/upgrade:

Reported by pe3k on 2007-09-29
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
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: dependency problems - leaving unconfigured
Package: hal-device-manager
PackageArchitecture: all
SourcePackage: hal
Title: package hal-device-manager 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

pe3k (qyx) wrote :
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:
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 ( ...
 * 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:
Saving new apt-history status...
E: Sub-process /usr/bin/dpkg returned an error code (1)

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

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

Changed in hal:
importance: Undecided → Medium
status: New → Incomplete
assignee: nobody → pitti
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

sandos (sandos) wrote :

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

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.

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)


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.

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

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  Edit
Everyone can see this information.

Other bug subscribers