You are not logged in.

#1 2010-11-01 03:01:32

ace_w1zard
Member
Registered: 2010-07-07
Posts: 83

pacman not working at all...

Hey guys pacman was working fine when i installed arch 2 hours ago. But now for some awkward reason pacman does not work, not even for basic update [pacman -Syu],
Say if i try to update my system with a simple pacman -Syu command, this is what i get...

[main@baxxanna ~]$ sudo pacman -Syu
:: Synchronizing package databases...
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
[main@baxxanna ~]$ 

same thing for any other program, say firefox...

[main@baxxanna ~]$ sudo pacman -S firefox
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
[main@baxxanna ~]$ 

p.s
i tired to edit my /etc/pacman.conf file with nano as the root user, i uncommented the "#" in front of the...

[multilib]
Include = /etc/pacman.d/mirrorlist

so i can install 32 bit flash on my 64 bit os, i followed this tutorial...

https://wiki.archlinux.org/index.php/In … _on_Arch64

But after this problem arouse i returned the #'s in front of the 

[multilib]
Include = /etc/pacman.d/mirrorlist

but i still get this same problem, pleas help!!!

Last edited by ace_w1zard (2010-11-01 03:02:38)

Offline

#2 2010-11-01 03:04:21

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: pacman not working at all...

Have you followed the instructions that pacman is giving you?

pacman wrote:

if you're sure a package manager is not already running, you can remove /var/lib/pacman/db.lck


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2010-11-01 03:07:55

ace_w1zard
Member
Registered: 2010-07-07
Posts: 83

Re: pacman not working at all...

jasonwryan wrote:

Have you followed the instructions that pacman is giving you?

pacman wrote:

if you're sure a package manager is not already running, you can remove /var/lib/pacman/db.lck

ok no other package manger is running i think [ i even restarted the pc just in case] and idk what they mean by remove /var/lib/pacman/db.lck

Offline

#4 2010-11-01 03:11:56

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: pacman not working at all...

Remove means delete. As root (or with sudo) just do:

rm /var/lib/pacman/db.lck

Offline

#5 2010-11-01 03:17:05

ace_w1zard
Member
Registered: 2010-07-07
Posts: 83

Re: pacman not working at all...

anonymous_user wrote:

Remove means delete. As root (or with sudo) just do:

rm /var/lib/pacman/db.lck

OMG ty bro, how did you figure that out? and why did it do this?

Offline

#6 2010-11-01 03:18:40

ace_w1zard
Member
Registered: 2010-07-07
Posts: 83

Re: pacman not working at all...

also do you think the link i used to try install the flash plugin on my 64 bit system works? or is it just another false wiki? cause i tried it and got this *** *** problem!


MOD EDIT : Watch your language !!! We will not tolerate nasty language on this forum. -- Inxsible

Last edited by Inxsible (2010-11-02 02:57:59)

Offline

#7 2010-11-01 03:20:11

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: pacman not working at all...

Which instructions did you try? I would go with the first ones:

https://wiki.archlinux.org/index.php/In … he_Package

Last edited by anonymous_user (2010-11-01 03:20:58)

Offline

#8 2010-11-01 03:21:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: pacman not working at all...

The link in the wiki works fine. The problem is your own. Please do not use that sort of language here or you will be banned.

Closing.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2010-11-02 02:59:55

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: pacman not working at all...

removed foul language from the post ...

Please take note of Jason's advice.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB