# Install Issue - gpg: no valid OpenPGP data found error

**URL:** https://kopia.discourse.group/t/install-issue-gpg-no-valid-openpgp-data-found-error/2676
**Category:** Support
**Created:** [February 23, 2024, 6:11pm UTC](https://kopia.discourse.group/t/install-issue-gpg-no-valid-openpgp-data-found-error/2676 "2024-02-23T18:11:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![amyjo](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@amyjo](https://kopia.discourse.group/u/amyjo)
#### Post date: [February 23, 2024, 6:11pm UTC](https://kopia.discourse.group/t/install-issue-gpg-no-valid-openpgp-data-found-error/2676/1 "2024-02-23T18:11:35Z")

</div>

I’m trying to install Kopia on and Unbutu server.

The first command is: curl -s [https://kopia.io/signing-key](https://kopia.io/signing-key) | sudo gpg --dearmor -o /etc/apt/keyrings/kopia-keyring.gpg

I’m getting gpg: no valid OpenPGP data found error.

Ive tried the suggestion to use --no-check-certificate, also did not work.

---

<div class="post-metadata">

### Author: ![kapitainsky](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/kapitainsky/32/535_2.png) [@kapitainsky](https://kopia.discourse.group/u/kapitainsky)
#### Post date: [February 23, 2024, 7:15pm UTC](https://kopia.discourse.group/t/install-issue-gpg-no-valid-openpgp-data-found-error/2676/2 "2024-02-23T19:15:54Z")

</div>

You have problem with your `gpg` program. I have just tried on my Ubuntu and it works without any issues.

```auto
$ curl -s https://kopia.io/signing-key | sudo gpg --dearmor -o /etc/apt/keyrings/kopia-keyring.gpg

$ echo $?
0

$ pwd
/etc/apt/keyrings

$ ls -l
total 4
-rw-r--r-- 1 root root 1155 Feb 23 19:14 kopia-keyring.gpg

```

This is not kopia problem but your OS. Try to reinstall it (`gpg` not OS:)) and if it does not help seek help on your OS forums or google.

If not feeling like troubleshooting it you can download your OS `kopia` version directly from github - [Releases · kopia/kopia · GitHub](https://github.com/kopia/kopia/releases) and install manually.
