FS#58960 - reboot /var/lib/pacman/db.lck removal
Attached to Project:
Pacman
Opened by Ceriel Jacobs (cj1) - Sunday, 10 June 2018, 22:27 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 10 June 2018, 22:53 GMT
Opened by Ceriel Jacobs (cj1) - Sunday, 10 June 2018, 22:27 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 10 June 2018, 22:53 GMT
|
Details
I was expecting the 'reboot' command to delete
/var/lib/pacman/db.lck
It doesn't. Steps to reproduce: # pacman -Syu :: 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 update archlinuxfr (unable to lock database) error: failed to synchronize all databases # reboot # pacman -Syu :: 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 update archlinuxfr (unable to lock database) error: failed to synchronize all databases # rm -f /var/lib/pacman/db.lck # pacman -Syu :: Synchronizing package databases... core is up to date ... 4.16.13-2-ARCH Note: an improvement can already be to suggest the user to run the command: "rm -f /var/lib/pacman/db.lck" |
This task depends upon