# I can't update my rlxos system 😱!!!!

Encountering the error message "ERROR Error: Commit : Signature made... Can't check signature: public key not found" while trying install extension or applying OTA updates.

Fear not! Resolving this issue is well within your reach, and in this guide, we'll provide you with the necessary steps to tackle it effectively. By acquiring and incorporating the updating public key into the system's keyring, we'll ensure that your update server is up and running without a hitch.

### Understanding the Dilemma

Before delving into the solution, let's grasp the root cause behind this error. When receiving binary blob from update server, the system rigorously authenticates the incoming packages using cryptographic signatures. These signatures, derived from private keys, require corresponding public keys for verification. If the system lacks the requisite public key or outdated private key, it throws the "public key not found" error. These public keys are available at `/etc/pki/ostree/` with extension `.gpg`

You can check the signature detail using gpg command:

```bash
gpg --show-keys /etc/pki/ostree/rlxos.gpg
```

### Solution: Integrating the Missing Public Key

To mitigate this issue, we'll acquire the missing public key and seamlessly integrate it into the system's keyring. Here's how:

1. **Retrieve the Public Key:** Launch a terminal window and utilize the `wget` or `curl` command or using your favorite web browser to fetch the public key from [https://github.com/itsManjeet/rlxos/blob/stable/files/rlxos.gpg](https://github.com/itsManjeet/rlxos/blob/stable/files/rlxos.gpg). or using command:
    

* ```plaintext
      wget https://raw.githubusercontent.com/itsManjeet/rlxos/stable/files/rlxos.gpg
    ```
    
* **Move the Key to the Appropriate Directory:** Now, let's transfer the downloaded key to the directory where the system expects to find public keys. Execute the following command, substituting `rlxos.gpg` with the name of your downloaded key file:
    
* ```plaintext
      sudo cp rlxos.gpg /etc/pki/ostree/rlxos.gpg -v
    ```
    

Now you can try to update your system or install extensions to check if the updated key is working

If you are receiving the same issue or still failing to update your system, Please raise bug report at [https://github.com/itsManjeet/rlxos/issues/new](https://github.com/itsManjeet/rlxos/issues/new) or comment done the error message below.
