1

I already have a hook to delete old cached packages using paccache every time pacman is run. It leaves maximum 3 releases of each package in cache.

This behaviour is good but I have a few huge packages (for example texlive-fontsextra and texlive-core using together 1,6 GB) for which I don't want to keep so many old releases.

Is there a way to tell paccache to keep only 1 release for these specific packages and 3 for the others?

I have tried paccache -rk1 texlive, without success.

closed as off-topic by DarkHeart, Stephen Rauch, Jeff Schaller, G-Man, EightBitTony Dec 19 '17 at 7:41

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – DarkHeart, Stephen Rauch, Jeff Schaller, G-Man, EightBitTony
If this question can be reworded to fit the rules in the help center, please edit the question.

  • What error message is returned? (It works for me) – DarkHeart Dec 18 '17 at 4:09
  • The solution was very easy: paccache -rk1 texlive-core and paccache -rk1 texlive-fontsextra. – Aurelien Dec 18 '17 at 15:21
  • 1
    So it was a typo - you didn't use the correct package name? – DarkHeart Dec 19 '17 at 2:06
  • I was hoping that using texlive would find both packages, but it seems you have to use the full package name. I should have tried it before asking. – Aurelien Dec 19 '17 at 9:57

Browse other questions tagged or ask your own question.