[Qgis-user] Problem installing QGIS on Ubuntu 20.04 - key authentification

evaroben at posteo.de evaroben at posteo.de
Tue Aug 11 05:53:44 PDT 2020


Dear Ben,

thank you so very much for your prompt answer. It made me very hopeful 
when seeing it, and I immediately tried, but unfortunatley to no avail.

That's the reaction of my terminal :

"neisolsayaparizabi at neisolsayaparizabi-N2x0WU:~$ wget -O - 
https://qgis.org/downloads/qgis-2020.gpg.key | gpg --import
--2020-08-11 14:27:17--  https://qgis.org/downloads/qgis-2020.gpg.key
Auflösen des Hostnamens qgis.org (qgis.org) … 104.27.139.220, 
172.67.167.146, 104.27.138.220, ...
Verbindungsaufbau zu qgis.org (qgis.org)|104.27.139.220|:443 … 
verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 1839 (1,8K) [application/pgp-keys]
Wird in »STDOUT« gespeichert.

-                   100%[===================>]   1,80K  --.-KB/s    in 
0s

2020-08-11 14:27:17 (12,4 MB/s) - auf die Standardausgabe geschrieben 
[1839/1839]

gpg: key F7E06F06199EF2F2: 1 Beglaubigung wegen fehlendem Schlüssel 
nicht geprüft
gpg: Schlüssel F7E06F06199EF2F2: Öffentlicher Schlüssel "QGIS Archive 
Automatic Signing Key (2020) <qgis-developer at lists.osgeo.org>" 
importiert
gpg: Anzahl insgesamt bearbeiteter Schlüssel: 1
gpg:               importiert: 1
gpg: keine ultimativ vertrauenswürdigen Schlüssel gefunden"

The system imported one key, but indicated that it did not find any 
ultimately trustworthy keys.

THEN I ran the reminder:

"neisolsayaparizabi at neisolsayaparizabi-N2x0WU:~$ gpg --fingerprint 
F7E06F06199EF2F2
pub   rsa4096 2020-08-08 [SCEA] [verfällt: 2021-08-08]
       3987 7635 093F 2656 0197  11FA F7E0 6F06 199E F2F2
uid        [ unbekannt] QGIS Archive Automatic Signing Key (2020) 
<qgis-developer at lists.osgeo.org>

neisolsayaparizabi at neisolsayaparizabi-N2x0WU:~$ pub   rsa4096 2020-08-08 
[SCEA] [expires: 2021-08-08]

Der Befehl 'pub' wurde nicht gefunden, meinten Sie:

   Befehl 'dub' aus dem Snap dub (1.18.0)
   Befehl 'hub' aus dem Snap hub (v2.14.1)
   Befehl 'hub' aus dem deb hub (2.7.0~ds1-1)
   Befehl 'puf' aus dem deb puf (1.0.0-7build1)
   Befehl 'pcb' aus dem deb pcb-gtk (1:4.2.2-1)
   Befehl 'pcb' aus dem deb pcb-lesstif (1:4.2.2-1)
   Befehl 'publ' aus dem deb atfs (1.4pl6-14)
   Befehl 'dub' aus dem deb dub (1.19.0-1build2)

Informationen zu neuen Versionen sind mit 'snap info <snapname>' zu 
finden.

