Ask Your Question
0

Can't run VirtualBox after installation

asked 2017-09-21 02:52:21 -0500

twinkle4toes gravatar image

I have tryed running VirtualBox after the installation. First I downloaded the rpm from VirtualBox and installed it. While I was installing it says Internal Failure. So I tryed it with dnf. I tryed to install it in thousand other ways now my situation is like this... First command: dnf update Then: dnf search VirtualBox Then it installed VirtualBox-5.1.x86_64 : Oracle VM VirtualBox Version It says Error Summary and i should empty my Cache. When i do it, it does help. It seems like I've installed it like 5 times and now they block eachother. Something with GuestMode seems to block it. Does any body know the problem ?

Terminal: [root@localhost fedora]# dnf search VirtualBox Last metadata expiration check: 1:40:40 ago on Do 21 Sep 2017 08:05:24 CEST. ====================================================================================== Name Exactly Matched: VirtualBox ======================================================================================= VirtualBox.x8664 : A general-purpose full virtualizer for PC hardware ===================================================================================== Summary & Name Matched: VirtualBox ====================================================================================== VirtualBox-devel.i686 : VirtualBox SDK VirtualBox-devel.x8664 : VirtualBox SDK VirtualBox-5.1.x8664 : Oracle VM VirtualBox python-VirtualBox.x8664 : Python bindings for VirtualBox VirtualBox-guest-additions.x8664 : VirtualBox Guest Additions VirtualBox-kmodsrc.x8664 : VirtualBox kernel module source code VirtualBox-server.x8664 : core part (host server) for VirtualBox VirtualBox-webservice.x8664 : WebService GUI part for VirtualBox akmod-VirtualBox.x8664 : Akmod package for VirtualBox kernel module(s) kmod-VirtualBox.x8664 : Metapackage which tracks in VirtualBox kernel module for newest kernel kmod-VirtualBox-4.12.13-300.fc26.x8664.x8664 : VirtualBox kernel module(s) for 4.12.13-300.fc26.x8664 ========================================================================================= Summary Matched: VirtualBox ========================================================================================= fence-agents-vbox.x8664 : Fence agent for VirtualBox libvirt-daemon-driver-vbox.x8664 : VirtualBox driver plugin for the libvirtd daemon RemoteBox.noarch : Open Source VirtualBox Client with Remote Management libvirt-daemon-vbox.x8664 : Server side daemon & driver required to run VirtualBox guests

[root@localhost fedora]# dnf install VirtualBox-5.1.x86_64 Last metadata expiration check: 1:44:13 ago on Do 21 Sep 2017 08:05:24 CEST.

Dependencies resolved.

Package Arch Version Repository Size

Installing: VirtualBox-5.1 x8664 5.1.28117968_fedora25-1 virtualbox 69 M

Transaction Summary

Install 1 Package

Total size: 69 M Installed size: 150 M Is this ok [y/N]: y Downloading Packages: [SKIPPED] VirtualBox-5.1-5.1.28117968fedora25-1.x8664.rpm: Already downloaded
Running transaction check Transaction check succeeded. Running transaction test The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction check error: file /usr/bin/VBox from install of VirtualBox-5.1-5.1.28
117968fedora25-1.x8664 conflicts with file from package VirtualBox-server-5.1.22-1.fc26.x8664 file /usr/bin/VBoxTunctl from install of VirtualBox-5.1-5.1.28117968fedora25-1.x8664 conflicts with file from package VirtualBox-server-5.1.22-1.fc26.x8664 file /usr/bin/vbox-img from install of VirtualBox-5.1-5.1.28117968fedora25-1.x8664 conflicts with file from package VirtualBox-server-5.1.22-1.fc26.x8664 file /usr/share/icons/hicolor/128x128/apps/virtualbox.png from install of VirtualBox-5.1-5.1.28117968fedora25-1.x8664 conflicts ... (more)

edit retag flag offensive close merge delete

Comments

2

Remove the package VirtualBox-server first with dnf remove VirtualBox-server. (BTW: Why have you installed VirtualBox-server?)

Axel Sommerfeldt gravatar imageAxel Sommerfeldt ( 2017-09-21 05:04:39 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-09-21 10:58:28 -0500

Nicholas gravatar image

updated 2017-09-21 11:02:22 -0500

Remove any VirtualBox packages you've installed.

Remove any VirtualBox repos in: /etc/yum.repos.d/.

Add the VirtualBox.repo file to /etc/yum.repos.d:

sudo tee -a /etc/yum.repos.d/VirtualBox.repo <<'__HERE__'
[virtualbox]
name=Fedora $releasever - $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/$releasever/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc
__HERE__

Clean and refresh your dnf repo cache:

sudo dnf clean all
sudo dnf update

Install the latest VirtualBox package (Make sure to accept the GPG key, you should be asked):

sudo dnf install VirtualBox-5.1-5.1.28_117968_fedora25-1.x86_64

Finally, download and install the VirtualBox Extension Pack:

Important: Please install the extension pack with the same version as your installed version of VirtualBox

VirtualBox Downloads

Direct Link

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-09-21 02:52:21 -0500

Seen: 794 times

Last updated: Sep 21 '17