On using command
sudo apt install virtualbox
it's giving Output as
virtualbox-6.1 6.1.32-149290~Ubuntu~eoan
virtualbox-6.0 6.0.24-139119~Ubuntu~eoan
You should explicitly select one to install.
E: Package 'virtualbox' has no installation candidate
I have tried using
sudo apt install virtualbox-6.1 6.1.32-149290~Ubuntu~eoan
but getting this
E: Unable to locate package 6.1.32-149290~Ubuntu~eoan
/etc/apt/sources.list
contains
deb http://in.archive.ubuntu.com/ubuntu/ trusty main
deb-src http://in.archive.ubuntu.com/ubuntu/ trusty main
Ubuntu Update Repos
deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates main
deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates main
even tried sudo apt update and used sudo apt install virtualbox-6.1 but getting this
W: Target CNF (contrib/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/virtualbox.list:1 and /etc/apt/sources.list.d/virtualbox.list:3
for apt install virtualbox-6.1
virtualbox-6.1 : Depends: libqt5opengl5 (>= 5.0.2) but it is not going to be installed
Depends: libqt5printsupport5 (>= 5.0.2) but it is not going to be installed
Recommends: libsdl-ttf2.0-0 but it is not installable
E: Unable to correct problems, you have held broken packages.
Please suggest how can i install virtualbox through sudo apt install? Thanks.
sudo apt install VirtualBox
– matigo Mar 14 '22 at 10:59