4 Replies Latest reply on Jan 9, 2012 7:20 PM by user596857

    yum - No package dkms available

    user596857
      Dear Experts,

      64 bit Server is:

      lsb_release -a
      LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
      Distributor ID: EnterpriseEnterpriseServer
      Description: Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
      Release: 5.5
      Codename: Carthage

      uname -a
      Linux black.testrac.com 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux


      I'm trying to install Virtual Box.
      It's been quite the soap opera so far.


      rpm -qa | grep -i "virtual"
      VirtualBox-4.1-4.1.8_75467_rhel5-1


      ------------

      /etc/init.d/vboxdrv setup

      Stopping VirtualBox kernel modules [  OK  ]
      Uninstalling old VirtualBox DKMS kernel modules [  OK  ]
      Trying to register the VirtualBox kernel modules using DKMS[FAILED]
      (Failed, trying without DKMS)
      Recompiling VirtualBox kernel modules [FAILED]
      (Look at /var/log/vbox-install.log to find out what went wrong)

      It keeps saying that there is no dkms package available.



      ------------

      But when I try to get it with yum:

      yum install dkms
      Loaded plugins: security
      Setting up Install Process
      No package dkms available.
      Nothing to do


      ------------


      cd /etc/yum.repos.d

      At first, yum didn't find anything.

      yum install dkms
      Loaded plugins: security
      Setting up Install Process
      No package dkms available.
      Nothing to do


      -------------------

      So I changed public-yum-el5.repo
      change every enabled to: enabled=1

      yum install dkms

      Loaded plugins: security
      el5_addons | 951 B 00:00
      el5_addons/primary | 20 kB 00:00
      el5_addons 85/85
      el5_ga_base | 1.1 kB 00:00
      el5_ga_base/primary | 993 kB 00:01
      el5_ga_base 3887/3887
      el5_oracle_addons | 951 B 00:00
      el5_oracle_addons/primary | 1.7 kB 00:00
      el5_oracle_addons 7/7
      el5_u1_base | 1.1 kB 00:00
      el5_u1_base/primary | 1.0 MB 00:01
      el5_u1_base 3968/3968
      el5_u2_base | 1.1 kB 00:00
      el5_u2_base/primary | 1.0 MB 00:01
      el5_u2_base 4101/4101
      el5_u3_base | 1.1 kB 00:00
      el5_u3_base/primary | 1.1 MB 00:01
      el5_u3_base 4172/4172
      el5_u4_base | 1.1 kB 00:00
      el5_u4_base/primary | 1.1 MB 00:01
      el5_u4_base 4285/4285
      el5_u5_base | 1.1 kB 00:00
      ol5_u5_base | 951 B 00:00
      ol5_u6_base | 1.1 kB 00:00
      ol5_u6_base/primary | 1.5 MB 00:01
      ol5_u6_base 4551/4551
      ol5_u7_base | 1.1 kB 00:00
      ol5_u7_base/primary | 1.5 MB 00:01
      ol5_u7_base 4605/4605
      Setting up Install Process
      No package dkms available.
      Nothing to do


      ------------


      I did find many dkms package at:

      http://rpmfind.net/linux/rpm2html/search.php?query=dkms&submit=Search+...&system=&arch=

      A few hundred perhaps.



      ------------

      Which package would be the correct one for my server's architecture and Virtual Box?


      dkms-2.0.20.2-1.el5.rf.noarch.html
      looks promising.


      See more here:
      http://rpmfind.net/linux/RPM/dag/redhat/el5/x86_64/DByName.html

      Would this one be correct?

      Thanks a lot!