neisolsayaparizabi at neisolsayaparizabi-N2x0WU:~$       3987 7635 093F 
2656 0197  11FA F7E0 6F06 199E F2F2
3987: Befehl nicht gefunden.
neisolsayaparizabi at neisolsayaparizabi-N2x0WU:~$ uid           [unknown] 
QGIS Archive Automatic Signing Key (2020) 
<qgis-developer at lists.osgeo.org>
bash: Syntaxfehler beim unerwarteten Wort »(«
neisolsayaparizabi at neisolsayaparizabi-N2x0WU:~$ ^C
neisolsayaparizabi at neisolsayaparizabi-N2x0WU:~$"

The system did not like the command "pub", and did  not accept the 
brackets.
I also deinstalled a previous key from 2019, doesn't help.

And I deinstalled the manually installed QGIS, and installed it via the 
Ubuntu Software centre, to no avail.

Your explanation that the 2020 key is very recent, so do you think that 
in some days some certificate will be added, and it works?

Best regards, and thank you very much again!

Eva






Am 11.08.2020 13:43 schrieb Ben Hur Pintor:
> Hi Eva,
> 
> AFAIK, the 2019 keys have recently expired thus a new one was added
> fairly recently for 2020 (a few days ago if I'm not mistaken).
> 
> The error you're mentioning also happens to me when I try to download
> the key from a keyserver and add the key to apt in without manual
> fingerprint verification.
> 
> When I use the longer method to add the key, that is to verify the key
> first and add it afterwards, the error doesn't occur on my machine.
> 
> From the QGIS website:
> _Get and verify the key_
> 
> wget -O - https://qgis.org/downloads/qgis-2020.gpg.key | gpg --import
> gpg --fingerprint F7E06F06199EF2F2
> 
> pub rsa4096 2020-08-08 [SCEA] [expires: 2021-08-08]
>  3987 7635 093F 2656 0197 11FA F7E0 6F06 199E F2F2
> uid [unknown] QGIS Archive Automatic Signing Key (2020)
> <qgis-developer at lists.osgeo.org>
> 
> _Add key_
> 
> gpg --export --armor F7E06F06199EF2F2 | sudo gpg --no-default-keyring
> --keyring gnupg-ring:/etc/apt/trusted.gpg.d/qgis-archive.gpg --import
> sudo chmod a+r /etc/apt/trusted.gpg.d/qgis-archive.gpg
> 
> What I've noticed is that the TRUST of the new key is [UNKNOWN]
> instead of [ULTIMATE] which could be the cause why adding it in one
> command fails. I'm not sure as well if this has any repercussions as
> to the validity of the keys. Probably they still need to be signed as
> trusted since they are new. P.S. I'm not an expert with GPG or keys.
> 
> Try to use the longer method for adding the keys and see if it works
> for you.
> 
> All the best,
> Ben Hur
> 
> On Tue, Aug 11, 2020 at 6:28 PM <evaroben at posteo.de> wrote:
> 
>> Dear QGIS and Ubuntu users,
>> 
>> I installed QGIS on Ubuntu 20.04, and it doesn't really work. I
>> used the
>> advice on the QGIS website:
>> https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu
>> [1]
>> 
>> On the terminal, I have a problem with the QGIS key and keystrings.
>> When
>> entering these commands
>> "wget -qO - https://qgis.org/downloads/qgis-2020.gpg.key [2] | sudo
>> gpg
>> --no-default-keyring --keyring
>> gnupg-ring:/etc/apt/trusted.gpg.d/qgis-archive.gpg --import sudo
>> chmod
>> a+r /etc/apt/trusted.gpg.d/qgis-archive.gpg"
>> the system tells me:
>> 
>> "neisolsayaparizabi at neisolsayaparizabi-N2x0WU:~$ wget -qO -
>> https://qgis.org/downloads/qgis-2020.gpg.key [2] | sudo gpg
>> --no-default-keyring --keyring
>> gnupg-ring:/etc/apt/trusted.gpg.d/qgis-archive.gpg --import gpg:
>> key
>> F7E06F06199EF2F2: 1 Beglaubigung wegen fehlendem Schlüssel nicht
>> geprüft
>> gpg: Schlüssel F7E06F06199EF2F2: "QGIS Archive Automatic Signing
>> Key
>> (2020) <qgis-developer at lists.osgeo.org>" nicht geändert gpg:
>> Anzahl
>> insgesamt bearbeiteter Schlüssel: 1 gpg:
>> unverändert: 1"
>> 
>> You can see that my sytem is in German. It means something like:
>> key
>> F7E06F06199EF2F2: 1 authentification not verified because of
>> missing
>> key. When looking at the list of authentifications, the key in
>> question
>> is there:
>> 
>> (screenshot attached)
>> 
>> What can be the problem? QGIS is installed, but when wanting to
>> connect
>> to a map server, it indicates that this is not possible due to an
>> error
>> in the SSL protocol. I want to use the GIS data from this site:
>> 
> https://wiki.earthdata.nasa.gov/display/GIBS/Geographic+Information+System+%28GIS%29+Usage#expand-QGIS
>> [3]
>> 
>> Thanks a lot for helping me!
>> 
>> Eva_______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user [4]
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user [4]
> 
> --
> 
> ---
> BEN HUR S. PINTOR
> 
> bnhr.xyz [5]
> hi at bnhr.xyz
> 
> open spatial & data solutions
> 
> 
> Links:
> ------
> [1] https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu
> [2] https://qgis.org/downloads/qgis-2020.gpg.key
> [3]
> https://wiki.earthdata.nasa.gov/display/GIBS/Geographic+Information+System+%28GIS%29+Usage#expand-QGIS
> [4] https://lists.osgeo.org/mailman/listinfo/qgis-user
> [5] https://bnhr.xyz/


More information about the Qgis-user mailing list