You are not logged in.

#1 2009-12-10 17:28:04

Codewalker
Member
Registered: 2009-12-03
Posts: 3

Pacman failed with an error when downgrading a package

I'm trying to downgrade a kernel using packages in the cache.

When i try to do

 sudo pacman -Up --debug kernel26-2.6.30.6-1-i686.pkg.tar.gz virtualbox-ose-3.0.6-1-i686.pkg.tar.gz virtualbox-modules-3.0.6-1-i686.pkg.tar.gz ndiswrapper-utils-1.55-1-i686.pkg.tar.gz ndiswrapper-1.55-1-i686.pkg.tar.gz

in /var/cache/pacman/pkg (all other packages are dependencies)
I get

debug: returning error 26 from alpm_trans_commit : transaction commit attempt when database is not locked
error: failed to commit transaction (transaction commit attempt when database is not locked)

Anybody has any idea why i get this error or how can i downgrade kernel package?

Offline

#2 2009-12-12 18:20:57

ZaQ
Member
Registered: 2009-12-12
Posts: 106

Re: Pacman failed with an error when downgrading a package

Hi,

maybe try "-Uf". But no guarantee! It could damage your system too!

ZaQ

Offline

#3 2009-12-12 18:30:13

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,557

Re: Pacman failed with an error when downgrading a package

Codewalker wrote:

I'm trying to downgrade a kernel using packages in the cache.

When i try to do

 sudo pacman -Up --debug kernel26-2.6.30.6-1-i686.pkg.tar.gz virtualbox-ose-3.0.6-1-i686.pkg.tar.gz virtualbox-modules-3.0.6-1-i686.pkg.tar.gz ndiswrapper-utils-1.55-1-i686.pkg.tar.gz ndiswrapper-1.55-1-i686.pkg.tar.gz

in /var/cache/pacman/pkg (all other packages are dependencies)
I get

debug: returning error 26 from alpm_trans_commit : transaction commit attempt when database is not locked
error: failed to commit transaction (transaction commit attempt when database is not locked)

Anybody has any idea why i get this error or how can i downgrade kernel package?

do not use that -p flag.

Offline

#4 2009-12-13 21:48:32

Codewalker
Member
Registered: 2009-12-03
Posts: 3

Re: Pacman failed with an error when downgrading a package

Yes!. You're right. p option was extra. I thought that -p is for files

Offline

#5 2009-12-13 22:59:29

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Pacman failed with an error when downgrading a package

The -p/--file flag exists, but only in conjunction with -Q/--query.

There is also the -p/--print-uris flag, which only applies to -S/--sync.

Offline

Board footer

Powered by FluxBB