Installer breaks when Public key for httpd-tools is not installed

I experienced a few times that the installer stops at:

+ echo -n ':::    Checking for php-common...'
:::    Checking for php-common...+ yum -q list installed php-common
+ echo ' installed!'
 installed!
+ for i in '"${argArray1[@]}"'
+ echo -n ':::    Checking for php-cli...'
:::    Checking for php-cli...+ yum -q list installed php-cli
+ echo ' installed!'
 installed!
+ [[ 3 -gt 0 ]]
+ yum install -y lighttpd lighttpd-fastcgi php

Then I executed:

yum install -y lighttpd lighttpd-fastcgi php

I got:

warning: /var/lib/yum/plugins/local/httpd-tools-2.4.6-118.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID a17782b6: NOKEY
Public key for httpd-tools-2.4.6-118.el7.centos.x86_64.rpm is not installed

Of course, I know what to do here and how to proceed. I need no help.

The system is Centos 7 64bits. I mentioned this problem for developers to take notice of.

You don't have the pubkey for the signature of the package, it should break, there is something wrong.

Well, what I mean here was that this was specific to my case.

The installer could break in case of others upon identifying some other missing keys/binaries.

I have known that installers could do check for the keys and make sure that there is one and if not, import one during the installation.

Probably this must be difficult too if one does not use a specific repo, which is now the case.

Importing keys to repositories would not be something we are looking to do, if there was a rogue repository and we imported the key, there would be severe repercussions to that action. Even posting a notice to the user asking "Are you sure?" would not cover that situation.

1 Like

I must agree to you.