Can't install VirtualBox on Debian 9

Clash Royale CLAN TAG#URR8PPP
up vote
-2
down vote
favorite
Hi' I want to install some VM on my Debian but the install fails I tried with two .deb (my pc is x64 so I tried to install first the amd64 version)
virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb- virtualbox-5.2_5.2.0-118431-Debian-stretch_i386.deb
output:
~/Downloads$ sudo dpkg -i virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb
(Reading database ... 359023 files and directories currently installed.)
Preparing to unpack virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb ...
Unpacking virtualbox-5.2 (5.2.0-118431~Debian~stretch) over (5.2.0-118431~Debian~stretch) ...
dpkg: dependency problems prevent configuration of virtualbox-5.2:
virtualbox-5.2 depends on libqt5core5a (>= 5.7.0).
virtualbox-5.2 depends on libqt5gui5 (>= 5.4.0).
virtualbox-5.2 depends on libqt5opengl5 (>= 5.0.2).
virtualbox-5.2 depends on libqt5printsupport5 (>= 5.0.2).
virtualbox-5.2 depends on libqt5widgets5 (>= 5.7.0).
virtualbox-5.2 depends on libqt5x11extras5 (>= 5.6.0).
dpkg: error processing package virtualbox-5.2 (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (232-25+deb9u1) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Processing triggers for shared-mime-info (1.8-1) ...
Errors were encountered while processing:
virtualbox-5.2
Can anyone help me?
software-installation virtualbox
add a comment |Â
up vote
-2
down vote
favorite
Hi' I want to install some VM on my Debian but the install fails I tried with two .deb (my pc is x64 so I tried to install first the amd64 version)
virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb- virtualbox-5.2_5.2.0-118431-Debian-stretch_i386.deb
output:
~/Downloads$ sudo dpkg -i virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb
(Reading database ... 359023 files and directories currently installed.)
Preparing to unpack virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb ...
Unpacking virtualbox-5.2 (5.2.0-118431~Debian~stretch) over (5.2.0-118431~Debian~stretch) ...
dpkg: dependency problems prevent configuration of virtualbox-5.2:
virtualbox-5.2 depends on libqt5core5a (>= 5.7.0).
virtualbox-5.2 depends on libqt5gui5 (>= 5.4.0).
virtualbox-5.2 depends on libqt5opengl5 (>= 5.0.2).
virtualbox-5.2 depends on libqt5printsupport5 (>= 5.0.2).
virtualbox-5.2 depends on libqt5widgets5 (>= 5.7.0).
virtualbox-5.2 depends on libqt5x11extras5 (>= 5.6.0).
dpkg: error processing package virtualbox-5.2 (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (232-25+deb9u1) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Processing triggers for shared-mime-info (1.8-1) ...
Errors were encountered while processing:
virtualbox-5.2
Can anyone help me?
software-installation virtualbox
1
wiki.debian.org/VirtualBox
â sebasth
Nov 6 '17 at 19:38
add a comment |Â
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
Hi' I want to install some VM on my Debian but the install fails I tried with two .deb (my pc is x64 so I tried to install first the amd64 version)
virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb- virtualbox-5.2_5.2.0-118431-Debian-stretch_i386.deb
output:
~/Downloads$ sudo dpkg -i virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb
(Reading database ... 359023 files and directories currently installed.)
Preparing to unpack virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb ...
Unpacking virtualbox-5.2 (5.2.0-118431~Debian~stretch) over (5.2.0-118431~Debian~stretch) ...
dpkg: dependency problems prevent configuration of virtualbox-5.2:
virtualbox-5.2 depends on libqt5core5a (>= 5.7.0).
virtualbox-5.2 depends on libqt5gui5 (>= 5.4.0).
virtualbox-5.2 depends on libqt5opengl5 (>= 5.0.2).
virtualbox-5.2 depends on libqt5printsupport5 (>= 5.0.2).
virtualbox-5.2 depends on libqt5widgets5 (>= 5.7.0).
virtualbox-5.2 depends on libqt5x11extras5 (>= 5.6.0).
dpkg: error processing package virtualbox-5.2 (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (232-25+deb9u1) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Processing triggers for shared-mime-info (1.8-1) ...
Errors were encountered while processing:
virtualbox-5.2
Can anyone help me?
software-installation virtualbox
Hi' I want to install some VM on my Debian but the install fails I tried with two .deb (my pc is x64 so I tried to install first the amd64 version)
virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb- virtualbox-5.2_5.2.0-118431-Debian-stretch_i386.deb
output:
~/Downloads$ sudo dpkg -i virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb
(Reading database ... 359023 files and directories currently installed.)
Preparing to unpack virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb ...
Unpacking virtualbox-5.2 (5.2.0-118431~Debian~stretch) over (5.2.0-118431~Debian~stretch) ...
dpkg: dependency problems prevent configuration of virtualbox-5.2:
virtualbox-5.2 depends on libqt5core5a (>= 5.7.0).
virtualbox-5.2 depends on libqt5gui5 (>= 5.4.0).
virtualbox-5.2 depends on libqt5opengl5 (>= 5.0.2).
virtualbox-5.2 depends on libqt5printsupport5 (>= 5.0.2).
virtualbox-5.2 depends on libqt5widgets5 (>= 5.7.0).
virtualbox-5.2 depends on libqt5x11extras5 (>= 5.6.0).
dpkg: error processing package virtualbox-5.2 (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (232-25+deb9u1) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Processing triggers for shared-mime-info (1.8-1) ...
Errors were encountered while processing:
virtualbox-5.2
Can anyone help me?
software-installation virtualbox
asked Nov 6 '17 at 18:29
OsmaK
62
62
1
wiki.debian.org/VirtualBox
â sebasth
Nov 6 '17 at 19:38
add a comment |Â
1
wiki.debian.org/VirtualBox
â sebasth
Nov 6 '17 at 19:38
1
1
wiki.debian.org/VirtualBox
â sebasth
Nov 6 '17 at 19:38
wiki.debian.org/VirtualBox
â sebasth
Nov 6 '17 at 19:38
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
6
down vote
To install virtualbox , run the following commands:
nano /etc/apt/sources.list.d/virtualbox.list
add the following line:
deb http://download.virtualbox.org/virtualbox/debian stretch contrib
Then:
curl -O https://www.virtualbox.org/download/oracle_vbox_2016.asc
apt-key add oracle_vbox_2016.asc
apt update
apt install virtualbox-5.1
Debian docs
3
Yes. This is also the "official" way to do it: wiki.debian.org/VirtualBox#Debian_9_.22Stretch.22
â maulinglawns
Nov 6 '17 at 18:35
add a comment |Â
up vote
1
down vote
You are having dependency issue. Run
# apt install -f
To fix dependencies
Or use apt directly
# apt install ./virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb
Which will fix dependency issues too.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
6
down vote
To install virtualbox , run the following commands:
nano /etc/apt/sources.list.d/virtualbox.list
add the following line:
deb http://download.virtualbox.org/virtualbox/debian stretch contrib
Then:
curl -O https://www.virtualbox.org/download/oracle_vbox_2016.asc
apt-key add oracle_vbox_2016.asc
apt update
apt install virtualbox-5.1
Debian docs
3
Yes. This is also the "official" way to do it: wiki.debian.org/VirtualBox#Debian_9_.22Stretch.22
â maulinglawns
Nov 6 '17 at 18:35
add a comment |Â
up vote
6
down vote
To install virtualbox , run the following commands:
nano /etc/apt/sources.list.d/virtualbox.list
add the following line:
deb http://download.virtualbox.org/virtualbox/debian stretch contrib
Then:
curl -O https://www.virtualbox.org/download/oracle_vbox_2016.asc
apt-key add oracle_vbox_2016.asc
apt update
apt install virtualbox-5.1
Debian docs
3
Yes. This is also the "official" way to do it: wiki.debian.org/VirtualBox#Debian_9_.22Stretch.22
â maulinglawns
Nov 6 '17 at 18:35
add a comment |Â
up vote
6
down vote
up vote
6
down vote
To install virtualbox , run the following commands:
nano /etc/apt/sources.list.d/virtualbox.list
add the following line:
deb http://download.virtualbox.org/virtualbox/debian stretch contrib
Then:
curl -O https://www.virtualbox.org/download/oracle_vbox_2016.asc
apt-key add oracle_vbox_2016.asc
apt update
apt install virtualbox-5.1
Debian docs
To install virtualbox , run the following commands:
nano /etc/apt/sources.list.d/virtualbox.list
add the following line:
deb http://download.virtualbox.org/virtualbox/debian stretch contrib
Then:
curl -O https://www.virtualbox.org/download/oracle_vbox_2016.asc
apt-key add oracle_vbox_2016.asc
apt update
apt install virtualbox-5.1
Debian docs
edited Nov 6 '17 at 18:37
answered Nov 6 '17 at 18:34
GAD3R
22.7k154895
22.7k154895
3
Yes. This is also the "official" way to do it: wiki.debian.org/VirtualBox#Debian_9_.22Stretch.22
â maulinglawns
Nov 6 '17 at 18:35
add a comment |Â
3
Yes. This is also the "official" way to do it: wiki.debian.org/VirtualBox#Debian_9_.22Stretch.22
â maulinglawns
Nov 6 '17 at 18:35
3
3
Yes. This is also the "official" way to do it: wiki.debian.org/VirtualBox#Debian_9_.22Stretch.22
â maulinglawns
Nov 6 '17 at 18:35
Yes. This is also the "official" way to do it: wiki.debian.org/VirtualBox#Debian_9_.22Stretch.22
â maulinglawns
Nov 6 '17 at 18:35
add a comment |Â
up vote
1
down vote
You are having dependency issue. Run
# apt install -f
To fix dependencies
Or use apt directly
# apt install ./virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb
Which will fix dependency issues too.
add a comment |Â
up vote
1
down vote
You are having dependency issue. Run
# apt install -f
To fix dependencies
Or use apt directly
# apt install ./virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb
Which will fix dependency issues too.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
You are having dependency issue. Run
# apt install -f
To fix dependencies
Or use apt directly
# apt install ./virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb
Which will fix dependency issues too.
You are having dependency issue. Run
# apt install -f
To fix dependencies
Or use apt directly
# apt install ./virtualbox-5.2_5.2.0-118431-Debian-stretch_amd64.deb
Which will fix dependency issues too.
answered Nov 6 '17 at 18:34
Jajo
112
112
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f402893%2fcant-install-virtualbox-on-debian-9%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
wiki.debian.org/VirtualBox
â sebasth
Nov 6 '17 at 19:38