LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-15-2021, 10:07 PM   #1
Andrew Stallard
Member
 
Registered: Nov 2012
Posts: 39

Rep: Reputation: Disabled
Angry Failed dependencies errors when installing VirtualBox


I have downloaded VirtualBox 6.1 for my machine with these specs:

Code:
Operating System: CentOS Linux 8
       CPE OS Name: cpe:/o:centos:centos:8
            Kernel: Linux 4.18.0-240.15.1.el8_3.x86_64
      Architecture: x86-64
When I try to install it by running the command:

Code:
rpm -ivf  VirtualBox-6.1-6.1.18_142142_el8-1.x86_64.rpm
I get the following error message:

Code:
error: Failed dependencies:
	libQt5Core.so.5()(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5Core.so.5(Qt_5)(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5Core.so.5(Qt_5.11)(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5Gui.so.5()(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5Gui.so.5(Qt_5)(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5OpenGL.so.5()(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5OpenGL.so.5(Qt_5)(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5PrintSupport.so.5()(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5PrintSupport.so.5(Qt_5)(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5Widgets.so.5()(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5Widgets.so.5(Qt_5)(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5X11Extras.so.5()(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5X11Extras.so.5(Qt_5)(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libSDL-1.2.so.0()(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
I tried updating. I tried yum update and dnf update. I tried installing the Development tools. I even tried installing every file mentioned in the error message one by one but this still keeps happening. What is going on?
 
Old 03-16-2021, 01:03 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by Andrew Stallard View Post
I have downloaded VirtualBox 6.1 for my machine with these specs:

Code:
Operating System: CentOS Linux 8
       CPE OS Name: cpe:/o:centos:centos:8
            Kernel: Linux 4.18.0-240.15.1.el8_3.x86_64
      Architecture: x86-64
When I try to install it by running the command:

Code:
rpm -ivf  VirtualBox-6.1-6.1.18_142142_el8-1.x86_64.rpm
I get the following error message:

Code:
error: Failed dependencies:
	libQt5Core.so.5()(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5Core.so.5(Qt_5)(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5Core.so.5(Qt_5.11)(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5Gui.so.5()(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5Gui.so.5(Qt_5)(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5OpenGL.so.5()(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5OpenGL.so.5(Qt_5)(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5PrintSupport.so.5()(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5PrintSupport.so.5(Qt_5)(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5Widgets.so.5()(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5Widgets.so.5(Qt_5)(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5X11Extras.so.5()(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libQt5X11Extras.so.5(Qt_5)(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
	libSDL-1.2.so.0()(64bit) is needed by VirtualBox-6.1-6.1.18_142142_el8-1.x86_64
I tried updating. I tried yum update and dnf update. I tried installing the Development tools. I even tried installing every file mentioned in the error message one by one but this still keeps happening. What is going on?
Why are you using rpm to install VirtualBox? Why not use dnf?

In any case, you'd need to install all required dependencies manually if you use rpm directly.

If the Virtualbox package isn't in the CentOS 8 repo's, you can use the .run installer from Virtualbox's website instead - but you will need the development tools installed in that case. Because it'll need to build Virtualbox's kernel drivers for the kernel your system is running in that case.
 
1 members found this post helpful.
Old 03-16-2021, 12:27 PM   #3
Andrew Stallard
Member
 
Registered: Nov 2012
Posts: 39

Original Poster
Rep: Reputation: Disabled
Cool

Yes it worked!

I couldn't find this option at the VirtualBox site only rpm's to download, but got it now.

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] virtualbox is installed along with virtualbox-dkms and virtualbox-ext-pack and linux-headers-generic, but error for no /dev/vboxdrv Astral Axiom Linux - Software 2 03-04-2019 08:09 PM
Issues with dependencies when installing php70-fpm. I have newer versions of the dependencies installed, but php70-fpm requires older KurtisKewl *BSD 9 05-02-2017 01:23 PM
Errors, Errors, and more Errors (KDE 3.4.x GUI Errors) Dralnu Linux - Software 2 05-13-2006 08:30 AM
Grub errors...grub errors...grub errors smattmac Linux - Newbie 1 06-13-2005 02:07 PM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration