首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何修复Ubuntu 20.04主机上的virt-install错误?

如何修复Ubuntu 20.04主机上的virt-install错误?
EN

Stack Overflow用户
提问于 2020-10-05 17:18:47
回答 1查看 461关注 0票数 0

我需要帮助在我的20.04主机上安装来宾的问题。

代码语言:javascript
复制
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
virtinst                             1:2.2.1-3ubuntu2
python3                              3.8.2-0ubuntu2
python-is-python3                    3.8.2-4
python3-distutils                    3.8.2-1ubuntu1
python3-libvirt                      6.1.0-1
libvirt-daemon-system                6.0.0-0ubuntu8.4
qemu-kvm                             1:4.2-3ubuntu6.6

root@machine20:~# which python
/usr/bin/python 
root@machine20:~# ls -l /usr/bin/python
lrwxrwxrwx 1 root root 7 Apr 15 12:45 /usr/bin/python -> python3



root@machine20:~# /usr/bin/virt-install --name mvmubu18 --vcpus 2 --memory 4096 --network network=virbrapp,trustGuestRxFilters=yes,model=virtio --mac ae:20:18:10:08:0a --noautoconsole --wait -1 --location http://install/installer-ubuntu1804-amd64/ --disk path=/srv/images/18.04/ubu18_root.img,size=20,format=raw '--extra-args=locale=en_US auto=true priority=critical s390-netdevice/choose_networktype=virtio netcfg/use_autoconfig=true netcfg/disable_dhcp=false network-console/start=true url=http://install/preseeds/mustervm-bionic.seed'
ERROR    '>=' not supported between instances of 'NoneType' and 'str'

该错误消息似乎是由-- http://..位置引起的。参数。如果我使用--boot cdrom,例如hd,该命令将按预期工作。

谢谢

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-10-20 14:17:22

仅供参考:

似乎目录结构有问题。请参阅:https://bugs.launchpad.net/ubuntu-z-systems/+bug/1872941

然而,这仍然存在于当前可用的焦点/宇宙包中: virt-manager 1:2.2.1-3ubuntu2

如果你遇到这个问题,就像我一样,上游版本就是你要找的。另请参阅:https://github.com/virt-manager/virt-manager/issues/171

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/64205779

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档