I need to free some space on my drive:

Not enough free disk space:
The upgrade has aborted. The upgrade needs a total of 2,807 M free space on disk '/'. Please free at least an additional 1,396 M of disk space on '/'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'. 

It's different from How do I free up disk space?, as the solutions for that question weren't sufficient

  • Have you tried either of the solutions mentioned? – Charles Green Dec 22 '15 at 17:53
  • 2
    You'll have to explain how they are not sufficient. Edit your post to include the output of lsblk and df -h. – muru Dec 23 '15 at 4:29
  • I have written the answer. – user221478 Dec 23 '15 at 6:31

The program baobab presents a graphic tree diagram of what uses how much space. I find it useful for identifying where I wasted space, in particularly in my home directory.

| improve this answer | |

Be careful "/" is your root aka main directory that contains entire system files & (Read more at Wikipedia) Removing anything there may harm your system. "home" contains user files & configuration, you can clean it up by removing unnecessary files & programs that you don't need. And by removing packages by

sudo apt-get autoclean


sudo apt-get autoremove

You can use Bleachbit that will help by cleaning up your system !

| improve this answer | |
  • 1
    And it could delete really critical stuff. – Star OS Dec 22 '15 at 18:56
  • 1
    No, do not use bleachbit. Linux is good at keeping itself clean so if you are low on disk space, it's your fault not your system's. Bleachbit deletes important things, which is bad and redundant. – cat Dec 22 '15 at 21:00
sudo -i
apt-get autoremove
apt-get clean
apt-get install --reinstall deborphan aptitude
aptitude --purge remove `deborphan`
deborphan –-libdevel
aptitude --purge remove `deborphan --libdevel`
dpkg --purge `COLUMNS=300 dpkg -l | egrep "^rc" | cut -d' ' -f3`
OLDCONF=$(dpkg -l|grep "^rc"|awk '{print $2}')
aptitude purge $OLDCONF

A portion of the answer written in How do I get free space? The trash can is empty

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.