update && upgrade

Jeffrey Walton noloader at gmail.com
Wed Feb 14 18:32:38 UTC 2024


On Wed, Feb 14, 2024 at 1:13 PM Oliver Grawert <ogra at ubuntu.com> wrote:
>
> hi,
> Am Mittwoch, dem 14.02.2024 um 12:34 -0500 schrieb Jeffrey Walton:
> > On Wed, Feb 14, 2024 at 11:55 AM Colin Law <clanlaw at gmail.com> wrote:
> > >
> > > On Wed, 14 Feb 2024 at 16:42, Jeffrey Walton <noloader at gmail.com>
> > > wrote:
> > > >     rm -rf /var/snap/*
> > > >     reboot
> > >
> > > My /var/snap folder contains about 60MB
> >
> > 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 ?
>
> might be that they have bugs or some such, so it would be good to track
> this down and report them to the packagers, as usually /var/snap is
> rather empty on a default ubuntu install and wont fil  up on its own
> either ...

Well, I don't use Snap. Everything in /var/snap was installed by
Ubuntu. I did not install anything.

I think what makes this come to a head is, the VMs will bake for a
year or two before the problem surfaces. I guess that's Snap
installing (and never deleting) endless versions of applications.

A good behavior for Snap might be, Snap should stop using disk storage
when free disk space is less than 1 GB. That should allow Apt updates
and upgrades to succeed.

Jeff




More information about the ubuntu-users mailing list