Failed dependencies errors when installing VirtualBox
by Andrew Stallard from LinuxQuestions.org on (#5FCR5)
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-64When I try to install it by running the command:
Code:rpm -ivf VirtualBox-6.1-6.1.18_142142_el8-1.x86_64.rpmI 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_64I 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?


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-64When I try to install it by running the command:
Code:rpm -ivf VirtualBox-6.1-6.1.18_142142_el8-1.x86_64.rpmI 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_64I 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?