Stable branch and /var/cache/pacman/pkg/

I’m lazy and allways clean “/var/cache/pacman/pkg/” after system updates.

I do backups every night with backintime plus clonezilla every x weeks.

I do this since starting with Manjaro stable branch in year 2017(?).
Never had any troubles!

What trouble can you think of i could face doing like this?

Stable branch has the installed/updated packages until next “official updates”!

Curious about your answers …

Just for the record, you don’t have to do that manually. Just look at… :arrow_down:

man paccache

I also clean out the whole cache after updating, via… :arrow_down:

sudo paccache -rvk0

I also keep backups, via timeshift.

If you empty the cache, then you won’t be able to downgrade in the event of a botched update, but I prefer not to downgrade anything anyway, and should that ever be needed nevertheless ─ which I don’t expect to ever be the case, but never say never ─ then I can just as easily restore a backup.

Just my two Eurocents. Your mileage may vary, and all that. :slight_smile:

1 Like

Also, there’s a systemd timer that uses pamac to clean cache, pamac-cleancache.

systemctl list-timers

Not using Manjaro as long as @JohnML, but when pamac was upgraded to 10 and there were problems, I was able to easily downgrade to 9. Like anything else, it’s belts-and-suspenders. The cost (disk space, time) is weighed against the “what-if’s”, and varies per user.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.