You are not logged in.

#1 2025-12-17 11:19:20

Leloup
Member
Registered: 2025-02-21
Posts: 18

[SOLVED] synchronization of all databases failed

Bonjour,

 $sudo pacman -Syu
:: Synchronizing package databases...
error: synchronization of all databases failed (unable to lock database) 
 $uname -snr
Linux  leloupArch 6.17.7-zen1-1-zen
$sudo pacman -Q pacman
pacman 7.0.0.r6.gc685ae6-6 

It seems that pacman is busy with a task that I can't kill.

 $ps aux | grep pacman
Leloup      6100 30.0  0.1   6976  4308 pts/0    S+   11:48   0:00 grep --color=auto pacman 

Furthermore, Linux is slower than usual.
Do you have any idea to solve this issue?
Regards,
Leloup

Last edited by Leloup (2025-12-23 16:54:24)

Offline

#2 2025-12-17 11:31:29

system72
Member
Registered: 2025-11-22
Posts: 347
Website

Offline

#3 2025-12-17 11:54:56

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,182
Website

Re: [SOLVED] synchronization of all databases failed

Mod note: Moving to NC.


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

#4 2025-12-18 17:00:29

Leloup
Member
Registered: 2025-02-21
Posts: 18

Re: [SOLVED] synchronization of all databases failed

Dear system72,
Thank you.
In first; I did in root mode:

 # fuser /var/lib/pacman/db.lck 

Still in root mode:

 # rm /var/lib/pacman/db.lck 

That fix my issue. smile smile
Regards,
Leloup

Offline

#5 2025-12-18 17:23:33

system72
Member
Registered: 2025-11-22
Posts: 347
Website

Re: [SOLVED] synchronization of all databases failed

ur welcome Leloup smile

since ur issue has been solved feel free to edit your original post and prefix [solved] to the title

Offline

Board footer

Powered by FluxBB