QGIS GPG issue

Trying to get QGIS 3.8 to install on Ubuntu 19.04 caused some issues. I’m not sure if the following fix is a good way to go, but it allowed the install to proceed. And I kinda trust them.

With the relevant sources added to /etc/apt/sources.list

deb https://qgis.org/ubuntu disco main
deb-src https://qgis.org/ubuntu disco main

I tried to pull the 2019 (and 2017) gpg keys

wget -O - https://qgis.org/downloads/qgis-2019.gpg.key | gpg --import
gpg --fingerprint 51F523511C7028C3

These kept coming back with (unknown) so that they wouldn’t be trusted and therefore the software (I guess) wouldn’t be downloaded.

So I looked online and found this (https://trog.qgl.org/20091030/troubleshooting-gnupg-gpg-no-ultimately-trusted-keys-found/)

Following those instructions I edited the key to make it trusted:

1) gpg --edit-key [your key id]
2) type ‘trust’ to change the owner trust
3) select option 3, “I trust marginally”
4) type ‘quit’

Like I say, that’s probably a totally bad thing to do, but I needed the software and it got it installed.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

A WordPress.com Website.

Up ↑

%d bloggers like this: