GPG mishap while installing on Ubuntu 24.04/Debian Trixie

SYSTEM INFORMATION
OS type and version REQUIRED
uname -a
Linux kayve-Ubuntu 6.8.0-87-generic #88-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 09:28:41 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

| Webmin version | REQUIRED |

I am struggling with trying to get my home Ubuntu 24.04 workstation to become a DNS nameserver, and a friend suggested your utility. I have been vexed for a while with these key errors with sudo apt update and other apt functions. I think I made a bad mistake trying to follow this website:

htt ps:// www .linuxupris ing.com /2021/01/ apt-key-is-depr ecated-how-to-add. html

I took the Release.gpg file from your repository

and renamed it to webadmin-archive-keyring.gpg and saved it in /usr/share/keyrings. However,

kayve@kayve-Ubuntu:/usr/share/keyrings$ sudo apt update
Ign:1
.
.
.
Reading package lists… Done
W: GPG error: webmin.c om/down load/repository sarge Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY D97A3AE911F63C51
E: The repository ‘ht tp://down load.webmin.com/download/repository sarge Release’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
kayve@kayve-Ubuntu:/usr/share/keyrings$ popd

Is still ending with an error referring to webmin. I just realized below as well there is a webmin-developers file. Note my prompt includes a full path (my user is kayve my computer host is kayve-Ubuntu)

kayve@kayve-Ubuntu:/usr/share/keyrings$ ls
debian-webmin-developers.gpg ubuntu-pro-anbox-cloud.gpg
docker-archive-keyring.gpg ubuntu-pro-cc-eal.gpg
nodesource.gpg ubuntu-pro-cis.gpg
opera-browser.gpg ubuntu-pro-esm-apps.gpg
opera.gpg ubuntu-pro-esm-infra.gpg
perforce-archive-keyring.gpg ubuntu-pro-fips.gpg
setup-repos.sh ubuntu-pro-fips-preview.gpg
ubuntu-archive-keyring.gpg ubuntu-pro-realtime-kernel.gpg
ubuntu-archive-removed-keys.gpg ubuntu-pro-ros.gpg
ubuntu-cloudimage-keyring.gpg webadmin-archive-keyring.gpg
ubuntu-cloudimage-removed-keys.gpg yarnkey.gpg
ubuntu-master-keyring.gpg
kayve@kayve-Ubuntu:/usr/share/keyrings$ sudo mv webadmin-archive-keyring.gpg ~

You can see above that I moved the file I created out of there, but my sudo apt update still has errors referring to webmin.

How can I make sure I am conforming to modern Ubuntu standards for gpg while installing your application, or if this is not possible, remove the offending installation detritus that is causing these errors?

Please note, in order to make a post under your guidelines, I mucked around with URLs by removing bits and adding spaces until it worked. Hopefully that can be figured out by smart folk like you.

Our guidelines cover how to post URLs without running into posting problems. (Use Markdown. Wrap code, URLs, logs, etc. in backticks or triple backticks.)

1 Like

Maybe an example page with most of the useful markdown that can be used in the forum.

It’s all available in the post editor; no need to document the obvious.

@Ilia and @Joe

not quite what I mean, but I get your point.