我已经在我的 Oracle VM 中安装了 Ubuntu 20.04 LTS。
我正在尝试在其中安装 python。
当我尝试输入sudo apt install python2
命令时,系统抛出一个错误:
vinod@vinod-VirtualBox:~$ sudo apt install python2
[sudo] password for vinod:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python2 is already the newest version (2.7.17-2ubuntu4).
0 upgraded, 0 newly installed, 0 to remove and 52 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up linux-image-5.4.0-42-generic (5.4.0-42.46) ...
Processing triggers for linux-image-5.4.0-42-generic (5.4.0-42.46) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 5.4.0-42-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-42-generic
/etc/kernel/postinst.d/vboxadd:
run-parts: failed to exec /etc/kernel/postinst.d/vboxadd: Exec format error
run-parts: /etc/kernel/postinst.d/vboxadd exited with return code 1
dpkg: error processing package linux-image-5.4.0-42-generic (--configure):
installed linux-image-5.4.0-42-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-5.4.0-42-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
vinod@vinod-VirtualBox:~$
Ubuntu 安装在我的虚拟机中崩溃的可能性有没有?