www.centos.org Forum Index CentOS 4 - General Support GPG Keys
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread | Rated: 2 Votes |
|---|
|
GPG Keys | #1 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2005/6/3
From Tokyo
Posts: 51
|
Hi All,
ok, took the plunge, and allowed this new install to touch the net, and when running yum for the 1st time, I get the following, [root@localhost cdrecorder]# yum update You have enabled checking of packages via GPG keys. This is a good thing. However, you do not have any GPG public keys installed. You need to download the keys for packages you wish to install and install them. You can do that by running the command: rpm --import public.gpg.key Alternatively you can specify the url to the key you would like to use for a repository in the 'gpgkey' option in a repository section and yum will install it for you. For more information contact your distribution or package provider. [root@localhost cdrecorder]# so, I ran rpm --import public.gpg.key but got the following, [root@localhost cdrecorder]# rpm --import public.gpg.key error: public.gpg.key: import read failed. [root@localhost cdrecorder]# What is needed here..? EDIT: Ok, I found DAG and did the following, [root@localhost cdrecorder]# rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt warning: cannot get exclusive lock on /var/lib/rpm/Packages [root@localhost cdrecorder]# |
||
|
_________________
cheers. coolboarderguy... |
|||
Posted on: 2005/8/20 4:18
|
|||
|
Re: GPG Keys | #2 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2005/7/13
From Canada
Posts: 428
|
Quote:
This is normal. You haven't imported the CentOS GPG key. Check out the CentOS faq for instructions: http://www.centos.org/modules/smartfaq/faq.php?faqid=30 Quote:
One of your sessions has locked up the RPM database. Either reboot or try to figure out the process that has the db locked. eg: /sbin/fuser -v /var/lib/rpm/Packages or: ps -aux | grep -i rpm |
||
Posted on: 2005/8/20 4:59
|
|||
|
Re: GPG Keys | #3 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2005/6/3
From Tokyo
Posts: 51
|
Hi All,
thanx for the quick response, [root@localhost ~]# ps -aux | grep -i rpm Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ root 526 0.0 0.2 5324 680 pts/9 S+ 14:14 0:00 grep -i rpm and [root@localhost ~]# /sbin/fuser -v /var/lib/rpm/Packages USER PID ACCESS COMMAND /var/lib/rpm/Packages root 3232 f.... system-config-n sorry, not sure what to make of it. |
||
|
_________________
cheers. coolboarderguy... |
|||
Posted on: 2005/8/20 5:18
|
|||
|
Re: GPG Keys | #4 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2005/7/13
From Canada
Posts: 428
|
Quote:
It's telling you that process 3232 (system-config-n) has a lock on the rpm database. Try killing the process or rebooting. |
||
Posted on: 2005/8/20 18:14
|
|||
|
Re: GPG Keys | #6 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2005/6/3
From Tokyo
Posts: 51
|
Hi All,
ok, I get this when doing a yum update yum, Dependencies Resolved Transaction Listing: Update: yum.noarch 0:2.2.1-1.centos4 - base Total download size: 382 k Is this ok [y/N]: y Downloading Packages: (1/1): yum-2.2.1-1.centos 100% |=========================| 382 kB 00:04 warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 443e1821 public key not available for yum-2.2.1-1.centos4.noarch.rpm [root@status1 ~]# rpm -q gpg-pubkey --qf "%{summary} -> %{version}-%{release}\n" gpg(Dag Wieers (Dag Apt Repository v1.0) <dag@wieers.com>) -> 6b8d79e6-3f49313d [root@status1 ~]# What am I missing.? |
||
|
_________________
cheers. coolboarderguy... |
|||
Posted on: 2005/8/22 5:27
|
|||
|
Re: GPG Keys | #7 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2005/7/13
From Canada
Posts: 428
|
Quote:
Looks like you forgot to import Dag's GPG key. Follow the instructions on his page. |
||
Posted on: 2005/8/22 5:52
|
|||
|
Re: GPG Keys | #8 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2005/6/3
From Tokyo
Posts: 51
|
Hi All,
followed this, B2. How do I install your GPG key/signature ? Apt, Yum or up2date may require that a GPG key is installed. Please install the key as root before running any of these tools. As root, do the following: rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt Or alternatively, download this GPG key and install it as root by doing: rpm --import RPM-GPG-KEY.dag.txt You can see a list of install keys by doing: rpm -q gpg-pubkey --qf "%{summary} -> %{version}-%{release}\n" The fingerprint of my key is: 6b8d79e6-3f49313d [root@status1 ~]# rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt and at the bottom of my previous post, it shows the output of this, [root@status1 ~]# rpm -q gpg-pubkey --qf "%{summary} -> %{version}-%{release}\n"gpg(Dag Wieers (Dag Apt Repository v1.0) <dag@wieers.com>) -> 6b8d79e6-3f49313d Looks installed to me, no..? |
||
|
_________________
cheers. coolboarderguy... |
|||
Posted on: 2005/8/22 5:58
|
|||
|
Re: GPG Keys | #9 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2005/7/13
From Canada
Posts: 428
|
Quote:
Oops. I meant to type that you need to import the official CentOS GPG key. |
||
Posted on: 2005/8/22 6:03
|
|||
|
Re: GPG Keys | #10 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2005/6/3
From Tokyo
Posts: 51
|
Hi All,
ok, got it..thanx.. |
||
|
_________________
cheers. coolboarderguy... |
|||
Posted on: 2005/8/22 6:11
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
2 Votes
coolboarderguy




You cannot start a new topic.
You can view topic.