How to install Virtualbox 7.0.2 from .deb in Ubuntu Software Center after installing a Virtualbox beta?
How do I install Virtualbox 7.0.2 on Ubuntu 22.04 using the Ubuntu Software Center?
This is complicated by the fact I installed a Virtualbox 7 beta.
More specifcally, I get the following error when trying in Ubuntu Software Center using virtualbox-7.0_7.0.2-154219_Ubuntu_jammy_amd64.deb
:
Unable to install virtualbox-7.0:
Error while installing package: new virtualbox-7.0 package
pre-installation script subprocess returned error exit status 1
I reproduced this error by downloading this .run file from virtualbox.org and running the following command:
sudo ./VirtualBox-7.0.0_BETA3-153872-Linux_amd64.run
As I’m playing with beta software I’m OK with something quick, dirty or hacky to get past the install error.
As requested by others, sadly /var/log/apt/term.log
has little additional detail:
Log started: 2022-11-07 11:26:11
(Reading database ... 202648 files and directories currently installed.)
Preparing to unpack .../virtualbox-7.0_7.0.2-154219_Ubuntu_jammy_amd64.deb ...
dpkg: error processing archive /home/peter/Downloads/virtualbox-7.0_7.0.2-154219_Ubuntu_jammy_amd64.deb (--unpack):
new virtualbox-7.0 package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/home/peter/Downloads/virtualbox-7.0_7.0.2-154219_Ubuntu_jammy_amd64.deb
Log ended: 2022-11-07 11:26:12
Read more here: Source link