Skip to content

gpg: keyserver refresh failed WSL2 / Ubuntu 22.04 and 24.04 #164

Closed
@samdeane

Description

@samdeane

Running swiftly install latest is giving me the following error:

sam@clear-air-turbulence ~> swiftly install latest
Fetching the latest stable Swift release...
Refreshing Swift PGP keys...
gpg: keyserver refresh failed: Server indicated a failure
Error: Failed to refresh PGP keys: Error(message: "gpg exited with non-zero status: 2")

Initially I had this on WSL2 with Ubuntu 22.04.
I have just done a clean WSL2 install of Ubunu 24.04 to see if it helped, but I got the same error.

It may of course be an issue locally (eg with Windows or my local network). I don't really have enough context to be sure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    release candidateThis issue is a candidate for the next release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions