<p>This is an ONT problem, not an ubuntu problem. Keys can expire over time, and need to be updated.</p>
<p>The keys for the Guppy basecaller are not present in the ubuntu repository; you need to get them from ONT. This is indicated by the <a href="https://community.nanoporetech.com/protocols/Guppy-protocol/v/gpb_2003_v1_revu_14dec2018/linux-guppy" rel="nofollow noreferrer">installation instructions</a> for Guppy (which you've already linked to):</p>
<pre><code>sudo apt-get update
sudo apt-get install wget lsb-release
export PLATFORM=<span class="math-container">$(lsb_release -cs)
###
wget -O- https://mirror.oxfordnanoportal.com/apt/ont-repo.pub | sudo apt-key add -
###
echo "deb http://mirror.oxfordnanoportal.com/apt $</span>{PLATFORM}-stable non-free&quot; | sudo tee /etc/apt/sources.list.d/nanoporetech.sources.list
sudo apt-get update
</code></pre>

CC BY-SA 4.0
2021-02-25T14:28:04.113Z
Yes it turned out that the upgrade worked after repeating all these commands (which I thought it was not necessary because I had already added the PPA). There was, however, an issue with the release, so `export PLATFORM=$(lsb_release -cs)` fixed the issue
BCArg
CC BY-SA 4.0
2021-02-25T11:49:10.370Z
2021-02-25T23:04:16.457Z
2021-02-25T23:04:16.457Z
gringer
<p>I am trying to update the <code>guppy_basecaller</code> (current version installed is 3.2.10+aabd4ec)  on a ONT Gridion device. I am initially trying to update it via the nanopore PPA, as described <a href="https://community.nanoporetech.com/protocols/Guppy-protocol/v/gpb_2003_v1_revu_14dec2018/linux-guppy" rel="nofollow noreferrer">here</a> (requires login access to the nanopore community)</p>
<p>After I issued <code>sudo apt update</code>, I got a GPG error, saying that the public key was not found in the system.</p>
<pre><code>W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://europe.oxfordnanoportal.com/apt xenial-stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AD9D09AF2EBBA5A8
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://mirror.oxfordnanoportal.com/apt xenial-stable-gridion InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AD9D09AF2EBBA5A8
W: Failed to fetch https://mirror.oxfordnanoportal.com/apt/dists/xenial-stable-gridion/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AD9D09AF2EBBA5A8
W: Failed to fetch http://mirror.oxfordnanoportal.com/apt/dists/xenial-stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AD9D09AF2EBBA5A8
W: Some index files failed to download. They have been ignored, or old ones used instead

</code></pre>
<p>I came across a possible solution shown <a href="https://itsfoss.com/solve-gpg-error-signatures-verified-ubuntu/" rel="nofollow noreferrer">here</a>, so I tried to add the key to the system with the following command:</p>
<pre><code>sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AD9D09AF2EBBA5A8
</code></pre>
<p>The terminal was busy for too long and, after some time I got an timeout error:</p>
<pre><code>Executing: /tmp/tmp.EWnOg4cPJk/gpg.1.sh --keyserver
keyserver.ubuntu.com
--recv-keys
AD9D09AF2EBBA5A8
gpg: requesting key 2EBBA5A8 from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
</code></pre>
<p>I then came across <a href="https://unix.stackexchange.com/questions/75892/keyserver-timed-out-when-trying-to-add-a-gpg-public-key">this post</a> where one potential solution was to change the port, so I issued:</p>
<pre><code>sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys AD9D09AF2EBBA5A8
</code></pre>
<p>But then I got:</p>
<pre><code>Executing: /tmp/tmp.sfqFuJpVb2/gpg.1.sh --keyserver
hkp://keyserver.ubuntu.com:80
--recv-keys
AD9D09AF2EBBA5A8
gpg: requesting key 2EBBA5A8 from hkp server keyserver.ubuntu.com
gpgkeys: key AD9D09AF2EBBA5A8 not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: key not found
gpg: keyserver communications error: bad public key
gpg: keyserver receive failed: bad public key
</code></pre>
<p>Has anyone managed to update the <code>guppy_basecaller</code> via PPA, as described in the nanopore community page?</p>
<p>An alternative would be to install via the <code>.tar.gz</code> file, though I am first trying to upgrade the current version from the PPA to avoid conflicts with the current installation.</p>

<nanopore><long-reads><base-calling>
Upgrading guppy basecaller on Oxford Nanopore Gridion via PPA
# Upgrading guppy basecaller on Oxford Nanopore Gridion via PPA

(Asked by: username_0 on 2021-02-22)

I am trying to update the guppy_basecaller (current version installed is 3.2.10+aabd4ec)  on a ONT Gridion device. I am initially trying to update it via the nanopore PPA, as described here (requires login access to the nanopore community)
After I issued sudo apt update, I got a GPG error, saying that the public key was not found in the system.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://europe.oxfordnanoportal.com/apt xenial-stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AD9D09AF2EBBA5A8
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://mirror.oxfordnanoportal.com/apt xenial-stable-gridion InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AD9D09AF2EBBA5A8
W: Failed to fetch https://mirror.oxfordnanoportal.com/apt/dists/xenial-stable-gridion/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AD9D09AF2EBBA5A8
W: Failed to fetch http://mirror.oxfordnanoportal.com/apt/dists/xenial-stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AD9D09AF2EBBA5A8
W: Some index files failed to download. They have been ignored, or old ones used instead


I came across a possible solution shown here, so I tried to add the key to the system with the following command:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AD9D09AF2EBBA5A8

The terminal was busy for too long and, after some time I got an timeout error:
Executing: /tmp/tmp.EWnOg4cPJk/gpg.1.sh --keyserver
keyserver.ubuntu.com
--recv-keys
AD9D09AF2EBBA5A8
gpg: requesting key 2EBBA5A8 from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error

I then came across this post where one potential solution was to change the port, so I issued:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys AD9D09AF2EBBA5A8

But then I got:
Executing: /tmp/tmp.sfqFuJpVb2/gpg.1.sh --keyserver
hkp://keyserver.ubuntu.com:80
--recv-keys
AD9D09AF2EBBA5A8
gpg: requesting key 2EBBA5A8 from hkp server keyserver.ubuntu.com
gpgkeys: key AD9D09AF2EBBA5A8 not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: key not found
gpg: keyserver communications error: bad public key
gpg: keyserver receive failed: bad public key

Has anyone managed to update the guppy_basecaller via PPA, as described in the nanopore community page?
An alternative would be to install via the .tar.gz file, though I am first trying to upgrade the current version from the PPA to avoid conflicts with the current installation.

**Tags:** nanopore, long-reads, base-calling

---

## 1 answers

### Answer by username_1 on 2021-02-25. Score: 1

This is an ONT problem, not an ubuntu problem. Keys can expire over time, and need to be updated.
The keys for the Guppy basecaller are not present in the ubuntu repository; you need to get them from ONT. This is indicated by the installation instructions for Guppy (which you've already linked to):
sudo apt-get update
sudo apt-get install wget lsb-release
export PLATFORM=$(lsb_release -cs)
###
wget -O- https://mirror.oxfordnanoportal.com/apt/ont-repo.pub | sudo apt-key add -
###
echo "deb http://mirror.oxfordnanoportal.com/apt ${PLATFORM}-stable non-free" | sudo tee /etc/apt/sources.list.d/nanoporetech.sources.list
sudo apt-get update

> **Comments:**
> **username_0**: Yes it turned out that the upgrade worked after repeating all these commands (which I thought it was not necessary because I had already added the PPA). There was, however, an issue with the release, so `export PLATFORM=$(lsb_release -cs)` fixed the issue  

---

