-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
repo-add script throws error, fails to add/update packages in local repo #3
Comments
that happens, because you don't have files db. which is expected to have in proper environment of local repo I was able to reproduce when I copy only 'db' and tried to perform action on db (such as repo-remove) -> exactly that happens because it expects 'files' db which doesn't exist. You can fix that by recreating db manually once ( to have proper db with 'db' and 'files'):
|
I've tried recreating the db manually per the instructions you gave, and while this served to temporarily solve the problem, upon attempting to update another AUR package via the standard update process the issue has reoccurred. |
$ ls -l /var/lib/repo/aur/aur*
lrwxrwxrwx 1 daedalus daedalus 13 Jul 17 08:41 /var/lib/repo/aur/aur.db -> aur.db.tar.gz
lrwxrwxrwx 1 daedalus daedalus 17 Jul 17 08:41 /var/lib/repo/aur/aur.db.sig -> aur.db.tar.gz.sig
-rw-r--r-- 1 daedalus daedalus 234916 Jul 17 08:41 /var/lib/repo/aur/aur.db.tar.gz
-rw-r--r-- 1 daedalus daedalus 119 Jul 17 08:41 /var/lib/repo/aur/aur.db.tar.gz.sig
lrwxrwxrwx 1 daedalus daedalus 16 Jul 17 08:41 /var/lib/repo/aur/aur.files -> aur.files.tar.gz
lrwxrwxrwx 1 daedalus daedalus 20 Jul 17 08:41 /var/lib/repo/aur/aur.files.sig -> aur.files.tar.gz.sig
-rw-r--r-- 1 daedalus daedalus 1988165 Jul 17 08:41 /var/lib/repo/aur/aur.files.tar.gz
-rw-r--r-- 1 daedalus daedalus 119 Jul 17 08:41 /var/lib/repo/aur/aur.files.tar.gz.sig As you can see the 'files' db definitely exists. |
I use paru's LocalRepo and Chroot features to create clean builds of AUR packages. When CachyOS's pacman packages was updated to begin shipping the Rust rewritten version of the repo-add script, this process broke and left me unable to update AUR packages without manual workarounds. See log below (build process omitted:
This error does not occur with upstream pacman's repo-add bash script.
The text was updated successfully, but these errors were encountered: