While "start" should never fail for an init script, when the process is
already running (which gets fixed above), the real problem appears to be
hal running, when acpid gets installed (not upgraded).

I've taken the fix for this from Debian bug 380520 
(http://bugs.debian.org/380520) and added it to the debdiff.
This appears to be the real reason for this bug, but I've left the --oknodo in 
there, which is a reasonable fix, too.

** Bug watch added: Debian Bug tracker #380520
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=380520

** Also affects: acpid (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=380520
   Importance: Unknown
       Status: Unknown

** Attachment added: "Debdiff for Hardy"
   http://launchpadlibrarian.net/13386836/acpid_1.0.4-5ubuntu9.dsc.diff

** Attachment removed: "Debdiff for Hardy"

   http://launchpadlibrarian.net/13386325/acpid_1.0.4-5ubuntu9.dsc.diff

** Summary changed:

- acpid install fails, upgrading from dapper to edgy beta.
+ acpid install fails (because of hal running)

** Description changed:

  On upgrading from dapper to the edgy beta, the installer failed on the
  acpid update, because acpid fails to install, acpi-support cannot
  install, and therfore the required packages in the meta package ubuntu-
  desktop cannot be met.
  
  The error is as follows:
  Setting up acpid (1.0.4-5ubuntu4) ...
   * Loading ACPI modules...                                               [ ok 
] 
   * Starting ACPI services...                                                  
  acpid: can't open /proc/acpi/event: Device or resource busy
  invoke-rc.d: initscript acpid, action "start" failed.
  dpkg: error processing acpid (--configure):
   subprocess post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of acpi-support:
   acpi-support depends on acpid (>= 1.0.4-1ubuntu4); however:
    Package acpid is not configured yet.
  dpkg: error processing acpi-support (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of ubuntu-desktop:
   ubuntu-desktop depends on acpi-support; however:
    Package acpi-support is not configured yet.
   ubuntu-desktop depends on acpid; however:
    Package acpid is not configured yet.
  dpkg: error processing ubuntu-desktop (--configure):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   acpid
   acpi-support
   ubuntu-desktop
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  
  If any other logs are required please specify.
+ 
+ 
+ TESTCASE:
+ 1. Remove acpid
+ 2. Restart hal
+ 3. Install acpid
+ => Failure

-- 
acpid install fails (because of hal running)
https://bugs.launchpad.net/bugs/63450
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to