You are not logged in.
Pages: 1
I was updating my system and the connection was low I had stop the update process abruptly I just closed the terminal and now I am getting this error message whenever I want to run #pacman -Syu or -Syy
error: failed to init transaction (unable to lock database)
if you are sure a package manager is not already running, you can remove /var/lib/pacman/db.lck
Last edited by demoka (2010-04-14 06:01:12)
Offline
Offline
But I am sure there is no package manager running
Offline
then you can remove /var/lib/pacman/db.lck
just like it says to do
Online
But I am sure there is no package manager running
if you are sure a package manager is not already running, you can remove /var/lib/pacman/db.lck
Then you can do what it says.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
I know that is what I am suppose to do, how can I delete this in the terminal ?
Offline
I suggest you read: http://www.linuxcommand.org/
Edit: and also reconsider if Arch is the right distribution for you. It is really not a beginners distribution and you will be forced to do some things from the terminal.
Offline
I removed it with # rm /var/lib/pacman/db.lck you could have just said this.
Thnak You.
Offline
You could have just done some research!
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
This is called "Newbie Corner" for a reason, please don't flame new users.
How's my programming? Call 1-800-DEV-NULL
Offline
I agree with zowki, it's the newbies' section, it's not surprising that some persons ask this kind of questions
Offline
Yes it is... if you do not know what the "rm" command is, you have a long way to go. And unless you are prepared to google the answer for yourself, Arch is probably not the place for you.
Offline
Yeah, I totally agree with you, I don't well think about the difference between newbie and newbie.
Now it's done, it's a fact that it's a newbie section, but somehow experienced beginners
Offline
Newbie Corner
Beginners' subforum for general Arch issues. Please consult the excellent Arch wiki and web before posting. Also try the forum search function at the upper right.
I think that's clear enough.
Offline
I'm glad this is sorted, but next time, use a more descriptive post title. This would help those who actually do take the time to google their problems.
Last edited by rson451 (2010-04-14 12:04:07)
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
Pages: 1