Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1494542 - postgresql-9.6.4-1.fc27.ppc64le.rpm instal failed because of its public key
Summary: postgresql-9.6.4-1.fc27.ppc64le.rpm instal failed because of its public key
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: postgresql
Version: 27
Hardware: ppc64le
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Raiskup
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PPCTracker
TreeView+ depends on / blocked
 
Reported: 2017-09-22 13:06 UTC by Menanteau Guy
Modified: 2017-11-03 14:16 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-03 14:16:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Menanteau Guy 2017-09-22 13:06:21 UTC
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

Comment 1 Dan Horák 2017-09-22 17:19:26 UTC
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.

Comment 2 Menanteau Guy 2017-11-03 14:16:03 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.