You are not logged in.
Pages: 1
Hi,
Im new to Arch Linux. It is the best distro so far, but Im still trying to learn it. Then recently I got this problem with pacman. It does not work. Any time I use "pacman -S . . . " I get this message:
error: failed to init transaction (unable to lock database)
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck.
Can someone help me, how to get pacman work again?
Thanks,
piotr.
Offline
killall pacman; rm /var/lib/pacman/db.lck
Offline
You could try following the instructions in the error message...
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck.
Offline
I tried your suggestion. It does not work. I get this message:
killall pacman
pacman: no process killed
[root@myhost piotr]# rm /var/lib/pacman/db.lck
rm: cannot remove `/var/lib/pacman/db.lck': No such file or directory
Offline
try this.
pacman --debug -Syy
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Hi,
Solved. Yes. I tried pacman -Syy and it started to work. Thanks a lot cactus. I really appreciate this help.
Piotr
Offline
Pages: 1