[OpenAFS] kmod for my kernel

Martin Flemming martin.flemming@desy.de
Thu, 2 Jul 2009 07:59:26 +0200 (CEST)


Hi !

.. i think, first  you have to import the epel-gpgkey

http://fedoraproject.org/wiki/EPEL/FAQ

   How can I install the packages from the EPEL software repository?

There are repository rpm packages for RHEL4 and RHEL5 . The repository
package installs the repo details on your local system for yum or up2date
to use. Then you can install packages with your usual method, and the EPEL
repository is included.

su -c 'rpm -Uvh 
http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm'
...
su -c 'yum install foo'

martin

On Wed, 1 Jul 2009, David Bear wrote:

> Martin, thank you so much. This was indeed a problem. I enabled the
> repository, then did
>
> sudo yum install dkms
>
> However, it seems there is a problem with something about the dkms package.
> Here's the response:
>
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
> * epel: mirror.hmc.edu
> * epel-debuginfo: mirror.hmc.edu
> * base: www.cyberuse.com
> * updates: centos.g5selfstorage.com
> * epel-source: mirror.hmc.edu
> * addons: mirror.stanford.edu
> * extras: www.cyberuse.com
> Setting up Install Process
> Parsing package install arguments
> Resolving Dependencies
> There are unfinished transactions remaining. You mightconsider running
> yum-complete-transaction first to finish them.
> --> Running transaction check
> ---> Package dkms.noarch 0:2.0.19.1-1.el4 set to be updated
> --> Finished Dependency Resolution
>
> Dependencies Resolved
>
> ==================================================================================================================================
> Package                    Arch
> Version                                 Repository                  Size
> ==================================================================================================================================
> Installing:
> dkms                       noarch
> 2.0.19.1-1.el4                          epel                        90 k
>
> Transaction Summary
> ==================================================================================================================================
> Install      1 Package(s)
> Update       0 Package(s)
> Remove       0 Package(s)
>
> Total size: 90 k
> Is this ok [y/N]: y
> Downloading Packages:
> warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6
> Traceback (most recent call last):
>  File "/usr/bin/yum", line 29, in ?
>    yummain.user_main(sys.argv[1:], exit_code=True)
>  File "/usr/share/yum-cli/yummain.py", line 229, in user_main
>    errcode = main(args)
>  File "/usr/share/yum-cli/yummain.py", line 181, in main
>    return_code = base.doTransaction()
>  File "/usr/share/yum-cli/cli.py", line 398, in doTransaction
>    if self.gpgsigcheck(downloadpkgs) != 0:
>  File "/usr/share/yum-cli/cli.py", line 498, in gpgsigcheck
>    self.getKeyForPackage(po, lambda x, y, z: self.userconfirm())
>  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 2916, in
> getKeyForPackage
>    keys = self._retrievePublicKey(keyurl)
>  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 2881, in
> _retrievePublicKey
>    keys_info = misc.getgpgkeyinfo(rawkey, multiple=True)
>  File "/usr/lib/python2.4/site-packages/yum/misc.py", line 282, in
> getgpgkeyinfo
>    raise ValueError('No key found in given key data')
> ValueError: No key found in given key data
>
> Now I'm completely lost. Is this a failure with the package ?
>
> On Wed, Jul 1, 2009 at 3:52 PM, Martin Flemming <martin.flemming@desy.de>wrote:
>
>>
>>
>> hmm, misterious ...
>>
>> http://download.fedora.redhat.com/pub/epel/4/i386/repoview/dkms.html
>>
>> Did you enabled the epel-repository with
>>
>> /epel.repo
>>
>>  enabled=0
>>>>
>>>
>> in enabled=1
>>
>> or
>>
>> yum  --enablerepo=epel install
>>
>>
>>        martin
>>
>> On Wed, 1 Jul 2009, David Bear wrote:
>>
>>  Thanks for this. I have added epel.repo to /etc/yum.repos.d/
>>>
>>> sudo yum install dkms
>>> Loaded plugins: fastestmirror
>>> Loading mirror speeds from cached hostfile
>>> * base: www.cyberuse.com
>>> * updates: centos.g5selfstorage.com
>>> * addons: mirror.stanford.edu
>>> * extras: www.cyberuse.com
>>> Setting up Install Process
>>> Parsing package install arguments
>>> No package dkms available.
>>> Nothing to do
>>>
>>>
>>>
>>> Still doing sudo yum install dkms gives me
>>>
>>> On Wed, Jul 1, 2009 at 3:23 PM, Martin Flemming <martin.flemming@desy.de
>>>> wrote:
>>>
>>>
>>>> http://fedoraproject.org/wiki/EPEL
>>>>
>>>> for RHEL4 e.g.
>>>>
>>>> ./Linux_RHEL4/etc/yum.repos.d/epel.repo
>>>>
>>>> [epel]
>>>> name=Extra Packages for Enterprise Linux 4 - $basearch
>>>> #baseurl=http://download.fedora.redhat.com/pub/epel/4/$basearch
>>>> mirrorlist=
>>>> http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=$basearch
>>>> failovermethod=priority
>>>> enabled=0
>>>> gpgcheck=1
>>>> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
>>>>
>>>> [epel-debuginfo]
>>>> name=Extra Packages for Enterprise Linux 4 - $basearch - Debug
>>>> #baseurl=http://download.fedora.redhat.com/pub/epel/4/$basearch/debug
>>>> mirrorlist=
>>>>
>>>> http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-4&arch=$basearch
>>>> failovermethod=priority
>>>> enabled=0
>>>> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
>>>> gpgcheck=1
>>>>
>>>> [epel-source]
>>>> name=Extra Packages for Enterprise Linux 4 - $basearch - Source
>>>> #baseurl=http://download.fedora.redhat.com/pub/epel/4/SRPMS
>>>> mirrorlist=
>>>>
>>>> http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-4&arch=$basearch
>>>> failovermethod=priority
>>>> enabled=0
>>>> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
>>>> gpgcheck=1
>>>>
>>>>
>>>>
>>>> cheers,
>>>>       martin
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, 1 Jul 2009, David Bear wrote:
>>>>
>>>>  okay. How do I add it to my set of repositories for yum to look in?
>>>> Whats
>>>>
>>>>> the url?
>>>>>
>>>>> On Wed, Jul 1, 2009 at 3:12 PM, Simon Wilkinson <sxw@inf.ed.ac.uk>
>>>>> wrote:
>>>>>
>>>>>
>>>>>  On 1 Jul 2009, at 22:47, Derrick Brashear wrote:
>>>>>>
>>>>>>  dkms dependency might be missing; did you try yum install dkms first?
>>>>>>
>>>>>>
>>>>>>>
>>>>>>>  yum didn't find it during the install of dkms-openafs, which means it
>>>>>> isn't
>>>>>> in yum's list of configured repositories.
>>>>>>
>>>>>> dkms isn't an official part of RHEL. It is available from EPEL, or as
>>>>>> part
>>>>>> of Scientific Linux.
>>>>>>
>>>>>> S.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>> David Bear
>>>>> College of Public Programs at ASU
>>>>> 602-464-0424
>>>>>
>>>>>
>>>>>
>>>
>>> --
>>> David Bear
>>> College of Public Programs at ASU
>>> 602-464-0424
>>>
>>>
>> Gruss
>>
>>       Martin Flemming
>>
>>
>> ______________________________________________________
>> Martin Flemming
>> DESY / IT          office : Building 2b / 008a
>> Notkestr. 85       phone  : 040 - 8998 - 4667
>> 22603 Hamburg      mail   : martin.flemming@desy.de
>> ______________________________________________________
>>
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>
>
>
>
> -- 
> David Bear
> College of Public Programs at ASU
> 602-464-0424
>

Gruss

        Martin Flemming


______________________________________________________
Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : 040 - 8998 - 4667
22603 Hamburg      mail   : martin.flemming@desy.de
______________________________________________________