You are not logged in.

#2801 Today 13:29:24

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,821

Re: Distro-hoppers anonymous

Colonel Panic wrote:

However, Pacman was locked for some reason and as a result I was unable to install any fresh software;

error: failed to init transaction (unable to lock database)

Usually means there is another instance of pacman running, or the previous process didn't terminate properly. You need to delete the db.lck file.

sudo rm -r /var/lib/pacman/db.lck

is the typical fix.


You must unlearn what you have learned.
    -- yoda

Offline

#2802 Today 16:00:29

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,124

Re: Distro-hoppers anonymous

And Mrs. Pacman will get really upset.
(sorry - could not help myself)

We now return you to your regular programming.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2803 Today 19:01:10

Colonel Panic
Member
Registered: 2018-11-13
Posts: 1,556

Re: Distro-hoppers anonymous

PackRat wrote:
Colonel Panic wrote:

However, Pacman was locked for some reason and as a result I was unable to install any fresh software;

error: failed to init transaction (unable to lock database)

Usually means there is another instance of pacman running, or the previous process didn't terminate properly. You need to delete the db.lck file.

sudo rm -r /var/lib/pacman/db.lck

is the typical fix.

Thanks for replying. I found a temporary fix - I rebooted (didn't think logging out would be drastic enough) and then logged back in again, and I was able to install a couple more programs before it happened again ...

I am slowly getting on top of it though, and advice like that goes a long way to help so thanks again.

Offline

Board footer

Powered by FluxBB