Unable to install postgresql-9.6.4-1.fc27.ppc64le.rpm on fedora-27-Server-dvd-iso-ppc64le-BuildFedora-27-20170921.n.0 on dnf install postgresql, I got Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 64, in main return _main(base, args, cli_class, option_parser_class) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 102, in _main return cli_run(cli, base) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 126, in cli_run ret = resolving(cli, base) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 153, in resolving base.do_transaction(display=displays) File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 216, in do_transaction self.gpgsigcheck(install_pkgs) File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 257, in gpgsigcheck self._get_key_for_package(po, fn) File "/usr/lib/python3.6/site-packages/dnf/base.py", line 2117, in _get_key_for_package raise dnf.exceptions.Error(_prov_key_data(errmsg)) dnf.exceptions.Error: Public key for postgresql-9.6.4-1.fc27.ppc64le.rpm is not installedFailing package is: postgresql-9.6.4-1.fc27.ppc64le GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-ppc64le Sep 22 08:48:05 CRITICAL Error: Public key for postgresql-9.6.4-1.fc27.ppc64le.rpm is not installedFailing package is: postgresql-9.6.4-1.fc27.ppc64le GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-ppc64le
Guy, is it a fresh installation? Having F-26 key configured on F-27 sounds wrong ... Isn't something wrong in the /etc/yum.repos.d/*.repo files? They should have gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch so the actual release number and arch are substituted in runtime.
This problem was due to an old wrong f26 image disk left on local openqa environment that was used randomly by some tests. This was an environment problem.