update && upgrade

Paul Smith paul at mad-scientist.net
Wed Feb 14 19:16:51 UTC 2024


On Wed, 2024-02-14 at 13:32 -0500, Jeffrey Walton wrote:
> > > Mine are usually over 2 GB, and producing non-sensical results
> > > with `df` like a 12 GD disk is using 13 GB. That's when I know to
> > > go in a whack the /var/snap directory.
> > 
> > well, what non-desktop snaps did you install to make it use that
> > much ?
> 
> Well, I don't use Snap. Everything in /var/snap was installed by
> Ubuntu. I did not install anything.

My system here is still running Ubuntu 20.04 so almost 4 years without
an upgrade or reinstall, and I use a few extra snaps such as ccls,
Emacs, and valgrind as well as the system snaps.  I refresh regularly.

My /var/snap is tiny:

  ~$ snap list | wc -l
  18

  ~$ sudo du -sh /var/snap
  25M     /var/snap

Maybe next time you notice it to be so large you should investigate
further first (for example, find out WHICH snap is using all the space
via "du -sh /var/snap/*" or similar) before tossing everything.



More information about the ubuntu-users mailing list