You are not logged in.

#1 2020-08-16 07:07

Adam33
Member
Registered: 2019-03-21
Posts: 33

Problems updating

I am unable to update either by command line, by Synaptic, or with the update manager tool. The update manager exited with code 1004. On apt-get upgrade, command line gives me:
Job for acpid.service failed because of unavailable resources or another system error.

Synaptic Package Manager doesn't appear to find any needed updates as the "Apply" button remains disabled after reloading and marking upgrades. Any idea what could be wrong?

Last edited by Adam33 (2020-08-16 07:07)

Offline

#2 2020-08-16 10:42

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Problems updating

We would try to stop the acpid.service and perform the update:
$ sudo systemctl stop acpi-support.service
$ sudo systemctl stop acpid.service
$ sudo apt update
$ sudo apt dist-upgrade
Reboot.

What is the output of "dist-upgrade" command ?

Offline

#3 2020-08-23 16:00

Adam33
Member
Registered: 2019-03-21
Posts: 33

Re: Problems updating

I am sorry for the delay as this reply notice had gone to spam. Here's what I get

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  evolution-common evolution-data-server evolution-data-server-common
  libcamel-1.2-62 libchamplain-0.12-0 libchamplain-gtk-0.12-0 libclutter-1.0-0
  libclutter-1.0-common libclutter-gtk-1.0-0 libcogl-common libcogl-pango20
  libcogl-path20 libcogl20 libcompfaceg1 libebackend-1.2-10 libebook-1.2-19
  libebook-contacts-1.2-2 libecal-1.2-19 libedata-book-1.2-25
  libedata-cal-1.2-29 libedataserver-1.2-23 libedataserverui-1.2-2 libetpan20
  libevolution libfm-data libfm-gtk-data libfm-gtk4 libfm-modules libfm4
  libgail-3-0 libgdata-common libgdata22 libgeocode-glib0 libgnome-autoar-0-0
  libgnome-autoar-gtk-0-0 libgoa-1.0-0b libgoa-1.0-common libgtkspell3-3-0
  libgweather-3-15 libgweather-common libmicrodns0 liboauth0 libphonenumber7
  libprotobuf17 libpst4 libytnef0 linux-headers-4.19.0-5-amd64
  linux-headers-4.19.0-5-common linux-headers-5.4.0-0.bpo.3-common
  linux-image-4.19.0-5-amd64 linux-kbuild-5.4 lxmenu-data
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up acpid (1:2.0.31-1) ...
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)

Aug 23 09:57:53 adam-pc systemd[1]: acpid.service: Got no socket.
Aug 23 09:57:53 adam-pc systemd[1]: acpid.service: Failed to run 'start' task: Invalid argument
Aug 23 09:57:53 adam-pc systemd[1]: acpid.service: Failed with result 'resources'.
Aug 23 09:57:53 adam-pc systemd[1]: Failed to start ACPI event daemon.
dpkg: error processing package acpid (--configure):
installed acpid package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of acpi-support-base:
acpi-support-base depends on acpid (>= 1.0.4); however:
  Package acpid is not configured yet.

dpkg: error processing package acpi-support-base (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
acpid
acpi-support-base
E: Sub-process /usr/bin/dpkg returned an error code (1)

Offline

#4 2020-08-23 19:29

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Problems updating

You could also try to mask acpi services:
$ sudo systemctl mask acpi-support.service
$ sudo systemctl mask acpid.service
Reboot
$ sudo apt update
$ sudo apt dist-upgrade
and post back.

Offline

#5 2020-08-23 19:43

Adam33
Member
Registered: 2019-03-21
Posts: 33

Re: Problems updating

Well, I will assume it worked. At least I didn't get errors. It's hard to tell.

The very first command gave me:
Unit acpi-support.service does not exist, proceeding anyway.
Created symlink /etc/systemd/system/acpi-support.service → /dev/null.

The second command gave me
Created symlink /etc/systemd/system/acpid.service → /dev/null.

After reboot and update, the last command gave me:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  evolution-common evolution-data-server evolution-data-server-common
  libcamel-1.2-62 libchamplain-0.12-0 libchamplain-gtk-0.12-0 libclutter-1.0-0
  libclutter-1.0-common libclutter-gtk-1.0-0 libcogl-common libcogl-pango20
  libcogl-path20 libcogl20 libcompfaceg1 libebackend-1.2-10 libebook-1.2-19
  libebook-contacts-1.2-2 libecal-1.2-19 libedata-book-1.2-25
  libedata-cal-1.2-29 libedataserver-1.2-23 libedataserverui-1.2-2 libetpan20
  libevolution libfm-data libfm-gtk-data libfm-gtk4 libfm-modules libfm4
  libgail-3-0 libgdata-common libgdata22 libgeocode-glib0 libgnome-autoar-0-0
  libgnome-autoar-gtk-0-0 libgoa-1.0-0b libgoa-1.0-common libgtkspell3-3-0
  libgweather-3-15 libgweather-common libmicrodns0 liboauth0 libphonenumber7
  libprotobuf17 libpst4 libytnef0 linux-headers-4.19.0-5-amd64
  linux-headers-4.19.0-5-common linux-headers-5.4.0-0.bpo.3-common
  linux-image-4.19.0-5-amd64 linux-kbuild-5.4 lxmenu-data
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up acpid (1:2.0.31-1) ...
Setting up acpi-support-base (0.142-8) ...

That's all it did before returning to the next command prompt, so can I assume it was successful?

Offline

#6 2020-08-23 20:22

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Problems updating

Yes, the upgrade has proceeded successfully. You can now try to unmask acpi services again:
$ sudo systemctl unmask acpi-support.service
$ sudo systemctl unmask acpid.service
Reboot

Offline

#7 2020-08-23 21:07

Adam33
Member
Registered: 2019-03-21
Posts: 33

Re: Problems updating

That fixed it! Thanks!

Offline

Board footer

Powered by FluxBB