Cannot install virtualbox 5.1 on Ubuntu 17.04

Ask Ubuntu Asked by An unknown developer on January 6, 2022

I have downloaded virtualbox 5.1 from the virtualbox website but I can’t install it. When I open the .deb file with ubuntu software and I click on Install, it doesn’t do nothing. I also tried from the command line, but it says that there’s an error on the dependencies. I also tried by adding the repository and then download the package, but it says that it’s not available.

Help me, please!


2 Answers

Try running this

$ echo deb xenial contrib | sudo tee -a /etc/apt/sources.list.d/virtualbox.list
$ wget -q -O- | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install virtualbox-5.1

After it finishes installing run

sudo apt-get update && sudo apt-get upgrade

just to make sure you got the latest version

Answered by Omar on January 6, 2022

  1. Verify you downloaded the correct package i386/amd64 from

  2. sudo dpkg -i virtualbox*.deb It throws dependencies error

  3. sudo apt-get -f install
  4. run sudo dpkg -i virtualbox*.deb again.

You can easily install from ppa sudo apt-get install virtualbox

Answered by saviour123 on January 6, 2022

Add your own answers!

Ask a Question

Get help from others!

© 2024 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP