I am trying to follow this guide here:
https://ubuntu.com/tutorials/how-to-verify-ubuntu#1-overview
I have downloaded the ISO file and I have the following files in my Downloads directory:
SHA256SUMS
SHA256SUMS.gpg
ubuntu-20.04.3-desktop-amd64.iso
I am attempting the download/verify on a new installation of Ubuntu 21.10.
A user here:
Cannot verify my download ver20.04.01
had a similar problem but the explanation does not help me.
In my case, typing:
gpg --list-keys
gives no output. The guide says, "If this is the first time you have run gpg, this will create a trust database for the current user." I don't know if this happened or not, and the guide does not say how to check that the trust database has been created. Unfortunately, it does not say what form it should take, nor where it should be.
md5sum --version
gives:
md5sum (GNU coreutils) 8.32
Copyright (C) 2020 Free Software Foundation, Inc.
Licence GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Ulrich Drepper, Scott Miller and David Madore.
Typing:
sha256sum --version
gives:
sha256sum (GNU coreutils) 8.32
Copyright (C) 2020 Free Software Foundation, Inc.
Licence GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Ulrich Drepper, Scott Miller and David Madore.
For step 4 of the guide, typing:
gpg --keyid-format long --verify SHA256SUMS.gpg SHA256SUMS
gives the following output:
gpg: Signature made jue 26 ago 2021 11:52:49 CEST
gpg: using RSA key 843938DF228D22F7B3742BC0D94AA3F0EFE21092
gpg: Can't check signature: No public key
I can see I am missing a Public key but I can't see anything in the instructions that tells me how to get it.
Why on earth is it such a long, drawn out and complicated method to verify? What happened to checking the SHA256 or MD5 sums from the command line? I have been absent from the Ubuntu world for a while and I had no idea it had become so difficult to verify a DVD. Any help (or just the MD5 or SHA256 sum) would be greatly appreciated.