Root running out of space

Asked by Usiya

Hi,

I get the following message when i want to install updates. "The upgrade needs a total of 340M free space on disk '/'. Please free at least an additional 124M of disk space on '/'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'."

I am running Ubuntu 10.10 and i am knew to Linux. I am also running Win XP on the same laptop. How do i increase size on my "/"?

Please advice.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gparted Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

lsb_release -a; uname -a; echo; dpkg -l | grep linux-image-2

What is output ?

Revision history for this message
Usiya (siya-tukwayo) said :
#2

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
Linux ubuntu 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 i686 GNU/Linux

ii linux-image-2.6.35-22-generic 2.6.35-22.33 Linux kernel image for version 2.6.35 on x86/x86_64

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

ok no chance of saving space here. You only have one kernel which is the MINIMUM. You can remove openoffice to save 300Mb. You can also clear out temporary internet caches in yourbrowser to save space (assuming you DON'T have a separate /home partition).

You can remove openoffice with:

sudo apt-get --purge remove openoffice*

and you will free up a LOT of space (openoffice is massive). You can also remove evolution if you wish but don't remove evolution-data-server-common as it is a (confusing) dependency of gnome-panel.

Removing other apps you don't use can also save space. Clearing caches will be a great way though as they can get big. Also running:

sudo apt-get clean

Can save tonnes of space if you have never ran it.

Revision history for this message
LtWorf (tiposchi) said :
#4

Also installing localepurge can save some space

Revision history for this message
Usiya (siya-tukwayo) said :
#5

I have plenty of space on my hardrive. I see no need for me to delete some programs. I need to find a way of increasing the size of my partition. How can i increase my partition?

Revision history for this message
mycae (mycae) said :
#6

Usiya: to increase your partition size, you have to decrease the size of others. You can use Gparted to do this, but note that resizing partitions should not be done unless you have your data backed up. It can go wrong.

Revision history for this message
mycae (mycae) said :
#7

oh, also, gparted should be run from a liveCd, as you cannot alter mounted partitions, such as your / partition, which needs to be mounted to run your OS.

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

you can also remove old kernels and clear web cache if you need space. You can also remove unused apps (especially gimp and evolution if you don't use them)

Revision history for this message
delance (olivier-delance) said :
#9

Please post result of following command
   cd /var/cache; df -h .; du -s * | sort -n

Can you help with this problem?

Provide an answer of your own, or ask Usiya for more information if necessary.

To post a message you must log in.