The trick is to drop into terminal, switch to su (su -), then yum reinstall the package. Don't forget to edit /etc/group and add the users to the vboxusers group afterwards if they aren't already members!
Hope you find this useful.
If you require the /etc/yum.repos.d/virtualboxrepo:
Code: Select all
[virtualbox]
name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc