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!

Related Questions

Not able to bring ad-hoc connection up

0  Asked on October 31, 2021 by tomato


Unable to run fsk (to solve boot problem)

1  Asked on March 10, 2021 by kevin-oleary


Problems with ethernet and wifi

2  Asked on March 10, 2021 by rvillablanca


Evolution Calendar Connection

0  Asked on March 7, 2021 by kelvinator


Is this a sign I got hacked?

1  Asked on March 6, 2021 by thomas-boisson


How I can run Zeitgeist with KDE

1  Asked on March 4, 2021 by bartosz-kuciel


Restart Ubuntu via keyboard

1  Asked on March 1, 2021 by mk1024


Video causes graphics to scramble

0  Asked on March 1, 2021 by user5647866


How to install a firmware update from an .exe file?

1  Asked on February 28, 2021 by h3r3t1k


What is the default password of user and guest in Ubuntu 12.04

6  Asked on February 28, 2021 by rock_buddy


Wifi not working on Realtek rtl8723be wifi adapter

2  Asked on February 27, 2021 by abhishek-bhatia


dpkg: error: while installing video downloader

0  Asked on February 27, 2021 by jeeva


Ask a Question

Get help from others!

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