Hello all,
trying to do the below command.
yum --installroot=/mnt groupinstall base
i receive this error message.
"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"
I have already imported the gpg keys in: /usr/share/rhn/RPM-GPG* /usr/share/doc/centos-release-4/RPM-GPG*
I can yum install <package> without issue but when I try the groupinstall option it fails
any suggestions?
Regards, Jesse Waters
On 9/12/05, Jesse Waters jesse.waters@gmail.com wrote:
Hello all,
trying to do the below command.
yum --installroot=/mnt groupinstall base
i receive this error message.
"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"
I have already imported the gpg keys in: /usr/share/rhn/RPM-GPG* /usr/share/doc/centos-release-4/RPM-GPG*
I can yum install <package> without issue but when I try the groupinstall option it fails
any suggestions?
Regards, Jesse Waters
Found the answer to my own question, I just created my own config file and bypassed the GPG checks
[base] name=CentOS-4.1 - Base baseurl=http://mirror.centos.org/centos/4.1/os/i386/ enabled=1
#released updates [update] name=CentOS-4.1 - Updates baseurl=http://mirror.centos.org/centos/4.1/updates/i386/ enabled=1
Jesse Waters wrote:
Hello all,
trying to do the below command.
yum --installroot=/mnt groupinstall base
i receive this error message.
"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"
I have already imported the gpg keys in: /usr/share/rhn/RPM-GPG* /usr/share/doc/centos-release-4/RPM-GPG*
I can yum install <package> without issue but when I try the groupinstall option it fails
any suggestions?
the rpmdb hosted inside the chroot needs the key,... Easy workaround is to have a custom yum.conf file, with the gpgcheck disabled ( and therefore you should use a secure, known good repository for the packages, maybe even a local mirror that you run yourself ).
Other option, is to import the key into the correct place with 'rpm --root <path to root> --import <gpg key>'
- K