LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Pacman locked up? (https://www.linuxquestions.org/questions/linux-newbie-8/pacman-locked-up-839170/)

smturner1 10-19-2010 10:20 PM

Pacman locked up?
 
I just got an 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

When I write the command:
pacman -R /var/lib/pacman/db.lck

The same error returns.

If anyone can help me with this I would appreciate it. I can't install any packages until I resolve this issue.

s

AlucardZero 10-20-2010 05:55 AM

are you running it as root?

is another package manager running?

linus72 10-20-2010 06:03 AM

just do rm -r /var/lib/pacman/db.lck
then it'll work

tmsbrdrs 06-01-2016 12:29 PM

thanks for this
 
Quote:

Originally Posted by linus72 (Post 4133389)
just do rm -r /var/lib/pacman/db.lck
then it'll work

Just had the same issue, couldn't remember the command


All times are GMT -5. The time now is 06:48 PM.