# Import of gpg key fails

**URL:** <https://rebornos.discourse.group/t/import-of-gpg-key-fails/845>\
**Category:** Issues & Assistance\
**Tags:** bug\
**Created:** [October 19, 2022, 9:30am UTC](https://rebornos.discourse.group/t/import-of-gpg-key-fails/845 "2022-10-19T09:30:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mykey](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@mykey](https://rebornos.discourse.group/u/mykey)\
**Post date:** [October 19, 2022, 9:30am UTC](https://rebornos.discourse.group/t/import-of-gpg-key-fails/845/1 "2022-10-19T09:30:42Z")

</div>

Hi

I am trying out rebornOS on a paspberry pi and cannot update the system.  
I get the following error message when I am trying to import the PGP key of “Panda [panda@rebornos.org](mailto:panda@rebornos.org)”:

error: key “BF0740F967BA439D” could not be looked up remotely  
error: required key missing from keyring  
error: failed to commit transaction (unexpected error)

Any hints to what happens here?

Best regards

---

<div class="post-metadata">

**Author:** ![Pandaa](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/pandaa/32/649_2.png) [@Pandaa](https://rebornos.discourse.group/u/Pandaa)\
**Post date:** [October 19, 2022, 9:36am UTC](https://rebornos.discourse.group/t/import-of-gpg-key-fails/845/2 "2022-10-19T09:36:37Z")

</div>

What are you following to add the repo. Which repo are u trying to add (repo-testing/RebornOS) orr the one on the wiki

---

<div class="post-metadata">

**Author:** ![mykey](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@mykey](https://rebornos.discourse.group/u/mykey)\
**Post date:** [October 19, 2022, 5:25pm UTC](https://rebornos.discourse.group/t/import-of-gpg-key-fails/845/3 "2022-10-19T17:25:14Z")

</div>

I did not change anything in pacman.conf - just trying to do:

sudo pacman -Syu

---

<div class="post-metadata">

**Author:** ![Rippanda12](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/rippanda12/32/494_2.png) [@Rippanda12](https://rebornos.discourse.group/u/Rippanda12)\
**Post date:** [October 19, 2022, 5:33pm UTC](https://rebornos.discourse.group/t/import-of-gpg-key-fails/845/4 "2022-10-19T17:33:51Z")

</div>

Oh you downloaded the pi image from our site?  
well you can try running  
`sudo pacman-key --populate rebornos`

---

<div class="post-metadata">

**Author:** ![mykey](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@mykey](https://rebornos.discourse.group/u/mykey)\
**Post date:** [October 19, 2022, 8:27pm UTC](https://rebornos.discourse.group/t/import-of-gpg-key-fails/845/5 "2022-10-19T20:27:02Z")

</div>

Nope sorry that did not do anything … I did all the reinstalling/populate key stuff I found on google already.

---

<div class="post-metadata">

**Author:** ![mykey](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@mykey](https://rebornos.discourse.group/u/mykey)\
**Post date:** [October 28, 2022, 8:41am UTC](https://rebornos.discourse.group/t/import-of-gpg-key-fails/845/6 "2022-10-28T08:41:36Z")

</div>

So this happened again on a system that was not updated for 2 years - same error, pacman not updating …so I set the SigLevel to Never in pacman.conf for the update and set it back to “Optional TrustAll” afterwards and things look fine now. Thanks for the great help.

---

<div class="post-metadata">

**Author:** ![Rafael](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/rafael/32/438_2.png) [@Rafael](https://rebornos.discourse.group/u/Rafael)\
**Post date:** [October 28, 2022, 4:40pm UTC](https://rebornos.discourse.group/t/import-of-gpg-key-fails/845/7 "2022-10-28T16:40:02Z")

</div>

To update RebornOS keys you can, from the terminal, do the following:

```auto
wget https://osdn.net/projects/rebornos/storage/repo/RebornOS/rebornos-keyring-20220425-1-any.pkg.tar.zst
sudo pacman -U rebornos-keyring-20220425-1-any.pkg.tar.zst

```

This will update the Panda key, and all RebornOS keys.

In the case of having an old RebornOS installation, what can happen, if you have not updated it for a long time, is that the Arch Linux keys are not updated. So, from the terminal, do the following:

```auto
wget http://mirrors.liquidweb.com/archlinux/core/os/x86_64/archlinux-keyring-20220125-1-any.pkg.tar.zst
sudo pacman -U archlinux-keyring-20220125-1-any.pkg.tar.zst

```

This will update all system keys.

It is not a very good idea to have a rolling release system and not update it as often as possible.
