alexheretic / aurto

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

Can't remove package #94

Closed BrianAllred closed 6 months ago

BrianAllred commented 6 months ago

image

image

BrianAllred commented 6 months ago

Fixed by running repo-remove ./aurto.db.tar.gz aurutils and then aurto add aurutils. No idea how it got in that state.

Edit: I lied, I can manually remove packages from the aurto repo, but aurto itself can not. It always says "not found".

alexheretic commented 6 months ago

aurto remove $pkg runs repo-remove /var/cache/pacman/aurto/aurto.db.tar "$pkg"

If it fails it'll print "not found".

What output do you get if you run repo-remove /var/cache/pacman/aurto/aurto.db.tar aurutils?

alexheretic commented 6 months ago

Ah I think I see the issue, aurto uses aurto.db.tar and you have aurto.db.tar.gz. Aurto should use the symlink aurto.db instead, which I assume you have.

Previously aurto init would create aurto.db.tar so perhaps you have .gz because you manually interacted with it?

BrianAllred commented 6 months ago

Yes, I was messing around with repo-add trying to get a repo database to appear, so it seems I didn't have the correct symlinks. Your solution from #95 fixes this issue. Thanks!