Bug#935551: osinfo-db: broken debian installer iso urls in buster version

2019-08-24 Thread Guido Günther
Hi,
On Sat, Aug 24, 2019 at 11:52:24AM +0200, Laurent Bigonville wrote:
> Hello,
> 
> I opened a bug before the release for this, but unfortunately it was not
> fixed in time (see: #919486)
> 
> Please find here a patch that fixes several issues with the version
> currently in buster:
> 
> osinfo-db (0.20181120-1.1) buster; urgency=medium
> 
>   * Non-maintainer upload.
>   * debian/patches/debian9-update.patch: Fix the URL's to download the iso
>     files and point to the latest point release (9.9.0)
>   * debian/patches/debian10-Add-info.patch: Add information about the debian
>     buster/10 release (Closes: #935551)
>   * d/p/debian-preseed-Fix-typo-in-config-s-name.patch: Fix the name of the
>     parameter used to set the fullname when generating a preseed file, the
>     documentation explicitly talks about "user-realname" but the profile was
>     using "user-fullname" (the debconf parameter name) by mistake
> 
>  -- Laurent Bigonville   Sat, 24 Aug 2019 10:06:02 +0200
> 
> Is that OK if I'm doing a NMU with this?

I was about to import newer snapshot but since you got this prepared
already just go ahead and NMU.
Thanks!
 -- Guido

> 
> Kind regards,
> 
> Laurent Bigonville
> 

> diff -Nru osinfo-db-0.20181120/debian/changelog 
> osinfo-db-0.20181120/debian/changelog
> --- osinfo-db-0.20181120/debian/changelog 2018-11-20 22:41:36.0 
> +0100
> +++ osinfo-db-0.20181120/debian/changelog 2019-08-24 10:06:02.0 
> +0200
> @@ -1,3 +1,17 @@
> +osinfo-db (0.20181120-1.1) buster; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * debian/patches/debian9-update.patch: Fix the URL's to download the iso
> +files and point to the latest point release (9.9.0)
> +  * debian/patches/debian10-Add-info.patch: Add information about the debian
> +buster/10 release (Closes: #935551)
> +  * d/p/debian-preseed-Fix-typo-in-config-s-name.patch: Fix the name of the
> +parameter used to set the fullname when generating a preseed file, the
> +documentation explicitly talks about "user-realname" but the profile was
> +using "user-fullname" (the debconf parameter name) by mistake
> +
> + -- Laurent Bigonville   Sat, 24 Aug 2019 10:06:02 +0200
> +
>  osinfo-db (0.20181120-1) unstable; urgency=medium
>  
>* [aa777b6] New upstream version 0.20181120
> diff -Nru osinfo-db-0.20181120/debian/patches/debian10-Add-info.patch 
> osinfo-db-0.20181120/debian/patches/debian10-Add-info.patch
> --- osinfo-db-0.20181120/debian/patches/debian10-Add-info.patch   
> 1970-01-01 01:00:00.0 +0100
> +++ osinfo-db-0.20181120/debian/patches/debian10-Add-info.patch   
> 2019-08-24 09:45:19.0 +0200
> @@ -0,0 +1,223 @@
> +From 13e84168d359b4ab1170451716098b5e72ac15f9 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= 
> +Date: Tue, 9 Jul 2019 08:55:30 +0200
> +Subject: [PATCH] debian10: Add info
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +Debian 10 has been released on July 6th, 2019.
> +
> +Signed-off-by: Fabiano Fidêncio 
> +Reviewed-by: Cole Robinson 
> +---
> + data/os/debian.org/debian-10.xml.in | 203 
> + 1 file changed, 203 insertions(+)
> + create mode 100644 data/os/debian.org/debian-10.xml.in
> +
> +--- /dev/null
>  b/data/os/debian.org/debian-10.xml.in
> +@@ -0,0 +1,203 @@
> ++
> ++
> ++  http://debian.org/debian/10;>
> ++debian10
> ++debianbuster
> ++<_name>Debian 10
> ++10
> ++<_vendor>Debian Project
> ++linux
> ++debian
> ++buster
> ++http://debian.org/debian/9"/>
> ++http://debian.org/debian/9"/>
> ++
> ++2019-07-06
> ++
> ++
> ++  
> ++10
> ++1
> ++1073741824
> ++10737418240
> ++  
> ++  
> ++10
> ++1073741824
> ++21474836480
> ++  
> ++
> ++
> ++
> ++  <_name>Debian 10
> ++
> ++
> ++  <_name>Debian 10
> ++
> ++
> ++
> ++
> ++  
> ++  
> http://cdimage.debian.org/cdimage/release/10.0.0/i386/iso-cd/debian-10.0.0-i386-netinst.iso
> ++  
> ++Debian 10.(\d)+.(\d)+ i386 n
> ++  
> ++  install.386/vmlinuz
> ++  install.386/initrd.gz
> ++
> ++
> ++  
> ++  
> http://cdimage.debian.org/cdimage/release/10.0.0/amd64/iso-cd/debian-10.0.0-amd64-netinst.iso
> ++  
> ++Debian 10.(\d)+.(\d)+ amd64 n
> ++  
> ++  install.amd/vmlinuz
> ++  install.amd/initrd.gz
> ++
> ++
> ++  
> ++  
> http://cdimage.debian.org/cdimage/release/10.0.0/arm64/iso-cd/debian-10.0.0-arm64-netinst.iso
> ++  
> ++Debian 10.(\d)+.(\d)+ arm64 n
> ++  
> ++  install.a64/vmlinuz
> ++  install.a64/initrd.gz
> ++
> ++
> ++  
> ++  
> http://cdimage.debian.org/cdimage/release/10.0.0/armhf/iso-cd/debian-10.0.0-armhf-netinst.iso
> ++  
> ++Debian 10.(\d)+.(\d)+ armhf n
> ++  
> ++  

Bug#935551: osinfo-db: broken debian installer iso urls in buster version

2019-08-24 Thread Guido Günther
Hi,
On Fri, Aug 23, 2019 at 10:22:26PM +0200, Andreas Henriksson wrote:
> Package: osinfo-db
> Version: 0.20181120-1
> Severity: normal
> Tags: buster
> 
> Dear Maintainer,
> 
> Using for example gnome-boxes and trying to use the wizard to install
> a new debian machine gives a horrible experience in Buster (10).
> The reason seems to be that the osinfo-db version shipped in buster
> contains xml with broken urls. (The latest debian release is also debian
> 9 rather than 10.)
> 
> Please consider an update of osinfo-db for stable-updates (in
> coordination with stable release managers). Either update osinfo-db to a
> newer upstream version (if SRMs agree) or atleast backport the fixes to
> data/os/debian.org/* that has been made since the version shipped with
> buster.
> 
> I've manually modified the installed debian-9.xml file on my system and
> replaced the ... parts with what the current upstream version
> contains and can confirm that fixes the gnome-boxes express install of
> debian 9.
> 
> (Another option would be to get a newer osinfo-db into buster-backports
> but I really think the urls should be fixed in stable proper.)

I have this on my todo list.

It's an uphill battle due to

   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813797

osinfo-db is designed to make it possible to import new dbs easily:

  
https://gitlab.com/libosinfo/osinfo-db-tools/commit/f0448ee460c09bd296c5ec928c3c616cc31618e1

Snapshots are available from here:

  https://releases.pagure.org/libosinfo/

So the above might help not only for buster but also for other distros
popping up and needing newer data.
Cheers,
 -- Guido



Bug#935551: osinfo-db: broken debian installer iso urls in buster version

2019-08-24 Thread Laurent Bigonville

Hello,

I opened a bug before the release for this, but unfortunately it was not 
fixed in time (see: #919486)


Please find here a patch that fixes several issues with the version 
currently in buster:


osinfo-db (0.20181120-1.1) buster; urgency=medium

  * Non-maintainer upload.
  * debian/patches/debian9-update.patch: Fix the URL's to download the iso
    files and point to the latest point release (9.9.0)
  * debian/patches/debian10-Add-info.patch: Add information about the 
debian

    buster/10 release (Closes: #935551)
  * d/p/debian-preseed-Fix-typo-in-config-s-name.patch: Fix the name of the
    parameter used to set the fullname when generating a preseed file, the
    documentation explicitly talks about "user-realname" but the 
profile was

    using "user-fullname" (the debconf parameter name) by mistake

 -- Laurent Bigonville   Sat, 24 Aug 2019 10:06:02 +0200

Is that OK if I'm doing a NMU with this?

Kind regards,

Laurent Bigonville

diff -Nru osinfo-db-0.20181120/debian/changelog osinfo-db-0.20181120/debian/changelog
--- osinfo-db-0.20181120/debian/changelog	2018-11-20 22:41:36.0 +0100
+++ osinfo-db-0.20181120/debian/changelog	2019-08-24 10:06:02.0 +0200
@@ -1,3 +1,17 @@
+osinfo-db (0.20181120-1.1) buster; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches/debian9-update.patch: Fix the URL's to download the iso
+files and point to the latest point release (9.9.0)
+  * debian/patches/debian10-Add-info.patch: Add information about the debian
+buster/10 release (Closes: #935551)
+  * d/p/debian-preseed-Fix-typo-in-config-s-name.patch: Fix the name of the
+parameter used to set the fullname when generating a preseed file, the
+documentation explicitly talks about "user-realname" but the profile was
+using "user-fullname" (the debconf parameter name) by mistake
+
+ -- Laurent Bigonville   Sat, 24 Aug 2019 10:06:02 +0200
+
 osinfo-db (0.20181120-1) unstable; urgency=medium
 
   * [aa777b6] New upstream version 0.20181120
diff -Nru osinfo-db-0.20181120/debian/patches/debian10-Add-info.patch osinfo-db-0.20181120/debian/patches/debian10-Add-info.patch
--- osinfo-db-0.20181120/debian/patches/debian10-Add-info.patch	1970-01-01 01:00:00.0 +0100
+++ osinfo-db-0.20181120/debian/patches/debian10-Add-info.patch	2019-08-24 09:45:19.0 +0200
@@ -0,0 +1,223 @@
+From 13e84168d359b4ab1170451716098b5e72ac15f9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= 
+Date: Tue, 9 Jul 2019 08:55:30 +0200
+Subject: [PATCH] debian10: Add info
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Debian 10 has been released on July 6th, 2019.
+
+Signed-off-by: Fabiano Fidêncio 
+Reviewed-by: Cole Robinson 
+---
+ data/os/debian.org/debian-10.xml.in | 203 
+ 1 file changed, 203 insertions(+)
+ create mode 100644 data/os/debian.org/debian-10.xml.in
+
+--- /dev/null
 b/data/os/debian.org/debian-10.xml.in
+@@ -0,0 +1,203 @@
++
++
++  http://debian.org/debian/10;>
++debian10
++debianbuster
++<_name>Debian 10
++10
++<_vendor>Debian Project
++linux
++debian
++buster
++http://debian.org/debian/9"/>
++http://debian.org/debian/9"/>
++
++2019-07-06
++
++
++  
++10
++1
++1073741824
++10737418240
++  
++  
++10
++1073741824
++21474836480
++  
++
++
++
++  <_name>Debian 10
++
++
++  <_name>Debian 10
++
++
++
++
++  
++  http://cdimage.debian.org/cdimage/release/10.0.0/i386/iso-cd/debian-10.0.0-i386-netinst.iso
++  
++Debian 10.(\d)+.(\d)+ i386 n
++  
++  install.386/vmlinuz
++  install.386/initrd.gz
++
++
++  
++  http://cdimage.debian.org/cdimage/release/10.0.0/amd64/iso-cd/debian-10.0.0-amd64-netinst.iso
++  
++Debian 10.(\d)+.(\d)+ amd64 n
++  
++  install.amd/vmlinuz
++  install.amd/initrd.gz
++
++
++  
++  http://cdimage.debian.org/cdimage/release/10.0.0/arm64/iso-cd/debian-10.0.0-arm64-netinst.iso
++  
++Debian 10.(\d)+.(\d)+ arm64 n
++  
++  install.a64/vmlinuz
++  install.a64/initrd.gz
++
++
++  
++  http://cdimage.debian.org/cdimage/release/10.0.0/armhf/iso-cd/debian-10.0.0-armhf-netinst.iso
++  
++Debian 10.(\d)+.(\d)+ armhf n
++  
++  install.armhf/vmlinuz
++  install.armhf/initrd.gz
++
++
++  
++  http://cdimage.debian.org/cdimage/release/10.0.0/ppc64el/iso-cd/debian-10.0.0-ppc64el-netinst.iso
++  
++Debian 10.(\d)+.(\d)+ ppc64el n
++  
++  install/vmlinux
++  install/initrd.gz
++
++
++  
++  http://cdimage.debian.org/cdimage/release/10.0.0/s390x/iso-cd/debian-10.0.0-s390x-netinst.iso
++  
++Debian 10.(\d)+.(\d)+ s390x n
++  
++  boot/linux_vm
++  boot/root.bin
++
++

Bug#935551: osinfo-db: broken debian installer iso urls in buster version

2019-08-23 Thread Andreas Henriksson
Package: osinfo-db
Version: 0.20181120-1
Severity: normal
Tags: buster

Dear Maintainer,

Using for example gnome-boxes and trying to use the wizard to install
a new debian machine gives a horrible experience in Buster (10).
The reason seems to be that the osinfo-db version shipped in buster
contains xml with broken urls. (The latest debian release is also debian
9 rather than 10.)

Please consider an update of osinfo-db for stable-updates (in
coordination with stable release managers). Either update osinfo-db to a
newer upstream version (if SRMs agree) or atleast backport the fixes to
data/os/debian.org/* that has been made since the version shipped with
buster.

I've manually modified the installed debian-9.xml file on my system and
replaced the ... parts with what the current upstream version
contains and can confirm that fixes the gnome-boxes express install of
debian 9.

(Another option would be to get a newer osinfo-db into buster-backports
but I really think the urls should be fixed in stable proper.)

If you want help with doing the work, please just say it!

-- System Information:
Debian Release: 10.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (400, 'testing'), (300, 
'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-2-amd64 (SMP w/16 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information