Your message dated Thu, 17 Mar 2011 13:47:11 +0000
with message-id <[email protected]>
and subject line Bug#570318: fixed in grub 0.97-65
has caused the Debian Bug report #570318,
regarding update-grub: wrongly sorts 2.6.32-trunk ahead of 2.6.32-1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
570318: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570318
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grub-common
Version: 1.98~20100128-1
Severity: normal
Tags: patch

In the rush to make official 2.6.32 kernel packages available in
Debian, the maintainers initially used image names of the form
vmlinuz-2.6.32-trunk-FLAVOR to indicate that they hadn't yet reached a
final -1 ABI.  They now have, but grub's version comparison function
incorrectly treats the older -trunk packages as newer.  (I'm not sure
why the maintainers chose -trunk rather than -0 or ~trunk, but what's
done is done.)

The good news is that the relevant shell function (version_test_gt
from grub-mkconfig_lib) already has a provision for sorting some
suffixes early, so I propose simply adjusting it to do the same for
-trunk:

--- /usr/lib/grub/grub-mkconfig_lib     2010-01-28 11:05:49.000000000 -0500
+++ /home/amu/tmp/grub-mkconfig_lib     2010-02-02 14:38:27.000000000 -0500
@@ -163,8 +163,9 @@
 
 version_test_gt ()
 {
-  local a=`echo $1 | sed -e 
"s/[^-]*-//;s/[._-]\(pre\|rc\|test\|git\|old\)/~\1/g"`
-  local b=`echo $2 | sed -e 
"s/[^-]*-//;s/[._-]\(pre\|rc\|test\|git\|old\)/~\1/g"`
+  local sedexp="s/[^-]*-//;s/[._-]\(pre\|rc\|test\|git\|old\|trunk\)/~\1/g"
+  local a=`echo $1 | sed -e "$sedexp"`
+  local b=`echo $2 | sed -e "$sedexp"`
   local cmp=gt
   if [ "x$b" = "x" ] ; then
     return 0

Could you please do so?

Thanks!

P.S. I found #522194 when checking for duplicates, but I'm reporting
this issue separately, as I don't necessarily want kernels sorted by
mtime either.  (Such a setup could interact poorly with security
updates to otherwise older kernels.)  The fact that I only care
nowadays about the names official Debian kernels use should simplify
matters, though.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-common depends on:
ii  base-files              5.1              Debian base system miscellaneous f
ii  dpkg                    1.15.5.6         Debian package management system
ii  gettext-base            0.17-8           GNU Internationalization utilities
ii  install-info            4.13a.dfsg.1-5   Manage installed documentation in 
ii  libc6                   2.10.2-5         Embedded GNU C Library: Shared lib
ii  libfreetype6            2.3.11-1         FreeType 2 font engine, shared lib
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages grub-common recommends:
pn  os-prober                     <none>     (no description available)

Versions of packages grub-common suggests:
ii  grub-emu                 1.98~20100128-1 GRand Unified Bootloader, version 
pn  multiboot-doc            <none>          (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: grub
Source-Version: 0.97-65

We believe that the bug you reported is fixed in the latest version of
grub, which is due to be installed in the Debian FTP archive:

grub-disk_0.97-65_all.deb
  to main/g/grub/grub-disk_0.97-65_all.deb
grub-doc_0.97-65_all.deb
  to main/g/grub/grub-doc_0.97-65_all.deb
grub-legacy-doc_0.97-65_all.deb
  to main/g/grub/grub-legacy-doc_0.97-65_all.deb
grub-legacy_0.97-65_i386.deb
  to main/g/grub/grub-legacy_0.97-65_i386.deb
grub_0.97-65.diff.gz
  to main/g/grub/grub_0.97-65.diff.gz
grub_0.97-65.dsc
  to main/g/grub/grub_0.97-65.dsc
grub_0.97-65_i386.deb
  to main/g/grub/grub_0.97-65_i386.deb
multiboot-doc_0.97-65_all.deb
  to main/g/grub/multiboot-doc_0.97-65_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated grub package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 17 Mar 2011 13:34:14 +0000
Source: grub
Binary: grub-legacy grub grub-disk grub-doc grub-legacy-doc multiboot-doc
Architecture: source i386 all
Version: 0.97-65
Distribution: unstable
Urgency: low
Maintainer: GRUB Maintainers <[email protected]>
Changed-By: Colin Watson <[email protected]>
Description: 
 grub       - GRand Unified Bootloader (dummy package)
 grub-disk  - GRUB bootable disk image (dummy package)
 grub-doc   - Documentation for GRand Unified Bootloader (dummy package)
 grub-legacy - GRand Unified Bootloader (Legacy version)
 grub-legacy-doc - Documentation for GRUB Legacy
 multiboot-doc - The Multiboot specification (dummy package)
Closes: 570318
Changes: 
 grub (0.97-65) unstable; urgency=low
 .
   * Fix grub/migrate_from_legacy title to not end with a full stop.
   * Fix update-grub(8) groff typo (".bar" instead of ".br").
   * Adjust doc-base file to account for renaming of grub.info to
     grub-legacy.info.
   * Compare -trunk kernels earlier than numeric ABIs (thanks, Aaron M. Ucko
     and Andreas Beckmann; closes: #570318).
   * Convert from home-grown patch system to quilt.
Checksums-Sha1: 
 d6c88f3169e30bf70063f5011e9a7b27e650f392 2110 grub_0.97-65.dsc
 373b677609b59776f629f2849a66dc903fd17e7e 96813 grub_0.97-65.diff.gz
 abe352039fa32a6f760126173d711d7fe9ee95af 388152 grub-legacy_0.97-65_i386.deb
 f440025652ef18728419bb44d9924656a87eca94 117882 grub_0.97-65_i386.deb
 8b699f678a19f85330a0da0104f5ff5e4769a389 117232 grub-disk_0.97-65_all.deb
 3363fb7cfa13df9b39f5dab04ea252ca00145687 117252 grub-doc_0.97-65_all.deb
 820a8b1613f2b6ae63287ab272008d942bda9d0f 258504 grub-legacy-doc_0.97-65_all.deb
 a6591f43878e292622ed2aaaa688533a6fb2169d 117258 multiboot-doc_0.97-65_all.deb
Checksums-Sha256: 
 bbfd44a631f89dac6c725e65d1aa671c26c282669a750374d31d255e95557c4a 2110 
grub_0.97-65.dsc
 e12dc9ae2fb1994f28dc9276bddb3efe2bffcd83a8d220566780768f78f32217 96813 
grub_0.97-65.diff.gz
 e0cb7c3af7e7d321338165230b7a67caea2226b0e7b4b833263ad9b58bb78b6f 388152 
grub-legacy_0.97-65_i386.deb
 d7b88f8e5d407075c27622a58c08f78d8fa07d7d08c1c0c9d44460828bc25c90 117882 
grub_0.97-65_i386.deb
 391a615bf25739e0f170601da56e084752ab4d7a577eeea071137f2241f309fa 117232 
grub-disk_0.97-65_all.deb
 38b36048b4db42682f60e319f0401533b05f11593fb699e6b6b30253730c3502 117252 
grub-doc_0.97-65_all.deb
 834fa33e90f82e475c1f0a00013737b16d397e5c4b2238a65f457d2f4e91b226 258504 
grub-legacy-doc_0.97-65_all.deb
 43f4e2193829c18e0cc2b086d9e3de5e082857757f531a6846741a3894899c1f 117258 
multiboot-doc_0.97-65_all.deb
Files: 
 801b4441c7f9c22e4c5f8b712a53522b 2110 admin extra grub_0.97-65.dsc
 3bfd842a557d5e5defa50b4d59e8da3c 96813 admin extra grub_0.97-65.diff.gz
 5fa57707615690951d166be06bd66a89 388152 admin extra 
grub-legacy_0.97-65_i386.deb
 7c7594d6bd6798d5585e948ab0ff166c 117882 admin extra grub_0.97-65_i386.deb
 06980a686f85513bf45d7ec8342ee45c 117232 admin extra grub-disk_0.97-65_all.deb
 f2e900f6b29e11228d6fc1882e912d84 117252 doc extra grub-doc_0.97-65_all.deb
 3e99f4afc3765974ac062ccb1ec030ba 258504 doc extra 
grub-legacy-doc_0.97-65_all.deb
 c7407bf32c396fcdb7fedc39d4f9466d 117258 doc extra multiboot-doc_0.97-65_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Colin Watson <[email protected]> -- Debian developer

iQIVAwUBTYIPLzk1h9l9hlALAQhErw/+Kzv7VTaPFh9i4xN0tN+6Rn4hEJm9J1og
w9x2JkDB4WruPDUtGzIq7nK4ff/zLg+qmFXX47yXAaPcRI2vl1eGKSCsjfWgsHRY
FHC/IXrry+UEZ80nny1/FzXqFUyfXZlHYm/SiOUcsTLBf33zP3dkqP/epbjOfxZG
A3R8YbrWtAtVM3hoFsWm1plGeps5EcfMYSgTQ8OzVfdqsMBBZlCn0/yCXc7l7Bf0
iAlVyVeu/6IdtahPIFV1STF9LcM09PCrTjolRmT5Xs40bidDVNDZcGb2TjKKoam+
pv31/QmrnYJFR79Iv2/hSwdw5tuV6x4gyJmvmTTYEXfO3seysdWvMpgCl6k8Ly/J
RujLDTX61TkGOuFCunsbFLYhWgcYjqNBxpg3saiMOHE7a2JpqIByT5Pt+wr9ya7s
cD/Ldu+9jhHDeQQ3OrM/2f4PxFQ64luRSOFQjxXu4y1qOmPwAHPZBv90LkMK2Lj2
8AelTBxYQ91pHt6j484qRzZwS9r5bK76405CloNZcKdB9cl6RYDmzlXG0QHY8eAc
8tvOjEfnG8bXJB5HtSfTVDaS1dqCefn0+a1em83/0dEAxIOyktDu1GxcjEIF+IE5
sHsheMTHPNiCFTI58jcAMgHrEZOpffG0ZdVNy6hyQ/dsC/J8TLdEF+JUOy6Ge6e4
PUo4nXyJVew=
=+gC2
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to