You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. Just started using this tool and it's very helpful. I was wondering if there is an option to remove all AUR packages not currently installed on my system. This would be what the question Do you want to remove all other AUR packages from cache? when running yay -Sca does.
For example, I download an AUR package. Then I remove it. However, the directory for the AUR package still exists in the cache. Is there an option to remove these directories? If not, I think this would need to be implemented a bit differently than paccache, as the yay cache stores each package inside its own directory (and I don't think paccache has the logic for handling that).
The biggest reason I’d want this is to use it within a libalpm hook. Another possible solution is also running yay -Sca in a hook and only saying yes to the first question.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello. Just started using this tool and it's very helpful. I was wondering if there is an option to remove all AUR packages not currently installed on my system. This would be what the question
Do you want to remove all other AUR packages from cache?
when runningyay -Sca
does.For example, I download an AUR package. Then I remove it. However, the directory for the AUR package still exists in the cache. Is there an option to remove these directories? If not, I think this would need to be implemented a bit differently than paccache, as the yay cache stores each package inside its own directory (and I don't think paccache has the logic for handling that).
The biggest reason I’d want this is to use it within a libalpm hook. Another possible solution is also running yay -Sca in a hook and only saying yes to the first question.
Beta Was this translation helpful? Give feedback.
All reactions