1

I installed ubuntu 19.04 20 days ago. My root partition has a size of 20gb and it is almost full. Here is what Disk usage analyzer outputs. According to dua the folder /usr/lib is taking up the most space. I tried cleaning up with apt (clean,autoclean,autoremove),with bleachbit, removing old snap versions, general suggestions but have still little space left.

Should I resize my root partition?

Edit: After running dua as root I got a better view of what takes up space. /root/.cache takes up 4.8GB and /var/lib/snapd/cache take up 1.2GB. What are those folders?

10
  • 1
    Neither clean nor autoclean remove anything stored in /usr, so their lack of progress seems like expected behavior. Similarly, snaps aren't stored in /usr.
    – user535733
    Sep 26, 2019 at 8:34
  • The state in the pictures is after trying out the things I mentioned and thus they actually helped. Sep 26, 2019 at 8:35
  • Run Disk Usage Analyzer and see what's taking up your space in /usr. DUA is included with Ubuntu. Do a desktop search for it (Windows key)
    – user535733
    Sep 26, 2019 at 8:37
  • I already did that. One of the images attached are actually from dua. Sep 26, 2019 at 8:39
  • 1
    DUA will tell you what is taking up all your space. So what is taking up all your space?
    – user535733
    Sep 26, 2019 at 8:41

1 Answer 1

0

I was only getting a partial view from the disk usage analyser and what helped me get a full view was to execute it as root using:

sudo baobab

In my case I deleted /root/.cache (after login as superuser) and the snapd cache under /var/lib/snapd/cache which in total accounted for 7GB

2
  • 1
    sudo -H baobab Never ever start graphically programs only with sudo. it can break ownership from important files in your $HOME.
    – nobody
    Sep 26, 2019 at 11:54
  • I didn't know that.. But does baobab even change ownership, I thought it's meant for inspecting purposes. Sep 26, 2019 at 12:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .