Every time update manager prompts an update I get a message saying that there is not enough space available, however the partition with Ubuntu installed has over 10 GB of free space available.
I'm lost as to what needs to be done.
df -h
returns:
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 5.6G 5.1G 237M 96% /
udev 2.0G 4.0K 2.0G 1% /dev
tmpfs 786M 792K 786M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 332K 2.0G 1% /run/shm
/dev/sda6 20G 6.7G 13G 34% /host
/dev/sda5 175G 120G 56G 69% /media/DATA
It would be great if someone could help me out on how to solve this problem. I'm a newbie to Ubuntu.
Best Answer
Your
/
partition is full, 96% used, 237Mb free space. That is where your packages will be downloaded and installed.From what I see this is a Wubi install. You can resize your Wubi partition using the method described on this post
Basically you need to follow these to the letter:
Get
root
privilegessudo -i
Check how much space you have in your Windows disk
df -h /host
Create a new virtual disk bigger than the one you have at the moment, lets say 10GB
(change the count= parameter as appropriate)
Format the new disk
mkfs.ext4 -F new.disk
Mount and copy files to new virtual disk
Reboot into Windows and rename the file
\ubuntu\disks\root.disk
to\ubuntu\disks\old_root.disk
.Rename the file
\ubuntu\disks\new.disk
to\ubuntu\disks\root.disk
.Reboot back into Ubuntu and check if everything is working. When you are 100% sure that everything is on the right places you can login to Windows and delete the file
old_root.disk
to get those 5Gb back.(
Source
)