You are not logged in.
I did an update (-Syu) this morning. After lunch, my maschine froze and I had to do a cold restart. When I checked pacman -Syu again, I got this error:
$ pacman -Syu
[sudo] password for user:
:: Synchronizing package databases...
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to synchronize all databases
Looking at pacman:
$ ls -lah /var/lib/pacman/
total 84K
drwxr-xr-x 4 root root 4.0K Sep 12 10:08 .
drwxr-xr-x 36 root root 4.0K Sep 12 00:00 ..
---------- 1 root root 0 Sep 12 10:08 db.lck
drwxr-xr-x 1394 root root 68K Sep 10 17:44 local
drwxr-xr-x 2 root root 4.0K Sep 12 10:08 sync
I am unsure what to do now. How should I proceed to solve this issue?
Thank you for your help.
Last edited by jared (2019-09-12 12:17:12)
Offline
Offline
I was looking at https://wiki.archlinux.org/index.php/Pa … 9.22_error before positng. My error looks slightly different, that's why I was hesitant.
However, removing db.lck solved the issue.
Thanks.
Offline