Debian VPS not installing.

Hi I am installing on Debian 11 and have tried Debian 10 incase that had anything to do with my issues.
It stsarts to pick up errors when checking the repository.
sudo is already the newest version (1.8.27-1+deb10u5).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
systemd-timesyncd : Depends: systemd (= 247.3-6~bpo10+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


  •                    Disable UFW                       *
    


  •               Update & Upgrade System                *
    

Hit:1 Index of /debian-security buster/updates InRelease
Hit:2 Index of /debian buster InRelease
Hit:3 Index of /debian buster-updates InRelease
Get:4 Index of /vitalpbx/v4/apt/audios stable InRelease [3392 B]
Err:4 Index of /vitalpbx/v4/apt/audios stable InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3BBBD74616F93968
Hit:5 Index of /debian buster-backports InRelease
Get:6 Index of /vitalpbx/v4/apt/base stable InRelease [3419 B]
Err:6 Index of /vitalpbx/v4/apt/base stable InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3BBBD74616F93968
Get:7 Index of /vitalpbx/v4/apt/core stable InRelease [3385 B]
Err:7 Index of /vitalpbx/v4/apt/core stable InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3BBBD74616F93968
Get:8 Index of /vitalpbx/v4/apt/extras stable InRelease [3413 B]
Err:8 Index of /vitalpbx/v4/apt/extras stable InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3BBBD74616F93968
Reading package lists… Done
W: GPG error: Index of /vitalpbx/v4/apt/audios stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3BBBD74616F93968
E: The repository ā€˜Index of /vitalpbx/v4/apt/audios stable 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: Index of /vitalpbx/v4/apt/base stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3BBBD74616F93968
E: The repository ā€˜Index of /vitalpbx/v4/apt/base stable 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: Index of /vitalpbx/v4/apt/core stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3BBBD74616F93968
E: The repository ā€˜Index of /vitalpbx/v4/apt/core stable 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: Index of /vitalpbx/v4/apt/extras stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3BBBD74616F93968
E: The repository ā€˜Index of /vitalpbx/v4/apt/extras stable 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.
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


  •              Installing VitalPBX Repo                *
    

Downloading GPG Key…
bash: line 9: gpg: command not found
(23) Failed writing body
Creating apt sources list file
Downloading package information from configured sources
Hit:1 Index of /debian buster InRelease
Hit:2 Index of /debian buster-updates InRelease
Hit:3 Index of /debian buster-backports InRelease
Hit:4 Index of /debian-security buster/updates InRelease
Get:5 Index of /vitalpbx/v4/apt/audios stable InRelease [3392 B]
Err:5 Index of /vitalpbx/v4/apt/audios stable InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3BBBD74616F93968
Get:6 Index of /vitalpbx/v4/apt/base stable InRelease [3419 B]
Err:6 Index of /vitalpbx/v4/apt/base stable InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3BBBD74616F93968
Get:7 Index of /vitalpbx/v4/apt/core stable InRelease [3385 B]
Err:7 Index of /vitalpbx/v4/apt/core stable InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3BBBD74616F93968
Get:8 Index of /vitalpbx/v4/apt/extras stable InRelease [3413 B]
Err:8 Index of /vitalpbx/v4/apt/extras stable InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3BBBD74616F93968
Reading package lists… Done
W: GPG error: Index of /vitalpbx/v4/apt/audios stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3BBBD74616F93968
E: The repository ā€˜Index of /vitalpbx/v4/apt/audios stable 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: Index of /vitalpbx/v4/apt/base stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3BBBD74616F93968
E: The repository ā€˜Index of /vitalpbx/v4/apt/base stable 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: Index of /vitalpbx/v4/apt/core stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3BBBD74616F93968
E: The repository ā€˜Index of /vitalpbx/v4/apt/core stable 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: Index of /vitalpbx/v4/apt/extras stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3BBBD74616F93968
E: The repository ā€˜Index of /vitalpbx/v4/apt/extras stable 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.


  •       Update after setup VPBX Repo...                *
    

First, use the right OS. In this case, you must use Debian 11. Remember to escalate privileges to install the system as the root user.

Then, before running the script, install the package below.
apt-get -y install gnupg

1 Like

Hola, yo presente el mismo problema y lo resolvi ejecutando primero este comando

sudo apt-get update

Luego el que indica el ingeniero Miguel

apt-get -y install gnupg

y luego el script que estÔ en la pÔgina oficial de vital y se realizó la instalación de forma exitosa.

Saludos y espero que sea de utilidad este comentario.

1 Like

Many here, willing to help, do not speak your language.

1 Like

Hello, I had the same problem and I solved it by first executing this command

sudo apt-get update

Then the one indicated by the engineer Miguel

apt-get -y install gnupg

and then the script that is in the official page of vital and the installation was done successfully.

Greetings and I hope this comment is useful.

2 Likes

Also, we need to install on Debian 11 and not 12, correct?

Debian 12 is currently not supported

1 Like

Would it be possible to update the documentation and indicate this important fact? I lost to much time yesterday trying to figure out what was the issue