[SOLVED] Problem with /var. Something is filling up /var, esp. /lib/snapd/snaps.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Problem with /var. Something is filling up /var, esp. /lib/snapd/snaps.
I've been getting a warning about /var filling up. I can't figure out what is doing it or how to stop it.
Currently, when I run df -h
I get
/dev/sda3 4.6G 4.3G 0 100% /var
Can someone please point me in the right direction? Under /var, I'm seeing:
/var 4.3 GB
/lib 3.4 GB
/snapd 3.0 GB
/snaps 2.7 GB
Those numbers seem high to me, but I'm concerned about what might happen if I either empty or delete any of those directories. I also don't know what's filling them up.
Snaps can take up a *large* amount of disk space (one reason that I steer clear of such ways of installing software, personally). If you are going to continue using them, then I would advise you to increase the amount of disk space allocated to your root filesystem.
On a non-snap related note, given that you're running Ubuntu, you should be able to release some temporary space taken up by your normal package system by using:
Thanks, hydrurga. Okay. Can you tell me how to find out what's being installed via Snaps? I have a feeling it was something proprietary from Canonical, but I have no idea how to trace it. Or, to put it another way, how can I stop using Snaps?
Thanks, hydrurga. Okay. Can you tell me how to find out what's being installed via Snaps? I have a feeling it was something proprietary from Canonical, but I have no idea how to trace it. Or, to put it another way, how can I stop using Snaps?
Instructions on using snaps, including the listing of installed snaps:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.