Mailing List Archive

dpkg: warning: version '/boot/xen.gz' has bad syntax: version number does not start with digit
I am trying to compile and install xen from source under Ubuntu. One of the problems I am facing it that Grub does not work correctly. I can not set “Ubuntu GNU/Linux, with Xen 4.16.2 and Linux 5.15.0-48-generic” as “GRUB_DEFAULT=” or more correctly that does not work, with as result that the server always boot the plain ubuntu version. This behavior is almost sure due to “dpkg: warning: version '/boot/xen.gz' has bad syntax: version number does not start with digit”. I found a couple of older threads where people seems to discuss the same issue. Suggestion there is that:

^This firmware has a wider than 16bit segment number and nvme calls to it during boot, and this is the root problem. Xen is not compatible with this kind of hardware yet.^

For info I have installed nvme drives

?

1. Does any one has a solution for this and
2. If the problem is related to xen (what I expect) , is it on the bug list / can it be added to the buglist

?

Louis

?
re: dpkg: warning: version '/boot/xen.gz' has bad syntax: version number does not start with digit [ In reply to ]
These notes are from the Almalinux el9 mock build.

ls -al ../BUILD/xen-4.16.2/xen/ | awk '{print $9}'
xen
xen.efi
xen.efi.map
xen.gz
xen-syms
xen-syms.map
xsm

After install it looks like this (DESTDIR=dist/install):
../BUILD/xen-4.16.2/dist/install/boot/
??? efi
?   ??? EFI
?   ??? almalinux
?   ??? xen-4.16.efi
?   ??? xen-4.16-xsm.efi
??? kcfg
?   ??? xen-4.16.config
?   ??? xen-4.16-xsm.config
??? xen-4.16.gz
??? xen-4.16-xsm.gz
??? xenpolicy-4.16.2

4 directories, 7 files

so you can see I added the version during the copy.

cheers,
PryMar56