Bug#575283: /usr/sbin/update-initramfs: treats kernel version 2.6.32-trunk-amd64 as newer than 2.6.32-3-amd64
On Wed, Mar 24, 2010 at 07:07:16PM +0100, Andreas Beckmann wrote:
> Package: initramfs-tools
> Version: 0.93.4
> Severity: normal
> File: /usr/sbin/update-initramfs
>
> Hi,
>
> update-initramfs considers linux-image-2.6.32-trunk-amd64 to be newer
> than linux-image-2.6.32-3-amd64 causing the initrd of an outdated kernel
> to be updated.
> Even though the 2.6.32-trunk kernels are no longer available in the
> archive, they are probably installed on some machines tracking sid or
> squeeze and are not going to be removed automatically (that is a good
> thing), so they will continue to confuse update-initramfs unless they
> are uninstalled manually. From popcon I got the following counts:
>
> $ zgrep image-2.6.32-trunk all-popcon-results.txt.gz | sort -nr -k 3
> Package: linux-image-2.6.32-trunk-686 4075 756 313 7
> Package: linux-image-2.6.32-trunk-amd64 2907 611 200 6
>
> So there seems to be a significant amount of machines having them
> still installed (only looking at the main variants amd64 and 686).
>
> See also bugs #568160 and #570318 covering grub-legacy/grub2 to wrongly
> sort the -trunk kernel ahead of the newer kernels.
>
>
> Andreas
dpkg asses it to be greater than numbered, just see
get_sorted_versions() uses dpkg --compare-versions.
trunk is gone and was a mistake in the first place. people will get over
it with 2.6.33 or whatever..
unless someone comes up with clean noninvasive patch i'll close away.
Reply to: