You are not logged in.
Everytime when I run pacman I get this error:
error: could not open file /var/lib/pacman/local/systemd-217-8/desc: No such file or directory
I think i messed up something when upgrading system.
Can you help me to solve this issue?
Thanks
Last edited by Arch3R (2014-11-29 19:14:08)
Offline
Does reinstalling systemd or libsystemd help?
Offline
Just reinstall systemd:
pacman -S systemd
select yes if it prompts due to it already being installed.
You might also want to run `pacman -Qk` to see if any other packages have been damaged.
EDIT: I just did some silly trial and error and deleted that file from my system (probably would have been smarter to move/rename it). Reinstalling systemd failed due to a conflicting file error as all the files for the package are there, but the pacman database doesn't realize they belong to that package. In this case I used --force with the single specific package:
pacman -S --force systemd
Note that this use of --force is an apparent necessity to fix this specific problem. This does not support using it when uncertain why something fails - I knew why it was failing.
Last edited by Trilby (2014-11-29 19:01:55)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Thanks everyone problem is solved by running
pacman -S --force systemd
Offline
You don't even need to force the install, you can just use --dbonly to recreate the missing database file.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline