Unable to install VirtualBox on Ubuntu 18.04












0














When ever in run the following command to install VirtualBox 5.2



sudo apt-get install virtualbox-5.2


I get the following dependency is missing



The following packages have unmet dependencies:
virtualbox-5.2 : Depends: libcurl3 (>= 7.16.2)
but it is not going to be installed


So I ran the following commands to try to install the missing/broken package



sudo apt-get update
sudo apt-get upgrade
sudo apt install -f


The output from the final command says



0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


In my /etc/apt/sources.list I have the following for virtual box



deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bionic contrib


So how to I go about fixing this error? I even tried to install it from the .deb package with the following command



sudo dpkg -i virtualbox-5.2_5.2.22-126460~Ubuntu~bionic_amd64.deb


I got the following output with different missing dependencies



dpkg: dependency problems prevent configuration of virtualbox-5.2:
virtualbox-5.2 depends on libqt5core5a (>= 5.9.0~beta); however:
Version of libqt5core5a:amd64 on system is 5.5.1+dfsg-16ubuntu7.5.
virtualbox-5.2 depends on libqt5opengl5 (>= 5.0.2); however:
Package libqt5opengl5 is not installed.
virtualbox-5.2 depends on libqt5widgets5 (>= 5.7.0); however:
Version of libqt5widgets5:amd64 on system is 5.5.1+dfsg-16ubuntu7.5.
virtualbox-5.2 depends on libqt5x11extras5 (>= 5.6.0); however:
Package libqt5x11extras5 is not installed.


I am running an amd 64 bit machine with ubuntu 18.04.1










share|improve this question


















  • 1




    Why do you have extra source for virtualbox? Virtualbox is directly in Ubuntu repositories, no extra action needed
    – marosg
    Dec 6 '18 at 8:26










  • @marosg I tried to install it from the official repo too and got a different set of dependencies missing also. I am not sure what to do
    – Mustafa Khan
    Dec 6 '18 at 8:32










  • Please add output of apt-cache policy libcurl3 libqt5core5a to the question. It seems that you have some repositories missed. Check them in software-properties-gtk.
    – N0rbert
    Dec 6 '18 at 19:37


















0














When ever in run the following command to install VirtualBox 5.2



sudo apt-get install virtualbox-5.2


I get the following dependency is missing



The following packages have unmet dependencies:
virtualbox-5.2 : Depends: libcurl3 (>= 7.16.2)
but it is not going to be installed


So I ran the following commands to try to install the missing/broken package



sudo apt-get update
sudo apt-get upgrade
sudo apt install -f


The output from the final command says



0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


In my /etc/apt/sources.list I have the following for virtual box



deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bionic contrib


So how to I go about fixing this error? I even tried to install it from the .deb package with the following command



sudo dpkg -i virtualbox-5.2_5.2.22-126460~Ubuntu~bionic_amd64.deb


I got the following output with different missing dependencies



dpkg: dependency problems prevent configuration of virtualbox-5.2:
virtualbox-5.2 depends on libqt5core5a (>= 5.9.0~beta); however:
Version of libqt5core5a:amd64 on system is 5.5.1+dfsg-16ubuntu7.5.
virtualbox-5.2 depends on libqt5opengl5 (>= 5.0.2); however:
Package libqt5opengl5 is not installed.
virtualbox-5.2 depends on libqt5widgets5 (>= 5.7.0); however:
Version of libqt5widgets5:amd64 on system is 5.5.1+dfsg-16ubuntu7.5.
virtualbox-5.2 depends on libqt5x11extras5 (>= 5.6.0); however:
Package libqt5x11extras5 is not installed.


I am running an amd 64 bit machine with ubuntu 18.04.1










share|improve this question


















  • 1




    Why do you have extra source for virtualbox? Virtualbox is directly in Ubuntu repositories, no extra action needed
    – marosg
    Dec 6 '18 at 8:26










  • @marosg I tried to install it from the official repo too and got a different set of dependencies missing also. I am not sure what to do
    – Mustafa Khan
    Dec 6 '18 at 8:32










  • Please add output of apt-cache policy libcurl3 libqt5core5a to the question. It seems that you have some repositories missed. Check them in software-properties-gtk.
    – N0rbert
    Dec 6 '18 at 19:37
















0












0








0







When ever in run the following command to install VirtualBox 5.2



sudo apt-get install virtualbox-5.2


I get the following dependency is missing



The following packages have unmet dependencies:
virtualbox-5.2 : Depends: libcurl3 (>= 7.16.2)
but it is not going to be installed


So I ran the following commands to try to install the missing/broken package



sudo apt-get update
sudo apt-get upgrade
sudo apt install -f


The output from the final command says



0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


In my /etc/apt/sources.list I have the following for virtual box



deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bionic contrib


So how to I go about fixing this error? I even tried to install it from the .deb package with the following command



sudo dpkg -i virtualbox-5.2_5.2.22-126460~Ubuntu~bionic_amd64.deb


I got the following output with different missing dependencies



dpkg: dependency problems prevent configuration of virtualbox-5.2:
virtualbox-5.2 depends on libqt5core5a (>= 5.9.0~beta); however:
Version of libqt5core5a:amd64 on system is 5.5.1+dfsg-16ubuntu7.5.
virtualbox-5.2 depends on libqt5opengl5 (>= 5.0.2); however:
Package libqt5opengl5 is not installed.
virtualbox-5.2 depends on libqt5widgets5 (>= 5.7.0); however:
Version of libqt5widgets5:amd64 on system is 5.5.1+dfsg-16ubuntu7.5.
virtualbox-5.2 depends on libqt5x11extras5 (>= 5.6.0); however:
Package libqt5x11extras5 is not installed.


I am running an amd 64 bit machine with ubuntu 18.04.1










share|improve this question













When ever in run the following command to install VirtualBox 5.2



sudo apt-get install virtualbox-5.2


I get the following dependency is missing



The following packages have unmet dependencies:
virtualbox-5.2 : Depends: libcurl3 (>= 7.16.2)
but it is not going to be installed


So I ran the following commands to try to install the missing/broken package



sudo apt-get update
sudo apt-get upgrade
sudo apt install -f


The output from the final command says



0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


In my /etc/apt/sources.list I have the following for virtual box



deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bionic contrib


So how to I go about fixing this error? I even tried to install it from the .deb package with the following command



sudo dpkg -i virtualbox-5.2_5.2.22-126460~Ubuntu~bionic_amd64.deb


I got the following output with different missing dependencies



dpkg: dependency problems prevent configuration of virtualbox-5.2:
virtualbox-5.2 depends on libqt5core5a (>= 5.9.0~beta); however:
Version of libqt5core5a:amd64 on system is 5.5.1+dfsg-16ubuntu7.5.
virtualbox-5.2 depends on libqt5opengl5 (>= 5.0.2); however:
Package libqt5opengl5 is not installed.
virtualbox-5.2 depends on libqt5widgets5 (>= 5.7.0); however:
Version of libqt5widgets5:amd64 on system is 5.5.1+dfsg-16ubuntu7.5.
virtualbox-5.2 depends on libqt5x11extras5 (>= 5.6.0); however:
Package libqt5x11extras5 is not installed.


I am running an amd 64 bit machine with ubuntu 18.04.1







18.04 package-management virtualbox






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 6 '18 at 7:47









Mustafa KhanMustafa Khan

1




1








  • 1




    Why do you have extra source for virtualbox? Virtualbox is directly in Ubuntu repositories, no extra action needed
    – marosg
    Dec 6 '18 at 8:26










  • @marosg I tried to install it from the official repo too and got a different set of dependencies missing also. I am not sure what to do
    – Mustafa Khan
    Dec 6 '18 at 8:32










  • Please add output of apt-cache policy libcurl3 libqt5core5a to the question. It seems that you have some repositories missed. Check them in software-properties-gtk.
    – N0rbert
    Dec 6 '18 at 19:37
















  • 1




    Why do you have extra source for virtualbox? Virtualbox is directly in Ubuntu repositories, no extra action needed
    – marosg
    Dec 6 '18 at 8:26










  • @marosg I tried to install it from the official repo too and got a different set of dependencies missing also. I am not sure what to do
    – Mustafa Khan
    Dec 6 '18 at 8:32










  • Please add output of apt-cache policy libcurl3 libqt5core5a to the question. It seems that you have some repositories missed. Check them in software-properties-gtk.
    – N0rbert
    Dec 6 '18 at 19:37










1




1




Why do you have extra source for virtualbox? Virtualbox is directly in Ubuntu repositories, no extra action needed
– marosg
Dec 6 '18 at 8:26




Why do you have extra source for virtualbox? Virtualbox is directly in Ubuntu repositories, no extra action needed
– marosg
Dec 6 '18 at 8:26












@marosg I tried to install it from the official repo too and got a different set of dependencies missing also. I am not sure what to do
– Mustafa Khan
Dec 6 '18 at 8:32




@marosg I tried to install it from the official repo too and got a different set of dependencies missing also. I am not sure what to do
– Mustafa Khan
Dec 6 '18 at 8:32












Please add output of apt-cache policy libcurl3 libqt5core5a to the question. It seems that you have some repositories missed. Check them in software-properties-gtk.
– N0rbert
Dec 6 '18 at 19:37






Please add output of apt-cache policy libcurl3 libqt5core5a to the question. It seems that you have some repositories missed. Check them in software-properties-gtk.
– N0rbert
Dec 6 '18 at 19:37












0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1098859%2funable-to-install-virtualbox-on-ubuntu-18-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1098859%2funable-to-install-virtualbox-on-ubuntu-18-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?