Hello,

I got the same error with Ubuntu 18.04.5 LTS.

Last comment was not enough for me.
I needed to start acpid.socket before.

My solution :

root@M076-1603001:~# dpkg --configure -a
Paramétrage de acpid (1:2.0.28-1ubuntu1) ...
Job for acpid.service failed because of unavailable resources or another system 
error.
See "systemctl status acpid.service" and "journalctl -xe" for details.
invoke-rc.d: initscript acpid, action "start" failed.
● acpid.service - ACPI event daemon
   Loaded: loaded (/lib/systemd/system/acpid.service; disabled; vendor preset: 
enabled)
   Active: failed (Result: resources)

oct. 30 11:40:09 M076-1603001 systemd[1]: Stopping ACPI event daemon...
oct. 30 11:40:10 M076-1603001 systemd[1]: Stopped ACPI event daemon.
oct. 30 11:41:51 M076-1603001 systemd[1]: acpid.service: Got no socket.
oct. 30 11:41:51 M076-1603001 systemd[1]: acpid.service: Failed to run 'start' 
task: Invalid argument
oct. 30 11:41:51 M076-1603001 systemd[1]: acpid.service: Failed with result 
'resources'.
oct. 30 11:41:51 M076-1603001 systemd[1]: Failed to start ACPI event daemon.
oct. 30 11:46:28 M076-1603001 systemd[1]: acpid.service: Got no socket.
oct. 30 11:46:28 M076-1603001 systemd[1]: acpid.service: Failed to run 'start' 
task: Invalid argument
oct. 30 11:46:28 M076-1603001 systemd[1]: acpid.service: Failed with result 
'resources'.
oct. 30 11:46:28 M076-1603001 systemd[1]: Failed to start ACPI event daemon.
dpkg: erreur de traitement du paquet acpid (--configure) :
 installed acpid package post-installation script subprocess returned error 
exit status 1
dpkg: des problèmes de dépendances empêchent la configuration de acpi-support :
 acpi-support dépend de acpid (>= 1.0.4-1ubuntu4) ; cependant :
 Le paquet acpid n'est pas encore configuré.

dpkg: erreur de traitement du paquet acpi-support (--configure) :
 problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
 acpid
 acpi-support
root@M076-1603001:~# systemctl stop acpid.socket
root@M076-1603001:~# systemctl start acpid.socket
root@M076-1603001:~# dpkg --configure -a
Paramétrage de acpid (1:2.0.28-1ubuntu1) ...
Paramétrage de acpi-support (0.142) ...
root@M076-1603001:~# systemctl status acpid.service
● acpid.service - ACPI event daemon
   Loaded: loaded (/lib/systemd/system/acpid.service; disabled; vendor preset: 
enabled)
   Active: active (running) since Fri 2020-10-30 11:46:51 CET; 15min ago
 Main PID: 29094 (acpid)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/acpid.service
           └─29094 /usr/sbin/acpid

oct. 30 11:46:51 M076-1603001 systemd[1]: Started ACPI event daemon.
oct. 30 11:46:51 M076-1603001 acpid[29094]: starting up with netlink and the 
input layer
oct. 30 11:46:51 M076-1603001 acpid[29094]: 8 rules loaded
oct. 30 11:46:51 M076-1603001 acpid[29094]: waiting for events: event logging 
is off
root@M076-1603001:~#

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1760391

Title:
  package acpid 1:2.0.28-1ubuntu1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/1760391/+subscriptions

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

Reply via email to