Package: debian-reference-common Version: 2.46 Severity: normal Tags: patch
dpkg update 1.16.0 included this change: Do not allow versions starting with non-digit when doing strict parsing, warn otherwise. The example 'make-kpkg' invocation includes the parameter '--revision=rev.01' which causes dpkg to issue a warning after every operation that parses the '/var/lib/dpkg/' 'available' and 'status' files, i.e. the following from '/var/log/apt/term.log': error in Version string 'rev.03': version number does not start with digit Attached is a patch to change the example revision number to '1.0'. It might be worthwhile to add a note to the text specifying the allowable values for revision, but I'll leave that up to you. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.38-interactive-3-atom (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash debian-reference-common depends on no packages. debian-reference-common recommends no packages. Versions of packages debian-reference-common suggests: ii epiphany-browser [www-brows 2.30.6-2 Intuitive GNOME web browser ii iceweasel [www-browser] 3.5.18-1 Web browser based on Firefox ii lynx-cur [www-browser] 2.8.8dev.8-1 Text-mode WWW Browser with NLS sup ii mc 3:4.7.0.9-1 Midnight Commander - a powerful fi pn vim <none> (no description available) ii w3m [www-browser] 0.5.3-2 WWW browsable pager with excellent -- no debconf information
--- debian-reference.raw.xml 2011-04-20 15:15:59.000000000 -0400 +++ debian-reference.raw.xml.old 2011-04-20 15:14:43.000000000 -0400 @@ -23554,7 +23554,7 @@ $ make menuconfig ... $ make-kpkg clean -$ fakeroot make-kpkg --append_to_version -amd64 --initrd --revision=1.0 kernel_image modules_image +$ fakeroot make-kpkg --append_to_version -amd64 --initrd --revision=rev.01 kernel_image modules_image $ cd .. # dpkg -i linux-image*.deb</screen> <simpara>Reboot to new kernel with "<literal>shutdown -r now</literal>".</simpara>