You are not logged in.
I've updated the system with pacman -Suy, which has installed systemd-242.19-1.
During the update, I get a message
Failed to reload daemon: Access denied
I was force to downgrade systemd to 239.0-2, otherwise I was not able to restart or shutdown the machine anymore.
Does anyone know how to investigate or fix this issue ?
Last edited by fluancefg (2019-05-10 14:21:10)
Offline
Please post the full output - out of context that message doesn't say much. Post your pacman.log if you don't have the output anymore.
As for restarting/shutting down, what do you mean you are not able to? What error or output does that produce?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Here's what inside pacman.log.
[2019-05-09 16:58] [ALPM] transaction started
[2019-05-09 16:58] [ALPM] upgraded libidn (1.34-2 -> 1.35-1)
[2019-05-09 16:58] [ALPM] upgraded systemd (239.0-2 -> 242.19-1)
[2019-05-09 16:58] [ALPM-SCRIPTLET] Failed to reload daemon: Access denied
[2019-05-09 16:58] [ALPM] upgraded systemd-sysvcompat (239.0-2 -> 242.19-1)
[2019-05-09 16:58] [ALPM] transaction completed
When I try to run shutdown or reboot, I get the following message:
Failed to power off system via logind: Unit systemd-poweroff.service has a bad unit file setting.
Failed to talk to init daemon.
or
Failed to reboot system via logind: Unit systemd-reboot.service has a bad unit file setting.
Failed to talk to init daemon.
Offline
Post the full pacman log, not a tiny excerpt: https://bbs.archlinux.org/viewtopic.php?id=57855
Offline
Offline
That is still not the full log. But the most likely problem is readily apparent: you have a long history of partial upgrades.
Please post your full pacman log and your pacman.conf
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I don't know what you mean with "you have a long history of partial upgrades".
pacman.log: http://ix.io/1IAN
pacman.conf: http://ix.io/1IAO
Offline
Your log is litterally littered with them along with evidence that pacman (or yaourt in your case) frequently fails an you repeatedly retry over and over again.
https://wiki.archlinux.org/index.php/Sy … nsupported
You are also using a completely broken repo. I'd like to help, but frankly you've dug yourself in such a hole I'm not sure where to start. As a hail mary, I'd remove archlinux.fr and everything from that repo, do a full and proper upgrade, then restart with a hard poweroff if necessary and see if you're back in functional shape. If not, reinstall and partial upgrade no more.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I've removed the archlinux.fr repo and the yaourt tool btw. Then I've done a full upgrade and everything is working fine.
Offline
That's a good outcome. I'm glad it panned out that way. Going forward, please never use the -Sy flag to pacman without also including a 'u'. Additionally, while it will not harm your system, needless use of two 'y's is just a waste of mirror resources for no purpose. The proper command for regular updates is simply `pacman -Syu`.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline