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): # apt-get upgrade Reading package lists... Done Building dependency tree... Done The following packages will be upgraded: linux-image-2.6.18-4-686 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/16.3MB of archives. After unpacking 1815kB disk space will be freed. Do you want to continue [Y/n]? y Preconfiguring packages ... (Reading database ... 19966 files and directories currently installed.) Preparing to replace linux-image-2.6.18-4-686 2.6.18.dfsg.1-12 (using .../linux-image-2.6.18-4-686_2.6.18.dfsg.1-12etch2_i386.deb) ...The directory /lib/modules/2.6.18-4-686 still exists. Continuing as directed. Done. Unpacking replacement linux-image-2.6.18-4-686 ... dpkg: error processing /var/cache/apt/archives/linux-image-2.6.18-4-686_2.6.18.dfsg.1-12etch2_i386.deb (--unpack): failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during `./lib/modules/2.6.18-4-686/kernel/sound/pci/snd-es1938.ko': No space left on devicedpkg-deb: subprocess paste killed by signal (Broken pipe) Running postrm hook script /sbin/update-grub. Your /etc/kernel-img.conf needs to be updated. Read grub's NEWS.Debian[1] file and follow its instructions. 1. /usr/share/doc/grub/NEWS.Debian.gz You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub instead! Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /vmlinuz-2.6.18-4-686 Found kernel: /vmlinuz-2.4.27-2-386 Updating /boot/grub/menu.lst ... done Errors were encountered while processing: /var/cache/apt/archives/linux-image-2.6.18-4-686_2.6.18.dfsg.1-12etch2_i386.debE: Sub-process /usr/bin/dpkg returned an error code (1) VoilĂ , what can I do ? - I don't feel like deleting the only other kernel (2.4.27); it might become unbootable: # dpkg -l | grep kernel ii kernel-image-2.4.27-2-386 2.4.27-10sarge1 Linux kernel image for version 2.4.27 on 386ii kernel-image-2.6-686 2.6.18+6 Linux 2.6 image on PPro/Celeron/PII/PIII/P4ii linux-image-2.6-686 2.6.18+6 Linux kernel 2.6 image on PPro/Celeron/PII/Pii module-init-tools 3.3-pre4-2 tools for managing Uwe P.S.: Please, Cc: to me !