Pamac: multilib.db: lock file missing

On doing pamac upgrade, I am getting this error:

Warning: multilib.db: lock file missing /var/tmp/pamac/dbs/db.lck                                                                                             
https://aur.manjaro.org/packages-meta-ext-v1.json.gz: Error opening file “/var/tmp/pamac-build-pyrole/packages-meta-ext-v1.json.gz.part”: File exists
Failed to synchronize AUR database

How to fix this?

This is a recurring issue with the CDN77 - something goes haywire in the certificate chain.

It seems the file is only partially downloaded and permissions is wrong - I have seen this form time to time.

sudo rm -rf /var/tmp/pamac*

Disable the check for AUR updates in Pamac preferences - or edit the file /etc/pamac.conf and comment the setting.

 $ cat /etc/pamac.conf
[...]
## When AUR support is enabled check for updates from AUR:
#CheckAURUpdates
[...]

Well I just ran pamac upgrade again and it works now without doing anything. Will keep the above in mind just for future.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.