LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-19-2010, 11:20 PM   #1
smturner1
Member
 
Registered: Oct 2009
Location: MI
Distribution: Arch 2.6.35
Posts: 107

Rep: Reputation: 1
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
 
Old 10-20-2010, 06:55 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
are you running it as root?

is another package manager running?
 
Old 10-20-2010, 07:03 AM   #3
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
just do rm -r /var/lib/pacman/db.lck
then it'll work
 
Old 06-01-2016, 01:29 PM   #4
tmsbrdrs
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Rep: Reputation: 0
Talking thanks for this

Quote:
Originally Posted by linus72 View Post
just do rm -r /var/lib/pacman/db.lck
then it'll work
Just had the same issue, couldn't remember the command
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pacman question Prey Linux - Newbie 1 07-16-2006 06:40 PM
Pacman carlosinfl Linux - Games 4 02-13-2006 03:46 PM
Pacman for Slackware Anonymo Slackware 15 12-10-2005 05:26 PM
pacman alaios Linux - Games 1 08-20-2005 04:34 AM
What happened to Pacman? jenna_h Linux - Software 2 05-15-2003 11:04 PM


All times are GMT -5. The time now is 05:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration