Skip to content

FAQ

Frequently asked questions

Here are some frequently asked questions. We recommend that users read this, especially those using CachyOS or Arch-based distributions.

Software management FAQ

Here are all the questions related to the management of software on your system.

How can I fix the “unable to lock database” error in CachyOS?

Terminal window
sudo rm /var/lib/pacman/db.lck

How can I fix possible keyrings issues in CachyOS?

Terminal window
sudo rm -rf /etc/pacman.d/gnupg/
sudo pacman-key --init
sudo pacman-key --populate
sudo pacman-key --recv-keys F3B607488DB35A47 --keyserver keyserver.ubuntu.com
sudo pacman-key --lsign-key F3B607488DB35A47
sudo rm -R /var/lib/pacman/sync

How can I remove those annoying warnings while updating my system? Is it safe to update the system when this happens?

“warning: X package: local(1.0.1-1.1) is newer than Y repo (1.0.1-1)“

/_astro/update-warnings.paaercWp.png

Yes, it is safe to update the system.

To remove these errors, just update with ‘-Syuu’:

Terminal window
sudo pacman -Syuu