root partition disk is full, how to clear it?

13,769

Solution 1

You could use baobab, a disk usage analyzer. It is installed by default

It will help you troubleshoot your problem.

https://wiki.gnome.org/Apps/Baobab

Solution 2

try sudo apt-get autoclean to remove the apt cache. It will give you some more space.

Share:
13,769

Related videos on Youtube

user88710
Author by

user88710

Updated on September 18, 2022

Comments

  • user88710
    user88710 almost 2 years

    I have a brand new System76 laptop w/15.04, 250G SSD as root partition. I was playing around with pycharm, doing a tutorial when i get a pop-up saying no disk space remaining. I close out of pycharm and open file manager, sure enough, my ssd is full. I've rebooted, but still have my root part full.

    How do i find out whats filling it up and clear it out??

    UPDATE: I used a 'du -k / | sort -n' to find the largest files being used on the disk, then deleted them.

    • Eduardo Cola
      Eduardo Cola about 9 years
      You can remove: 1) Older or unused kernels (they use quite a few space); 2) Unused programs; 3) You could clear your home folder; 4) Always use Ctrl+H in your file manager to show hidden directories/folders.
    • user88710
      user88710 about 9 years
      this is a brand new machine, no older kernels, very few programs installed, home folder is practically empty...
    • user88710
      user88710 about 9 years
      don't have gparted installed, and cant install it. (tried apt-get install gparted, got: "The package lists or status file could not be parsed or opened"
    • Eduardo Cola
      Eduardo Cola about 9 years
      Did you use this partition before installing Ubuntu?
    • user88710
      user88710 about 9 years
      I didn't do the install, System76 did.
    • Eduardo Cola
      Eduardo Cola about 9 years
      But anyway, did you use the partition before Ubuntu?
    • user88710
      user88710 about 9 years
      It came to me with ubuntu installed, so, no, i never used it before ubuntu... FYI- i cant post a screenshot because i have no reputation....
    • Eduardo Cola
      Eduardo Cola about 9 years
      Do you have an Ubuntu Live CD?
    • Lawrence D'Oliveiro
      Lawrence D'Oliveiro almost 9 years
      THIS QUESTION IS NOT A DUPLICATE. There is a problem with Ubuntu 15.04 filling up the /var/lib/apt/lists/partial/ directory. This has struck others as well. I will post the answer if the question is reopened.
  • anilbey
    anilbey almost 7 years
    it freed 1.5GB in my machine!
  • SDsolar
    SDsolar over 6 years
    My God, Magnum. I needed this name to be able to use it with sudo. Thanks much.