Error installing HestiaCP on Debian 12: Unable to locate packages & GPG key issue

Hello,

I’m trying to install HestiaCP on a fresh Debian 12 (Bookworm) server, but the installation fails with multiple issues. Here is what happens:

  1. The installer cannot verify the repository’s GPG key:
    W: GPG error: https://apt.hestiacp.com bookworm 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 bookworm InRelease’ is not signed.

  2. Because of this, apt cannot find or install the required Hestia packages:

E: Unable to locate package hestia E: Unable to locate package hestia-nginx E: Unable to locate package hestia-php

  1. The installation continues but fails when trying to configure the system:

cp: cannot stat ‘/usr/local/hestia/install/deb/logrotate/httpd-prerotate/*’: No such file or directory cp: cannot stat ‘/usr/local/hestia/install/common/sudo/hestiaweb’: No such file or directory chmod: cannot access ‘/etc/sudoers.d/hestiaweb’: No such file or directory …

  1. Finally, the SSL certificate generation and SFTP jail enablement also fail:

hst-install-debian.sh: line 1494: /usr/local/hestia/bin/v-generate-ssl-cert: No such file or directory Error: can’t enable sftp jail

  • Manually compiling and installing from GitHub.
  • Downloading and installing .deb packages manually.

But nothing has worked so far.

  1. Is there an issue with the repository or GPG key that prevents installation?
  2. Is there an alternative method to install HestiaCP on Debian 12?
  3. Should I wait for an official fix before attempting another installation?

Thanks for any help!

1 Like

Bro u can use first the search button before create a new post

Oh, great help, “bro”… I already used the search button and what I found didn’t solve my problem, “bro”.

It still does not work, even in the latest version of hestiacp 1.9.2… I have reinstalled the server with debian 12 to test with version 1.9.2 and I still get the same problem.

There is no topic in the forum where they talk about this or I have not seen it.