Skip to content

Unable to add repository: gpg: no valid OpenPGP data found #1270

@numanzahid

Description

@numanzahid

Operating System/Distribution

Pop!_OS (based on Ubuntu)
Architecture: amd64

Installer

Trying to add repository from GitHub Desktop Linux fork (https://apt.packages.shiftkey.dev/ubuntu/).
Following instructions with wget + gpg.

What happened?

When running the command to add the GPG key:

wget -qO - https://apt.packages.shiftkey.dev/gpg.key | gpg --dearmor | sudo tee /usr/share/keyrings/shiftkey-packages.gpg > /dev/null

I get the error:

gpg: no valid OpenPGP data found.

Because of this, the repository cannot be added to sources, and apt update won’t work with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions