Wubi installed Ubuntu - not enough disk space

Asked by Daishun B.

I recently installed Ubuntu 10.04 LTS which I downloaded online instead of using the live CD. I had it dual booted right next to Windows 7. Windows 7 is close to full, however on the second hard drive is empty and I wanted to use Ubuntu on the second hard drive. After for awhile, I finally had Ubuntu for the very first time. Later, I was about to use Update Manager it says:

Not Enough Disk Space
The upgrade need total of 461M free space on disk '/'. Please free at least an additional 314M of disk space on '/'. Empty your trash and remove temporary packages of former installation using 'sudo apt-get clean'.

I did checked with Disk Analyzer and it says: Total filesystem capacity: 39.9 GB (used:6.1 GB available: 33.9 GB). I think this is impossible. How can it cannot put in a very little space of only 461M of free space while that hard drive have plenty of disk space of only 33.9 GB available?? Something is wrong with Update Manager. Please help me with this?

I did the command like 'sudo apt-get clean' and also did sudo apt-get autoremove. It still won't do any good removing it. Also, i did uninstalled OpenSource.org applications and many other applications. It still does not do much for me. Please help me with this? Thanks.
Daishun B.

Question information

Language:
English Edit question
Status:
Solved
For:
Wubi Edit question
Assignee:
No assignee Edit question
Solved by:
Daishun B.
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

boot to live CD and fsck the partition, may help

Revision history for this message
Daishun B. (redmannh) said :
#2

I did not use live CD to install Ubuntu. If you want me to do install it on CD, I can format the second drive and install Ubuntu all over again.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

not reinstall, just use it to check disk health

Revision history for this message
Daishun B. (redmannh) said :
#4

this is what it gives me:
fsck from util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
/host/ubuntu/disks/root.disk: recovering journal
Clearing orphaned inode 7904 (uid=0, gid=0, mode=0100644, size=14748781)
Clearing orphaned inode 15211 (uid=1000, gid=1000, mode=0100644, size=32768)
Clearing orphaned inode 14749 (uid=1000, gid=1000, mode=0100600, size=352)
Clearing orphaned inode 7669 (uid=0, gid=0, mode=0100755, size=88720)
Clearing orphaned inode 128057 (uid=0, gid=0, mode=0100644, size=4210200)
Clearing orphaned inode 8493 (uid=1000, gid=1000, mode=0100600, size=32)
Clearing orphaned inode 137434 (uid=0, gid=0, mode=0100644, size=4510088)
Clearing orphaned inode 15273 (uid=1000, gid=1000, mode=0100600, size=264)
Clearing orphaned inode 15272 (uid=1000, gid=1000, mode=0100600, size=1459)
Clearing orphaned inode 10852 (uid=1000, gid=1000, mode=0100644, size=32768)
Clearing orphaned inode 10451 (uid=1000, gid=1000, mode=0100600, size=252)
Clearing orphaned inode 15236 (uid=1000, gid=1000, mode=0100644, size=32768)
Clearing orphaned inode 6759 (uid=1000, gid=1000, mode=0100600, size=56)
/host/ubuntu/disks/root.disk: clean, 143835/175648 files, 611905/702464 blocks

It still does not do anything to help me to use the Update Manager. It keep saying this message now...:
The upgrade needs a total of 310M free space on disk '/'. Please free at least an additional 91.9M of disk space on '/'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

It did, it cleared some space as the file system isn't healthy.

You could also try removing old unused kernels. Each kernel takes up ~120Mb apiece

Revision history for this message
Daishun B. (redmannh) said :
#6

I did that too by typing:
dpkg -l | grep linux-image

then it showed this:
ii linux-image-2.6.32-24-generic 2.6.32-24.39 Linux kernel image for version 2.6.32 on x86
ii linux-image-generic 2.6.32.24.25 Generic Linux kernel image

It only showed 2 kernel image. So I removed 2.6.32.24.25. Is there any more old kernels that I missed?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

you only have 1 kernel, linux-image-generic is a meta package only.

Revision history for this message
Daishun B. (redmannh) said :
#8

I switched from Ubuntu to Kubuntu. I finally got it working for me this time. No more error about "not enough space." Thanks for your help anyway. Have a great evening!