Find the answer to your Linux question:
Results 1 to 9 of 9
Every time I try to download new software using RH 6 I got an error that looks something like this. Code: GPG key retrieval failed: [Errno 14] Could not open/read ...
  1. #1
    Just Joined!
    Join Date
    Dec 2010
    Posts
    66

    Add/Remove & updates

    Every time I try to download new software using RH 6 I got an error that looks something like this.

    Code:
    GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms
    Thanks for any and all replies.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Try to install it again :
    Code:
    rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Dec 2010
    Posts
    66

    error

    Quote Originally Posted by devils casper View Post
    Try to install it again :
    Code:
    rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
    [Garrett@RedhatPart ~]$ rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
    error: cannot get exclusive lock on /var/lib/rpm/Packages
    error: cannot open Packages index using db3 - Operation not permitted (1)
    error: cannot open Packages database in /var/lib/rpm
    error: http://packages.atrpms.net/RPM-GPG-KEY.atrpms: key 1 import failed.
    [Garrett@RedhatPart ~]$

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute that command as root only.
    Code:
    su -
    rpm --import http://packages.atrpms.net/RPM-GPGKEY.atrpms
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Dec 2010
    Posts
    66

    What is the deal?

    Quote Originally Posted by devils casper View Post
    Execute that command as root only.
    Code:
    su -
    rpm --import http://packages.atrpms.net/RPM-GPGKEY.atrpms
    [root@RedhatPart ~]# rpm --import http://packages.atrpms.net/RPM-GPGKEY.atrpms
    curl: (22) The requested URL returned error: 404
    error: http://packages.atrpms.net/RPM-GPGKEY.atrpms: import read failed(2).
    [root@RedhatPart ~]#

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    My mistake. It looks like copy/paste didn't work correctly. There is a typo in the url.
    Correct url is :
    Code:
    http://packages.atrpms.net/RPM-GPG-KEY.atrpms
    Execute this
    Code:
    su -
    rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Dec 2010
    Posts
    66

    error: http://packages.atrpms.net/RPM-GPG-KEY.atrpms: key 1 import fai

    Quote Originally Posted by devils casper View Post
    My mistake. It looks like copy/paste didn't work correctly. There is a typo in the url.
    Correct url is :
    Code:
    http://packages.atrpms.net/RPM-GPG-KEY.atrpms
    Execute this
    Code:
    su -
    rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
    [root@RedhatPart ~]# rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
    error: http://packages.atrpms.net/RPM-GPG-KEY.atrpms: key 1 import failed.
    [root@RedhatPart ~]#

    Does Redhat just not care?

  8. #8
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,298
    You could try

    Code:
    su -
    rpm --verbose --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
    to see if it gives you any more information
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  9. #9
    Just Joined!
    Join Date
    Dec 2010
    Posts
    66

    I don't think it's ment to be

    Quote Originally Posted by elija View Post
    You could try

    Code:
    su -
    rpm --verbose --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
    to see if it gives you any more information
    [root@RedhatPart ~]# rpm --verbose --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
    error: http://packages.atrpms.net/RPM-GPG-KEY.atrpms: key 1 import failed.
    [root@RedhatPart ~]#

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...