Skip to main content

2 docs tagged with "clear-snap-data"

View all tags

Clear Snap cache

The Snap cache is stored at "/var/lib/snapd/cache/". Clearing the Snap cache is safe and can be done without causing any issues while running Snap.

Remove old Snap packages

This script removes all disabled Snap packages. Old and unused snaps get "disabled" by Snap. This is due to the snapd that keeps multiple revisions of the same package. Disabled state means that the binaries and services of the snap will no longer be available. But all the data is still available, and the snap can easily be enabled again.