Update VirtualBox 5.2 to 6.0 on Fedora 29
I recently installed VirtualBox 5.2 using command sudo dnf install VirtualBox in the terminal because when the last time I installed using rpm file it didn't work and had to reinstall Fedora again. Now when I ran I came to know old version is installed from RPMFusion repository. How to update v5.2 to v6.0? RPMFusion contains v6.0 but don't know why old version got installed. I tried sudo dnf update but it didn't found any updates. When I use sudo dnf update VirtualBox-6.0 it finds it (137 MB Downlaod)but then says conflict with VirtualBox 5.2 and doesn't proceed. I tried using this- sudo dnf install Downloads/VirtualBox-6.0.rpm, this also failed. Then I tried sudo rpm -ivh Downloads/VirtualBox-6.0.rpm but it also failed. Any ideas how to update v5.2 to v6.0?
Virtual Box can be installed directly from the web page.
sudo rpm -ifvh VirtualBox.rpm warning: VirtualBox.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY Verifying... ################################# [100%] Preparing... ################################# [100%] file /usr/bin/VBox from install of VirtualBox-6.0-6.0.4_128413_fedora29-1.x86_64 conflicts with file from package VirtualBox-server-5.2.24-1.fc29.x86_64 file /usr/bin/VBoxTunctl from install of VirtualBox-6.0-6.0.4_128413_fedora29-1.x86_64 conflicts with file from package VirtualBox-server-5.2.24-1.fc29.x86_64 file /usr/bin/vbox-
Remove all the stuff you have installed before...
VirtualBox-server
is from rpmfusion, there is no need for that. Don't mix VBox packages from different sources. Go either with the rpmfusion one, or the Oracle one.Did you see `dnf list 'VirtualBox*' to see what is available from the different sources?