You are not logged in.
Pages: 1
Topic closed
I'm getting:
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
But, there is no /var/lib/pacman/db.lck file to remove?
TIA
Richard
Offline
is not explicit what you have to do?
Give what you have. To someone, it may be better than you dare to think.
Offline
Thanks for the quick response. I presume you mean I should check if I have another package manager running.
If I use ps, I can't find another pacman:
[root@localhost ~]# ps -ef | grep pacman
root 664 636 0 10:07 pts/0 00:00:00 grep pacman
Also, I've tried rebooting the system, and my first use of the command pacman gives the same error...
Thanks again
Richard
Offline
if pacman is not running delete the lock.
rm /var/lib/pacman/db.lck
Give what you have. To someone, it may be better than you dare to think.
Offline
Thanks for the suggestions.
But, there is no /var/lib/pacman/db.lck file to remove?
[root@localhost /]# rm /var/lib/pacman/db.lck
rm: cannot remove `/var/lib/pacman/db.lck': No such file or directory
Offline
what are you doing?
do
$ type pacman
# type pacman
Give what you have. To someone, it may be better than you dare to think.
Offline
Check if your disk is full
Offline
I really doubt they're still looking for a solution eight and a half years later.
You were told after your one other post not to necrobump (https://bbs.archlinux.org/viewtopic.php … 0#p1701160). You really need to read through the rules.
Offline
Indeed.
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed