I have installed Ubuntu 20.04 LTS in my Oracle VM.
I am trying to install python in it.
When I tried entering
sudo apt install python2 command, the system throws me an error:
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:~$
Is there any possibility the Ubuntu installation is crashed in my VM?