[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#346281: linux-image-2.6.15-1-686: debconf question about /lib/modules/2.6.15-1-686 even if no kernel is installed



Package: linux-image-2.6.15-1-686
Version: 2.6.15-1
Severity: normal

I installed linux-headers-2.6.15-1-686 and then linux-image-2.6.15-1-686
and I get the debconf question about "You are attempting to install a
kernel image (version 2.6.15-1-686). However, the directory
/lib/modules/2.6.15-1-686 still exists."

The directory /lib/modules/2.6.15-1-686 exists but only contains
(because linux-headers-2.6.15-1-686 is already installed):
$ ls -al /lib/modules/2.6.15-1-686
total 8
drwxr-xr-x   2 root root 4096 2006-01-06 19:04 .
drwxr-xr-x  14 root root 4096 2006-01-06 19:04 ..
lrwxrwxrwx   1 root root   35 2006-01-06 19:04 build -> /usr/src/linux-headers-2.6.15-1-686

Maybe the test could be improved to display the debconf question only if
/lib/modules/2.6.15-1-686/kernel/ exists or, alternatively, if
/lib/modules/2.6.15-1-686/build is _not_ the only file in
/lib/modules/2.6.15-1-686/

Thanks,

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

-- debconf information:
  linux-image-2.6.15-1-686/postinst/kimage-is-a-directory:
  linux-image-2.6.15-1-686/preinst/overwriting-modules-2.6.15-1-686: true
  linux-image-2.6.15-1-686/postinst/depmod-error-initrd-2.6.15-1-686: false
  linux-image-2.6.15-1-686/postinst/bootloader-error-2.6.15-1-686:
  linux-image-2.6.15-1-686/postinst/bootloader-test-error-2.6.15-1-686:
  linux-image-2.6.15-1-686/preinst/lilo-has-ramdisk:
  linux-image-2.6.15-1-686/preinst/failed-to-move-modules-2.6.15-1-686:
  linux-image-2.6.15-1-686/postinst/old-system-map-link-2.6.15-1-686: true
  linux-image-2.6.15-1-686/preinst/abort-install-2.6.15-1-686:
  linux-image-2.6.15-1-686/preinst/abort-overwrite-2.6.15-1-686:
  linux-image-2.6.15-1-686/preinst/bootloader-initrd-2.6.15-1-686: true
  linux-image-2.6.15-1-686/prerm/would-invalidate-boot-loader-2.6.15-1-686: true
  linux-image-2.6.15-1-686/preinst/lilo-initrd-2.6.15-1-686: true
  linux-image-2.6.15-1-686/postinst/old-initrd-link-2.6.15-1-686: true
  linux-image-2.6.15-1-686/postinst/old-dir-initrd-link-2.6.15-1-686: true
  linux-image-2.6.15-1-686/preinst/already-running-this-2.6.15-1-686:
  linux-image-2.6.15-1-686/preinst/initrd-2.6.15-1-686:
  linux-image-2.6.15-1-686/postinst/depmod-error-2.6.15-1-686: false
  linux-image-2.6.15-1-686/postinst/create-kimage-link-2.6.15-1-686: true
  linux-image-2.6.15-1-686/prerm/removing-running-kernel-2.6.15-1-686: true
  linux-image-2.6.15-1-686/preinst/elilo-initrd-2.6.15-1-686: true



Reply to: