Package: apt Version: 0.5.4 Severity: normal File: /usr/bin/apt-get This message makes it look like there is something wrong with the package and never reveals the problem it /var doesn't have enough disk space.
# apt-get install kernel-image-2.4.21-1-k7 Reading Package Lists... Done Building Dependency Tree... Done The following NEW packages will be installed: kernel-image-2.4.21-1-k7 0 packages upgraded, 1 newly installed, 0 to remove and 677 not upgraded. Need to get 0B/10.9MB of archives. After unpacking 29.6MB will be used. (Reading database ... 218349 files and directories currently installed.) Unpacking kernel-image-2.4.21-1-k7 (from .../kernel-image-2.4.21-1-k7_2.4.21-1_i386.deb) ... You are attempting to install an initrd kernel image (version 2.4.21-1-k7) This will not work unless you have configured your boot loader to use initrd. (An initrd image is a kernel image that expects to use an INITial Ram Disk to mount a minimal root file system into RAM and use that for booting). As a reminder, in order to configure lilo, you need to add an 'initrd=/initrd.img' to the image=/vmlinuz stanza of your /etc/lilo.conf I repeat, You need to configure your boot loader. If you have already done so, and you wish to get rid of this message, please put `do_initrd = Yes' in /etc/kernel-img.conf. Note that this is optional, but if you do not, you'll continue to see this message whenever you install a kernel image using initrd. Do you want to stop now? [Y/n] Ok, Aborting dpkg: error processing /var/cache/apt/archives/kernel-image-2.4.21-1-k7_2.4.21-1_i386.deb (--unpack): subprocess pre-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/kernel-image-2.4.21-1-k7_2.4.21-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) OK, if it is a dpkg bug, please reassign this bug there. -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux debian 2.4.20-k7 #1 Tue Jan 14 00:29:06 EST 2003 i686 Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5 Versions of packages apt depends on: ii libc6 2.3.1-10 GNU C Library: Shared libraries an ii libstdc++2.10-glibc2.2 1:2.95.4-15 The GNU stdc++ library -- no debconf information

