You are not logged in.

#1 2009-08-05 14:33:50

pijama
Member
Registered: 2008-03-20
Posts: 6

[SOLVED] ... (transaction commit attempt when database is not locked)

Hello,

After upgrading pacman today, whenever I try to update a single package (I was trying to uprgade firefox-branded with pacman -Up command; it happens with every package) I get this error

error: failed to commit transaction (transaction commit attempt when database is not locked)

I have no clue about how to solve this issue.

Thank you

Last edited by pijama (2009-08-05 16:08:37)

Offline

#2 2009-08-05 14:44:39

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [SOLVED] ... (transaction commit attempt when database is not locked)

Please post the output of that (copy and paste the output from the moment you run makepkg until you see that error).

Questions: Are you root when you do that ? Is there any other pacman related program running ? (like shaman)

Offline

#3 2009-08-05 14:47:18

pijama
Member
Registered: 2008-03-20
Posts: 6

Re: [SOLVED] ... (transaction commit attempt when database is not locked)

absolutely no error with makepkg

package is already compiled successfully

I just do:

pacman -Up <pkg name>

and i get the error.

Same thing if I try with any package in /var/cache/pacman/pkg

it is not a building issue. It is just a pacman problem, or database problem.


Thank you

Offline

#4 2009-08-05 14:48:50

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: [SOLVED] ... (transaction commit attempt when database is not locked)

Don't use the "p" there....  just "pacman -U <pkg file>"

Offline

#5 2009-08-05 16:04:30

pijama
Member
Registered: 2008-03-20
Posts: 6

Re: [SOLVED] ... (transaction commit attempt when database is not locked)

Thank you!

That worked. I had always used pacman -Up in the past. It used to work.

Problem solved.

Offline

Board footer

Powered by FluxBB