Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When attempting to install git (and probably other packages), I get this error:

$ sudo yum -y install git

 git                       x86_64            rmit-res-rhel6-local                             7.5 M
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY

Public key for git- is not installed

I see from other questions (Public key not found for RPM) that the answer will probably be:

sudo rpm --import <SOMEKEY>

But what is the value of SOMEKEY here?

Also, what happened to my system to make this happen? What went wrong?

(This is a RHEL VM provisioned by a university ITS group. I have root access [obviously] but don't know its setup terribly well.)

share|improve this question

Hmm, by a fun coincidence, the key referred to in the related question seemed to do the trick:

rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt

But why?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.