Enhancement: Support paccache's -u switch
Greetings!
Aura's "-Cc X" switch combination allows it to currently mimic paccache -rk X, where X is the amount of last versions of packages to be kept in the package cache.
It would be neat if aura would also gain compatibility with paccache's -u option, where only non-installed package archives are checked and removed. (i.e. paccache -ruk 0 removes all archives of currently not installed packages).
Example:
aura -Cuc 0 = remove all versions of currently not installed packages from the cache.
Hi, can you check the -n suboption for -Cc and see if that would suffice?
Heya!
-Cn is not a good replacement, because without manually creating a package record, it just purges your entire cache. I just tested it. :p
Sorry, I had assumed you'd have an auto-saved package state so that that wouldn't happen.
Note also that these options exist: https://fosskers.github.io/aura/pacman.html#removing-the-tarballs-of-uninstalled-packages
Hi there, any thoughts on those other options I linked?
Greetings! Sorry, I saw the links late. -Sc has the problem that it only keeps the archives of the currently installed versions - it does not allow you to keep, say, the last 2 versions instead, which is what aura -Cc 2 does. But -Cc also keeps the archives of non-installed packages, and we're back to square one :)
Thanks I'll consider this.