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

Re: osinfo-query os missing debian Bullseye



On 12/20/2021 12:44 AM, David wrote:
On Mon, 20 Dec 2021 at 04:36, Dan Ritter <dsr@randomstring.org> wrote:
john doe wrote:

As far as I can tell, the command 'osinfo-query os' does not
support/list 'debian11'.

I need to fire up a Bullseye VM what is the best way forward?

What does osinfo-query have to do with installing a VM?

I expect it will be something like seen here:
   https://wiki.debian.org/KVM?highlight=%28os-variant%29

'virt-install' takes an '--os-variant' argument. The known
values of that argument are queried by an 'osinfo-query'
command.

$ osinfo-query os | awk -e '/debian/ {print $1}'
debian1.1
debian1.2
debian1.3
debian10
debian2.0
debian2.1
debian2.2
debian3
debian3.1
debian4
debian5
debian6
debian7
debian8
debian9
debiantesting

$ cat /etc/debian_version
11.2

$ dpkg -S osinfo-query
libosinfo-bin: /usr/bin/osinfo-query
libosinfo-bin: /usr/share/man/man1/osinfo-query.1.gz

$ apt list --installed libosinfo-bin
Listing... Done
libosinfo-bin/stable,now 1.8.0-1 amd64 [installed]

I just use '--os-variant debiantesting' until someone
gives better advice.


According to (1), the better advice would be to use 'debian10'!!! :)

In short, the issue has been fixed upstream and will make it's way in
the Debian package in the next little while.

1)
https://listman.redhat.com/archives/libvirt-users/2021-December/msg00057.html

--
John Doe


Reply to: