Bug#459445: initramfs-tools: update-initramfs does not consider latest kernel by default
Le dimanche 06 janvier 2008 à 19:18 +0100, maximilian attems a écrit :
> > when running update-initramfs without specifying a kernel version (-k), the
> > default version should be the latest kernel version (according to manpage).
> >
> > It is not in my case:
> > $ ls /var/lib/initramfs-tools/
> > 2.6.22-3-amd64 2.6.23-1-amd64
> >
> > $ ls /boot/initrd.*
> > /boot/initrd.img-2.6.22-3-amd64 /boot/initrd.img-2.6.23-1-amd64
> > /boot/initrd.img-2.6.22-3-amd64.bak /boot/initrd.img-2.6.23-1-amd64.bak
>
> please send in output of
> ls -l /
drwxr-xr-x 2 root root 4096 2008-01-06 18:44 bin
drwxr-xr-x 4 root root 1024 2008-01-06 16:58 boot
lrwxrwxrwx 1 root root 11 2007-07-29 15:07 cdrom -> media/cdrom
drwxr-xr-x 16 root root 4100 2008-01-06 17:33 dev
drwxr-xr-x 3 root root 4096 2007-07-29 15:33 emul
drwxr-xr-x 116 root root 12288 2008-01-06 19:06 etc
drwxr-xr-x 7 root root 4096 2007-11-10 10:36 home
drwxr-xr-x 2 root root 4096 2007-07-29 15:08 initrd
lrwxrwxrwx 1 root root 30 2007-10-31 21:19 initrd.img -> boot/initrd.img-2.6.22-3-amd64
lrwxrwxrwx 1 root root 30 2007-10-20 08:53 initrd.img.old -> boot/initrd.img-2.6.23-1-amd64
drwxr-xr-x 17 root root 12288 2008-01-05 12:31 lib
lrwxrwxrwx 1 root root 20 2007-09-04 18:03 lib32 -> /emul/ia32-linux/lib
lrwxrwxrwx 1 root root 4 2007-09-04 18:05 lib64 -> /lib
drwx------ 2 root root 16384 2007-07-29 15:07 lost+found
drwxr-xr-x 5 root root 4096 2008-01-06 17:07 media
drwxr-xr-x 2 root root 4096 2007-04-24 22:26 mnt
dr-xr-xr-x 137 root root 0 2008-01-06 17:22 proc
drwxr-xr-x 21 root root 4096 2007-12-28 20:28 root
drwxr-xr-x 2 root root 4096 2008-01-06 18:44 sbin
drwxr-xr-x 2 root root 4096 2007-07-29 15:08 srv
drwxr-xr-x 11 root root 0 2008-01-06 17:22 sys
drwxrwxrwt 17 root root 32768 2008-01-06 19:10 tmp
drwxr-xr-x 11 root root 4096 2007-09-04 18:05 usr
drwxr-xr-x 15 root root 4096 2007-10-19 18:43 var
lrwxrwxrwx 1 root root 27 2007-10-31 21:19 vmlinuz -> boot/vmlinuz-2.6.22-3-amd64
lrwxrwxrwx 1 root root 27 2007-10-20 08:53 vmlinuz.old -> boot/vmlinuz-2.6.23-1-amd64
I think I now understand - but it is obscure for me why this is so as
kernel 2.6.23 has been installed and configured after 2.6.22 (which is
still present as a dependency for linux-image-2.6-amd64)
Cheers,
Julien
Reply to: