2

How do i update available versions for operating system types in virt-manager?

For example for Ubuntu, only up to Ubuntu 14.04 LTS is in the menu but I'm installing Ubuntu 16.04 LTS. Installation still works fine choosing Ubuntu 14. I'm just curious how to update the available versions in the list.

enter image description here

1 Answer 1

3

virt-manager gets its list of operating systems from libosinfo.

The path to the database is /usr/share/libosinfo/db/oses.

On Ubuntu, the package that provides this database is libosinfo-1.0-0.

You have Ubuntu 14.04 LTS Trusty Tahr, which means that you can manually install the updated Ubuntu 16.04 LTS Xenial Xerus package libosinfo-1.0-0 without a dependency conflict.

In Ubuntu 16.10 Yakkety Yak, the dependencies changed. You can still install libosinfo-1.0-0, but first, you must install the new package libosinfo-db. This is the only difference, if you choose to pull libosinfo-1.0-0 from the Ubuntu 16.10 repo.

Alternatively, you can build libosinfo from source.

Practically, you do not need to update this database any time soon because in virt-manager, they're mainly for recommending resource allocations and virtual hardware, all of which you can configure manually if desired.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .