Free up space on snap system

written by Admin


Posted on 2023-06-08


Problem

My Ubuntu server filesystem is full and I want to free up disk space removing unused snaps

Solution

Execute
$ snap list --all
...and remove all snaps marked "disabled" using
$ sudo snap remove [pkg] --revision=[rev]
(put in [pkg] the package name and in [rev] the revision that you find in the list)

Feedback


Comments

Leave a Comment:

Search

Welcome

We need collaboration and a real boost from our community: write us an email for every trick you find!

This website is a sysadmin swiss-knife for every-day Windows, Linux and Mac administration and troubleshooting

Our database grows if YOU send us your tips and trick as soon as you find them every day!