You are not logged in.
Pages: 1
Topic closed
Greetings!
Help, please.I am a noob on an i3 desktop. I could not update my system. Terminal reads as follows, after I type and enter "sudo pacman -Syu"
[sudo] password for blessed:
:: 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 multilib-testing (unable to lock database)
error: failed to synchronize any databases
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck
[blessed@torski ~]$
However, when I do another operation, like installing something, I get the message saying something like
"pacman is busy, plase wait"
What should I do?
Offline
I ran
sudo rm /var/lib/pacman/db.lck
Now seems to be updating fine. It seems to have been that simple. I hope this helps other noobs.
Offline
This is already covered in the wiki...
https://wiki.archlinux.org/index.php/Pa … 9.22_error
Please remember to mark your thread as solved.
Offline
And in future pests, please use code tags when pasting terminal output.
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
I ran
sudo rm /var/lib/pacman/db.lckNow seems to be updating fine. It seems to have been that simple. I hope this helps other noobs.
I had same problem and your solve worked very well with me
Thank you
Offline
Please don't necrobump, especially to empty post about information in the wiki: https://wiki.archlinux.org/index.php/Co … bumping.22
Closing
Offline
Pages: 1
Topic closed