Another potential cause of "signature verification failed" in `zypper refresh` etc

I was experiencing symptoms very similar to Signature verification failed when running zypper refresh, but they did not abate after waiting a couple of days, and none of the other solutions on that page or on other web search hits for the error messages produced were working.

I wanted to post the eventual culprit and solution, in hopes of helping someone else avoid the couple of days of frustration I experienced: Somehow the gpg executable on my laptop had been deleted. I couldn’t reinstall it using zypper, as that relies on gpg, but I was able to download the RPM directly from the OpenSUSE repositories (exact link below). Note that the stack exchange answer opensuse - Where does zypper install the repository or package signing keys? - Unix & Linux Stack Exchange was helpful in diagnosing the problem, because I could manually go through the signature verification steps it lists and find the one that failed.

The exact link for the gpg rpm I used at the time of this problem and solution was: https://opensuse.pkgs.org/tumbleweed/opensuse-oss-x86_64/gpg2-2.5.9-1.1.x86_64.rpm.html

From the package management system that rpm can be found as,
http://cdn.opensuse.org/tumbleweed/repo/oss/x86_64/gpg2-2.5.9-1.1.x86_64.rpm at
http://cdn.opensuse.org/tumbleweed/repo/oss/x86_64/, or corresponding mirrors,
which can be visited in any web browser.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.