alexheretic / aurto

Arch Linux AUR tool for managing an auto-updating local 'aurto' package repository
MIT License
134 stars 9 forks source link

aurto doesn't create db on init #95

Closed BrianAllred closed 5 months ago

BrianAllred commented 5 months ago

Run aurto init and then ll /var/cache/pacman/aurto, there is no repo DB file. This causes all subsequent aurto commands to fail.

alexheretic commented 5 months ago

I can reproduce. aurto init calls repo-add /var/cache/pacman/aurto/aurto.db.tar and this no longer seems to create it :thinking:

alexheretic commented 5 months ago

Looks like we can switch to manually creating it with (instead of repo-add)

tar acf /var/cache/pacman/aurto/aurto.db.tar.zst -T /dev/null
ln -rs /var/cache/pacman/aurto/aurto.db{.tar.zst,}
BrianAllred commented 5 months ago

Worked perfectly, thank you!