3

Where do I begin... I can hardly do anything on Ubuntu 12.04. I am very close to removing and returning to Windows. First I could not load it because the graphics appeared to be running low but somehow that stopped happening and I could log on. Now I can not download anything or I get this message

Cannot write: No space left on device.

I tried trouble shooting this issue but every time I try and fix the problem I am blocked by this message

E: Write error - write (28: No space left on device)
E: Can't mmap an empty file
E: Failed to truncate file - ftruncate (9: Bad file descriptor)
E: The package lists or status file could not be parsed or opened.
$ OLD=$(ls -tr /boot/vmlinuz-* | head -n -2 | cut -d- -f2- | awk '{print "linux-image-" $0}')

Ubuntu is also running incredibly slow and I cant get anything done! Please help this is driving me mad!

jokerdino
  • 41,732

2 Answers2

2

I think, you have downloaded too much software in your Ubuntu. I suggest you to copy all of those packages in other partition of the disk or in a USB drive or DVD. Then use this command

 sudo apt-get clean

to clear the package cache. It will quickly give you some more space

As you are using Wubi to install Ubuntu, You may try these solution posted here:

Or you may try to move the Wubi installation to a larger partition with regular installation

Anwar
  • 77,855
0

Try to clean the cache using

sudo rm -rf /var/cache/apt/archives/*.deb
nanofarad
  • 20,906