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
After doing a bit of reading, including the man pages, I'm still a bit confused about a couple of things.
Firstly, here's what I'm trying to do:
Avoid keeping more than one old version of a package cached on my system
Avoid keeping any removed packages on my system
Avoid duplicate source files on my system
From what I read from issues #850 and #925, here is what I think I can do:
Uncomment CleanAfter from paru.conf to run git clean on the clone directory
Set PKGDEST in makepkg.conf to the pacman cache (/var/cache/pacman/pkg/)
Use paccache to manage the cached packages
What I'm not quite clear on is:
Does paru create a new directory for each new version of an AUR package, or just pull changes from upstream? Essentially, is only the latest version cached by default, or are all versions?
Does CleanAfter attempt to run pacman -Sc as well or clean the pacman cache?
Is CleanAfter sufficient to retain only the latest source files?
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
After doing a bit of reading, including the
manpages, I'm still a bit confused about a couple of things.Firstly, here's what I'm trying to do:
From what I read from issues #850 and #925, here is what I think I can do:
CleanAfterfromparu.confto rungit cleanon the clone directoryPKGDESTinmakepkg.confto thepacmancache (/var/cache/pacman/pkg/)paccacheto manage the cached packagesWhat I'm not quite clear on is:
parucreate a new directory for each new version of an AUR package, or justpullchanges from upstream? Essentially, is only the latest version cached by default, or are all versions?CleanAfterattempt to runpacman -Scas well or clean thepacmancache?CleanAftersufficient to retain only the latest source files?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions