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

Bug#627838: [debian-kernel-handbook] Wrong instruction in 4.5 Building a custom kernel from Debian kernel source ("version number does not start with digit")



Package: debian-kernel-handbook
Version: 1.0.10
Severity: normal

There is a wrong command in section 4.5 Building a custom kernel from Debian kernel source:

$ make KDEB_PKGVERSION=custom.1.0 deb-pkg

This command fails - after a real long time - with:
dpkg-deb: error: parsing file '/home/chealer/sources/linux-source-2.6.39/debian/hdrtmp/DEBIAN/control' near line 3 package 'linux-headers-2.6.39': erreur dans la chaîne Version « custom.1.0 »: version number does not start with digit
make[1]: *** [deb-pkg] Erreur 2
make: *** [deb-pkg] Erreur 2

The French says 'error in Version string "custom.1.0"'.
Apparently dpkg-deb no longer accepts Version strings that start with something other than a digit.

There is however an easy workaround, changing the version string, for example to "1.0":
$ make KDEB_PKGVERSION=1.0 deb-pkg




Reply to: