![使用 ubuntu-vm-builder 创建虚拟机](https://linux22.com/image/851434/%E4%BD%BF%E7%94%A8%20ubuntu-vm-builder%20%E5%88%9B%E5%BB%BA%E8%99%9A%E6%8B%9F%E6%9C%BA.png)
我目前正在尝试在我的 Ubuntu Server 13.10 上安装虚拟机。我按照此指导。我能够安装并检查我的机器是否受支持,但是当我运行命令时:
sudo ubuntu-vm-builder kvm saucy
(我必须添加其他选项)
这需要几分钟。接下来的三分钟我得到的响应是:
2014-03-25 20:16:19,822 INFO : logging to file: /tmp/tmpsLRy82
2014-03-25 20:16:19,834 INFO : Calling hook: preflight_check
2014-03-25 20:16:19,835 INFO : Calling hook: set_defaults
2014-03-25 20:16:19,836 INFO : Calling hook: bootstrap
最终给出错误代码:
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.11.0-18-generic /boot/vmlinuz-3.11.0-18-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.11.0-18-generic /boot/vmlinuz-3.11.0-18-generic
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.11.0-18-generic_3.11.0-18.32_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
这是我第一次设置 KVM。