Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I tried to update via the "update manager", but when I click on the update button it gives a low space error. I tried running sudo apt-get clean in a terminal but that also ends in vain.

How can I clean up enough space to update?

I am confused in which disk is Ubuntu installed and I don't know which disk I have to empty. I have a compaq CPU with a 1 gb ram and 250 gb hard disk and I currently dual boot my pc with windows 7 and ubuntu 10.10.

share|improve this question
    
Type the following command into a terminal and then post the output here sudo df -h It will tell you your available free space on the drive –  Mark Rooney Jun 21 '11 at 11:59
    
Do you know what your partition structure is? Do you have boot / and home in different partitions? I'm just wondering if one particular partition is short of space. –  Col Jun 21 '11 at 12:42
    
that wont matter, he has a folder with enough space and if he uses the live cd/usb it will work. Have you tried it Yash ? –  Alvar Jun 21 '11 at 16:15

2 Answers 2

You can see how much free space is available to Ubuntu with df -h as Mark Rooney suggests. If you're really not sure what is taking up space, try running the Disk Usage Analyzer (under Accessories in your Gnome menu) which will give you a graphical overview of what is taking up space.

You also have a Disk Utility in your System > Administration menu which you may be able to use to expand or reduce the size of your various partitions.

share|improve this answer
1  
sudo is not necessary for checking the filesystem size. Please do not use sudo as the default prefix for programs, otherwise you get used on using it, even on sudo malicious-command. –  Lekensteyn Jun 21 '11 at 13:44
    
Definitely: you should always look up a command to understand what it does, especially if you're going to run it as root yelp man:df will launch df's man page. However, I do get Permission denied errors on some directories when I run df without sudo. –  Amanda Jun 21 '11 at 13:58
    
Have you mounted a network share as root? If I run sudo df -h, I'm missing filesystems mounted using sshfs. –  Lekensteyn Jun 21 '11 at 14:41
1  
This is getting way, way off topic. We agree that sudo is not a default command prefix. –  Amanda Jun 21 '11 at 15:39
    
More to the point, sudo in this case is unnecessary. We don't care about the size of potentially restricted network shares, only the local fs where Ubuntu is installed. –  djeikyb Jan 6 '12 at 0:44

remove some photos, videos or music, then make a live cd (or live usb) and install 11.04 via that.

If you go into system monitor and looks at the "system" tab how much free disk space do you have?

I would suggest you download your version 32/64 bit and upgrade your current version to 11.04 via a live cd, here is the download.

share|improve this answer
    
Hardware memory is 991mb and available disk space is 15.8 gb and i dont store my documents in home folder , I save it in different disks.By the way how much memory do we need to update ? –  Yash Guwalani Jun 21 '11 at 11:55
    
you have enough, I think it's about 512 to make unity work smooth. –  Alvar Jun 21 '11 at 12:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.