I just performed a fresh install of 64-bit Centos 5 on a system, booted fine, then performed a yum update, or at least tried to. Files downloaded, and were about to install, when it complained that the gpg keys could not be found. I ran into this about a month ago and found a web page showing the path locally to where the keys live, and providing rpm --import /to/the/path. But of course now I cannot find that page. Could someone kindly remind me the path to the keys, or simply the one-liner rpm to import the keys? Thanks. Scott
On Wed, 11 Jul 2007, Scott Ehrlich wrote:> I just performed a fresh install of 64-bit Centos 5 on a system, booted fine, > then performed a yum update, or at least tried to. Files downloaded, and > were about to install, when it complained that the gpg keys could not be > found. > > I ran into this about a month ago and found a web page showing the path > locally to where the keys live, and providing rpm --import /to/the/path. > > But of course now I cannot find that page. > > Could someone kindly remind me the path to the keys, or simply the one-liner > rpm to import the keys? > > Thanks. > > Scott > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >The answer was rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY... Thanks to the responses! Scott
On Wednesday 11 July 2007, Scott Ehrlich wrote:> I just performed a fresh install of 64-bit Centos 5 on a system, booted > fine, then performed a yum update, or at least tried to. Files > downloaded, and were about to install, when it complained that the gpg > keys could not be found....and asked you if you wanted it to add it for you (Y/N) /Peter -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: <http://lists.centos.org/pipermail/centos/attachments/20070711/b7539b8b/attachment.sig>
Scott Ehrlich wrote:> Could someone kindly remind me the path to the keys, or simply the > one-liner rpm to import the keys?It should be right on the root of the CD, called: RPM-GPG-KEY-CentOS-5 (you can also import it off of any mirror) But that's really strange because on my CentOS 5 install, as part of the yum update process, it asks me if I want to import the key. It was only pre-C5 that I had to do this manually. johnn
hi Scott, Scott Ehrlich wrote:> I just performed a fresh install of 64-bit Centos 5 on a system, booted > fine, then performed a yum update, or at least tried to. Files > downloaded, and were about to install, when it complained that the gpg > keys could not be found.I would be slightly concerned about this - your centos install isnt a standard install - which should cause some alarm and maybe point at potential compromised media.> I ran into this about a month ago and found a web page showing the path > locally to where the keys live, and providing rpm --import /to/the/path.Mechanisms for handling the key are built into yum, the fact that your system didnt come up with that would be further cause for concern. did you sha1sum check the iso's ? did you run the media check on the install media ? -- Karanbir Singh : http://www.karan.org/ : 2522219 at icq