[Pkg-utopia-maintainers] Bug#469528: apt dist-upgrade fails on package hal

Chris Tracy chris.t.tracy at gmail.com
Fri Mar 7 21:34:03 UTC 2008


FYI, I tried another 'apt-get dist-upgrade' after this and here is  
what happened...
(I am upgrading from 'etch' to 'unstable')

---
# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up hal (0.5.10+git20080301-1) ...
Reloading system message bus config...Failed to open connection to  
system message bus: Failed to connect to socket /var/run/dbus/ 
system_bus_socket: Connection refused
invoke-rc.d: initscript dbus, action "force-reload" failed.
Starting Hardware abstraction layer: hald
---

At this point, things appeared to hang.  It must have stayed here for  
a couple of minutes...in the meantime, I checked whether 'hald' was  
loaded, this is what I saw:

---
# ps auxwww|grep hal
root      9802  0.3  2.9  33128 30532 pts/4    Ss+  16:24   0:00 /usr/ 
bin/dpkg --status-fd 11 --configure hal gnome-power-manager gnome- 
mount gnome-volume-manager sound-juicer gnome-desktop-environment gnome
root      9803  0.0  0.1   3844  1176 pts/4    S+   16:24   0:00 /bin/ 
sh /var/lib/dpkg/info/hal.postinst configure 0.5.8.1-9
root      9831  0.0  0.1   3896  1256 pts/4    S+   16:24   0:00 /bin/ 
sh /usr/sbin/invoke-rc.d hal start
root      9847  0.0  0.1   3916  1292 pts/4    S+   16:24   0:00 /bin/ 
sh /etc/init.d/hal start
root      9851  0.0  0.0   3704   952 pts/4    S+   16:24   0:00 /usr/ 
sbin/hald
root      9852  0.0  0.0      0     0 ?        Zs   16:24   0:00  
[hald] <defunct>
root      9879  0.0  0.0   3116   700 pts/2    R+   16:28   0:00 grep  
hal
---

Eventually, something timed out and the 'apt-get' finished with these  
messages:

---
invoke-rc.d: initscript hal, action "start" failed.
dpkg: error processing hal (--configure):
subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of gnome-power-manager:
gnome-power-manager depends on hal (>= 0.5.10-1); however:
  Package hal is not configured yet.
dpkg: error processing gnome-power-manager (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-mount:
gnome-mount depends on hal; however:
  Package hal is not configured yet.
dpkg: error processing gnome-mount (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-volume-manager:
gnome-volume-manager depends on gnome-mount; however:
  Package gnome-mount is not configured yet.
gnome-volume-manager depends on hal (>= 0.5.5.1); however:
  Package hal is not configured yet.
dpkg: error processing gnome-volume-manager (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sound-juicer:
sound-juicer depends on hal; however:
  Package hal is not configured yet.
dpkg: error processing sound-juicer (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-desktop- 
environment:
gnome-desktop-environment depends on gnome-power-manager (>= 2.20.1);  
however:
  Package gnome-power-manager is not configured yet.
gnome-desktop-environment depends on gnome-volume-manager (>= 2.17.0);  
however:
  Package gnome-volume-manager is not configured yet.
gnome-desktop-environment depends on sound-juicer (>= 2.20.1); however:
  Package sound-juicer is not configured yet.
dpkg: error processing gnome-desktop-environment (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome:
gnome depends on gnome-desktop-environment (= 1:2.20.2.2); however:
  Package gnome-desktop-environment is not configured yet.
dpkg: error processing gnome (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
hal
gnome-power-manager
gnome-mount
gnome-volume-manager
sound-juicer
gnome-desktop-environment
gnome
E: Sub-process /usr/bin/dpkg returned an error code (1)
---

Now the 'hald' zombie process is gone:

# ps auxwww|grep hal
root      9897  0.0  0.0   3120   704 pts/2    R+   16:31   0:00 grep  
hal

I still have a /var/run/dbus/system_bus_socket as well:

# ls -l /var/run/dbus/system_bus_socket
srwxrwxrwx 1 root root 0 2008-03-07 09:46 /var/run/dbus/ 
system_bus_socket

Thanks,
-Chris





More information about the Pkg-utopia-maintainers mailing list