Updating currently installed packages, please wait… W: GPG error: https://apt.hestiacp.com noble InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY A189E93654F0B0E5
E: The repository ‘https://apt.hestiacp com noble InRelease’ is not signed.
At this point I no longer need to try to install HestiaCP. The failure is already in apt-get update:
sudo apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease
Get:5 https://nginx.org/packages/mainline/ubuntu noble InRelease [3,278 B]
Get:6 https://apt.hestiacp.com noble InRelease [12.7 kB]
Hit:8 https://esm.ubuntu.com/cis/ubuntu noble InRelease
Err:6 https://apt.hestiacp.com noble InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A189E93654F0B0E5
Hit:9 https://esm.ubuntu.com/apps/ubuntu noble-apps-security InRelease
Err:5 https://nginx.org/packages/mainline/ubuntu noble InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2FD21310B49F6B46
Hit:10 https://esm.ubuntu.com/apps/ubuntu noble-apps-updates InRelease
Get:7 https://dlm.mariadb.com/repo/mariadb-server/11.4/repo/ubuntu noble InRelease [7,764 B]
Hit:11 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease
Hit:12 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease
Err:7 https://dlm.mariadb.com/repo/mariadb-server/11.4/repo/ubuntu noble InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F1656F24C74CD1D8
Reading package lists... Done
W: GPG error: https://apt.hestiacp.com noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A189E93654F0B0E5
E: The repository 'https://apt.hestiacp.com noble InRelease' 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.
W: GPG error: https://nginx.org/packages/mainline/ubuntu noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2FD21310B49F6B46
E: The repository 'https://nginx.org/packages/mainline/ubuntu noble InRelease' 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.
W: GPG error: https://dlm.mariadb.com/repo/mariadb-server/11.4/repo/ubuntu noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F1656F24C74CD1D8
E: The repository 'https://dlm.mariadb.com/repo/mariadb-server/11.4/repo/ubuntu noble InRelease' 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.
root@manage:~# ls -la /etc/apt/sources.list.d/
total 36
drwxr-xr-x 2 root root 4096 Jan 23 05:06 .
drwxr-xr-x 8 root root 4096 Aug 22 2024 ..
-rw-r----- 1 root root 94 Jan 23 05:00 hestia.list
-rw-r----- 1 root root 91 Jan 23 05:06 mariadb.list
-rw-r----- 1 root root 92 Jan 23 05:06 nginx.list
-rw-r--r-- 1 root root 163 Jan 22 04:51 ubuntu-cis.sources
-rw-r--r-- 1 root root 202 Jan 22 04:48 ubuntu-esm-apps.sources
-rw-r--r-- 1 root root 206 Jan 22 04:48 ubuntu-esm-infra.sources
-rw-r--r-- 1 root root 2552 Aug 22 2024 ubuntu.sources
root@manage:~# cat -A /etc/apt/sources.list.d/hestia.list
deb [signed-by=/usr/share/keyrings/hestiacp-keyring.gpg] https://apt.hestiacp.com/ noble main$
root@manage:~# cat -A /etc/apt/sources.list.d/nginx.list
deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://nginx.org noble nginx$
root@manage:~# cat -A /etc/apt/sources.list.d/mariadb.list
deb [signed-by=/usr/share/keyrings/mariadb-keyring.gpg] https://dlm.mariadb.com noble main$
root@manage:~# apt -o Acquire::ForceIPv4=true update
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Ign:5 https://dlm.mariadb.com noble InRelease
Get:6 https://apt.hestiacp.com noble InRelease [12.7 kB]
Ign:7 https://nginx.org noble InRelease
Err:8 https://nginx.org noble Release
404 Not Found [IP: 52.58.199.22 443]
Err:9 https://dlm.mariadb.com noble Release
404 Not Found [IP: 104.18.135.24 443]
Hit:10 https://esm.ubuntu.com/cis/ubuntu noble InRelease
Hit:11 https://esm.ubuntu.com/apps/ubuntu noble-apps-security InRelease
Err:6 https://apt.hestiacp.com noble InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A189E93654F0B0E5
Hit:12 https://esm.ubuntu.com/apps/ubuntu noble-apps-updates InRelease
Hit:13 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease
Hit:14 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease
Reading package lists... Done
E: The repository 'https://nginx.org noble Release' does not have a Release file.
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.
E: The repository 'https://dlm.mariadb.com noble Release' does not have a Release file.
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.
W: GPG error: https://apt.hestiacp.com noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A189E93654F0B0E5
E: The repository 'https://apt.hestiacp.com noble InRelease' 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.
You were asking about the error. Tried to reproduce it here, but not sure if I have to try again with a fresh install?
root@manage:~# gpg --no-default-keyring --keyring /usr/share/keyrings/hestia-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A189E93654F0B0E5
gpg: key A189E93654F0B0E5: "Hestia Control Panel <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
root@manage:~# rm -r /root/.gnupg/
root@manage:~# gpg --no-default-keyring --keyring /usr/share/keyrings/hestia-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A189E93654F0B0E5
gpg: failed to create temporary file '/root/.gnupg/.#1k...': No such file or directory
gpg: can't connect to the dirmngr: No such file or directory
gpg: keyserver receive failed: No dirmngr
curl -fsSL https://apt.hestiacp.com/ | gpg --dearmor | sudo tee /usr/share/keyrings/hestiacp-keyring.gpg > /dev/null
gpg: no valid OpenPGP data found.
Edit: After a fresh install this command produced the same output, except that the keybox was created.
I ended up installing Debian instead. Now Hestia is installed!
It’s really a great welcome into the community how much you’re helping! Even the Ubuntu community couldn’t help me, with what seems like an Ubuntu issue to me.
Maybe something was corrupt with my installation. I had a snapshot of an Ubuntu installation that had only ssh and ufw taken care of. After many hours of re-installing it I noticed something was wrong with ufw. Although it was possible to uninstall, it was not activated, like I had set it up. But I did uninstall ufw before my Hestia installation attempts.
For anyone having this issue on Ubuntu just use this method it works perfectly
for whatever reason the keyserver cant be the domain trust me I tried however the IP works