I was trying to install protobuf-compiler as a requisite for Google’s Tensor Flow library for Python3, when I encountered this error:

Public key for protobuf-compiler-3.3.1-2.fc27.x86_64.rpm is not installedFailing package is: protobuf-compiler-3.3.1-2.fc27.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-27-x86_64

The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing ‘dnf clean packages’.
Error: GPG check FAILED

I had encountered this error before, and I had solved it by trial and error. This time, I got a little lucky, and I solved it with ease. The package mentioned above is saved in the folder /var/cache/dnf/packages.

All I had to do was install the package using rpm manually like so:

rpm -ivh protobuf-compiler-3.3.1-2.fc27.x86_64

Problem solved! It installed without any issues.

Categories: Linux

%d bloggers like this: