Re: Upgrade of kernel fails due to lack of space
2007/5/21, Uwe Dippel <email@example.com>:
Raffaele Morelli wrote:
> 2007/5/16, Uwe Heinz Rudi Dippel <Udippel@uniten.edu.my
> I know, you can always scold me for not enough space. But this is an
> old box with a small hard disk:
> df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/hda7 133M 93M 33M 74% /
> tmpfs 126M 0 126M 0% /lib/init/rw
> udev 10M 60K 10M 1% /dev
> tmpfs 126M 0 126M 0% /dev/shm
> /dev/hda1 89M 16M 69M 19% /boot
> /dev/hda10 1.4G 1.1G 185M 86% /home
> /dev/hda6 89M 4.1M 80M 5% /tmp
> /dev/hda8 633M 232M 368M 39% /usr
> /dev/hda9 721M 207M 475M 31% /var
> With too little space (in '/', '/lib', I guess):
> Are you upgrading from sarge to etch?
No. I did this already and it went through smoothly.
> try cleaning apt cache using apt-get clean if you never did before.
Done, quite a few times (see my /var has 475M available).
I guess it is /lib that has insufficient space. Are there any official
requirements for a proper kernel update ? If not, I call this a bug.
Any other good suggestions, please ?
With 33Mb in / there's really poor room to work, and a kernel install requires space for modules, around 50 for me.
du -sh /lib/modules/*
Try to remove unused/unnecessary applications.