When I try to updating the system or to install something, the terminal print this message: “error: impossible to syncronize all databases (impossible blocking the database)”.
In particular, when I get “pacman -Syu”, the terminal prints: “AUR package with obsolete flag: hyprland-nvidia” (on these last days, I’m trying to set the Hyprland compositor for using it as a kde plasma windows manager for tiling instead kwin, but for now I have no idea how to do it).
Maybe this issue could be caused by this?
what’s your pacman.conf file?
post the output of this command (which is a URL)
cat /etc/pacman.conf | eos-sendlog
The file looks okay, there are no additional repositories.
What is the full output of
sudo pacman -Syu
It is exactly what I wrote (I translate it from my native language). Anyway I copy/paste it…
:: Sincronizzazione dei database in corso…
errore: impossibile sincronizzare tutti i database (impossibile bloccare il database)
Can you output in english? just add LC_ALL=C
before the command
Something like this:
LC_ALL=C sudo pacman -Syu
:: Synchronizing package databases...
saro is up to date
endeavouros is up to date
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
sar is up to date
xyne-any is up to date
:: Starting full system upgrade...
there is nothing to do
:: Synchronizing package databases…
error: failed to synchronize all databases (unable to lock database)
This problem is easy to fix, it’s not block but lock.
Just do this:
sudo rm /var/lib/pacman/db.lck
Ok! Now it’s upgrading! I am new to linux (I use it only for a year by now, starting with fedora and switched to endeavour and I still have to learn a loooooooot of things).
Thank you very much!
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.