0

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

user221478
  • 31
  • 1
  • 10

3 Answers3

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.

Quigi
  • 195
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 !

Fcmam5
  • 249
  • 2
  • 8
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

user221478
  • 31
  • 1
  • 10