I would like to ask you something. I need to create a VM machine with Ubuntu Bionic because there is a software that I need to test but it is just works in Ubuntu Bionic and I don't want to change my version. I decided to use uvtool to create the virtual machine, but I keep receiving an error and I don't know why. I follow this steps but when I enter the next command uvt-kvm create vm1
to create the virtual machine I receive this error:
ubuntu-distro-info: Header 'version,codename,series,created,release,eol,eol-server,eol-esm'
in file '/usr/share/distro-info/ubuntu.csv' does not match excatly
'version,codename,series,created,release,eol,eol-server'.
Traceback (most recent call last):
File "/usr/bin/uvt-kvm", line 35, in <module>
uvtool.libvirt.kvm.main_cli_wrapper(sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/kvm.py", line 717, in main_cli_wrapper
main(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/kvm.py", line 684, in main
default=["release=%s" % get_lts_series()],
File "/usr/lib/python2.7/dist-packages/uvtool/libvirt/kvm.py", line 418, in get_lts_series
output = subprocess.check_output(['distro-info', '--lts'], close_fds=True)
File "/usr/lib/python2.7/subprocess.py", line 574, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '[u'distro-info', u'--lts']' returned non-zero exit status 1`
I have checked the ubuntu.csv
file but I found nothing strange in the file.
Thank you for your help, I hope you can help me.
Update
This is the output of the apt-cache policy distro-info distro-info-data
command, thanks for the help
distro-info:
Installed: 0.18~ubuntu16.04.1
Candidate: 0.18~ubuntu16.04.1
Version table:
*** 0.18~ubuntu16.04.1 500
500 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages
100 /var/lib/dpkg/status
0.14ubuntu0.1 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
0.14build1 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
distro-info-data:
Installed: 0.28ubuntu0.13
Candidate: 0.28ubuntu0.13
Version table:
*** 0.28ubuntu0.13 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
100 /var/lib/dpkg/status
0.28 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu xenial/main i386 Packages