how to replace apt-key for webmin
Solution 1:
For some reason the key wasn't imported correctly, you can always check by listing all currently imported keys by executing :
apt-key list
And searching for 1719 003A CE3E 5A41 E2DE 70DF D97A 3AE9 11F6 3C51
If it's missing try importing the key from ubuntu keyserver by running :
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D97A3AE911F63C51
the output sould be something like :
Executing: /tmp/apt-key-gpghome.neTpxcHlMl/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D97A3AE911F63C51
gpg: key D97A3AE911F63C51: public key ..... imported
gpg: Total number processed: 1
gpg: imported: 1
Again Check if it's imported correctly apt-key list
.
Finally :
sudo apt update
sudo apt install webmin
this should work.