PDA

View Full Version : [ubuntu] installing updates not enough space



Glenn Owen
February 7th, 2010, 05:04 AM
Hi, I have installed Ubuntu and all is working Ok except when I try to add the suggested updates it is telling me I do not have enough free space. When I set it up I gave Ubuntu a 10GB partition but it does not seem to have worked. How can I add the suggested updates.
thanks Glenn

mikewhatever
February 7th, 2010, 07:08 AM
Well, you need to free some space or change the size of Ubuntu partition.

Try the following to get rid of cached debs and unused dependencies:

sudo apt-get clean
sudo apt-get autoremove

then post the output of:

df -h

Glenn Owen
February 7th, 2010, 11:38 PM
where do I type the commands you mentioned

drs305
February 7th, 2010, 11:41 PM
where do I type the commands you mentioned

Open a terminal: Applications, Accessories, Terminal. It's best to paste commands you get on the forums to avoid typos. CTRL-C to copy outside a terminal (just like Windows), but inside a terminal you have to include "SHIFT", so CTRL-SHIFT-V to paste into a terminal. Even easier - a middle mouse click should paste it!

Glenn Owen
February 7th, 2010, 11:48 PM
thanks

Glenn Owen
February 8th, 2010, 12:08 AM
when I open the terminal and type sudo apt-get clean I get the following result

sudo: unable to resolve host
E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the download directory

any help would be great thanks

mikewhatever
February 8th, 2010, 06:48 AM
Close all open windows other then Terminal, and try again.