Index: /trunk/src/VBox/Installer/linux/vboxdrv.sh.in
===================================================================
--- /trunk/src/VBox/Installer/linux/vboxdrv.sh.in	(revision 43728)
+++ /trunk/src/VBox/Installer/linux/vboxdrv.sh.in	(revision 43729)
@@ -300,7 +300,10 @@
 {
     stop
-    begin_msg "Uninstalling old VirtualBox DKMS kernel modules"
-    $DODKMS uninstall vboxhost vboxdrv vboxnetflt vboxnetadp > $LOG
-    succ_msg
+    DKMS=`which dkms 2>/dev/null`
+    if [ -n "$DKMS" ]; then
+      begin_msg "Uninstalling old VirtualBox DKMS kernel modules"
+      $DODKMS uninstall vboxhost vboxdrv vboxnetflt vboxnetadp > $LOG
+      succ_msg
+    fi
     if find /lib/modules/`uname -r` -name "vboxpci\.*" 2>/dev/null|grep -q vboxpci; then
         begin_msg "Removing old VirtualBox pci kernel module"
@@ -323,5 +326,4 @@
         succ_msg
     fi
-    DKMS=`which dkms 2>/dev/null`
     if [ -n "$DKMS" ]; then
       begin_msg "Trying to register the VirtualBox kernel modules using DKMS"
