No space left on disk

Associate
Joined
18 Mar 2007
Posts
291
Hey,

I recently installed eclipse on my eeePC 701 and it turns out that it has taken up what was left of my disk space.

Trying to uninstall it by:
Code:
sudo apt-get remove eclipse

doesn't work saying:
Code:
E: Unable to write mmap - msync (28 No space left on device)
E: The package lists or status file could not be parsed or opened.

I can't even delete things from my desktop by pressing the delete key. It gives the error:

Code:
"Failed to copy "/home/rob/Desktop/x.txt" to "trash:///x.txt".

Error creating directory 'home/rob/.local/share/Trash/info': No space left on device.

Any idea how I can free up some space and get rid of eclipse without formatting?

I am running xUbuntu btw.

Cheers, Rob
 
Press shift key and delete, will actually delete it instead of moving to trash can.
Or use console to rm it.
I dunno specifically about ubuntu, but there will probably be some package cache somewhere that no doubt is taking a decent chunk of space.
 
This is why we use separate partitions for:

/
/home
/tmp
/usr
/var
/boot

When /usr fills up because you didn't check 1st, stuff like apt still works.

And on such a small machine you need to be able to trade space between them easily, which is why we use LVM.
 
sudo apt-get autoremove
sudo apt-get purge

should delete all old .deb packages and uninstall any that you aren't using. That'll save you a good few Mb's
 
If you type df (short for disk free) in a terminal it will also tell you which partition is full. As mentioned above, emptying the trash and removing the apt cruft should sort things out.

matt@ubuntu:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 28521112 10440804 16642896 39% /
varrun 517556 112 517444 1% /var/run
varlock 517556 0 517556 0% /var/lock
udev 517556 76 517480 1% /dev
devshm 517556 48 517508 1% /dev/shm
lrm 517556 39780 477776 8% /lib/modules/2.6.24-21-generic/volatile
/dev/sda1 120045680 17414440 102631240 15% /media/disk
gvfs-fuse-daemon 28521112 10440804 16642896 39% /home/matt/.gvfs
matt@ubuntu:~$
 
Back
Top Bottom