0

This question already has an answer here:

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

marked as duplicate by Mark Kirby, muru, Eric Carvalho, Fabby, hg8 Dec 24 '15 at 10:54

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 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
2

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.

1

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

and

sudo apt-get autoremove

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

  • 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
0
sudo -i
apt-get autoremove
apt-get clean
apt-get install --reinstall deborphan aptitude
deborphan
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

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