Things were working well with my testing on CachyOS. However, while I was working on downloading packages from the AUR through Bauh package installer, I was unable to download Vorta because of the db.lck.
What I did before was I downloaded:
Rclone Browser, which was successful and worked.
Rclone UI flatpak and appimage, I was interested in using another GUI because it had more features and I could not understand the Rclone commands outside of the basics. For some reason, the Rclone UI flatpak and appimage failed to launch properly, so I uninstalled them both.
Then I tried another Rclone GUI, but had the same issue. I think it was the Rclone Shuttle or Kopia. Both strangely did not work, but the Rclone Browser did.
Anyway, I wanted to try Vorta in preparation of using B…
Things were working well with my testing on CachyOS. However, while I was working on downloading packages from the AUR through Bauh package installer, I was unable to download Vorta because of the db.lck.
What I did before was I downloaded:
Rclone Browser, which was successful and worked.
Rclone UI flatpak and appimage, I was interested in using another GUI because it had more features and I could not understand the Rclone commands outside of the basics. For some reason, the Rclone UI flatpak and appimage failed to launch properly, so I uninstalled them both.
Then I tried another Rclone GUI, but had the same issue. I think it was the Rclone Shuttle or Kopia. Both strangely did not work, but the Rclone Browser did.
Anyway, I wanted to try Vorta in preparation of using BorgBase as my future replacement for Google Drive. Vorta download started then terminated with a message about the db.lck.
I tried the following to remove the error:
Attempt the removal of db.lck.
sudo rm /var/lib/pacman/db.lck
This only returned with
rm: cannot remove '/var/lib/pacman/db.lck': Read-only file system
Then I tried to find the db.lck in the path. I found it, tried to delete it with administrator privileges. But that failed, too.
Looking up online, I found threads that discuss how to find Pacman process. I tried to find the Pacman process with:
ps -aux | grep pacman
But this only returns with:
penwryt+ 13674 0.0 0.0 6956 4148 pts/0 S<+ 18:01 0:00 grep --color=auto pacman
Which I honestly cannot make head or tails out of.
I tried looking into permissions:
.--------- 0 root 4 Nov 22:18 /var/lib/pacman/db.lck
Of which I have no idea how to change.
I tried rolling back to a snapshot before doing all the downloads. The db.lck stayed. I tried using CachyOS Hello’s Remove db lock, did not work.
I tried sudo pacman -Syu, did not work and got an error. I tried sudo pacman -Syy, still got an error.
But, yeah, the solution I’m looking for is how to resolve this and prevent it. I may have corrupted or interrupted something and I hope a fix would avoid me having to reinstall CachyOS.
Anyone has any suggestions, please let me know!