Actus et Aide Informatique

Erreur Installation VestaCp

Installation will take about 15 minutes ...

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.
--2018-10-28 00:46:12--  http://nginx.org/keys/nginx_signing.key
Resolving nginx.org (nginx.org)... 2001:1af8:4060:a004:21::e3, 2606:7100:1:69::3f, 95.211.80.227, ...
Connecting to nginx.org (nginx.org)|2001:1af8:4060:a004:21::e3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1561 (1.5K) [text/plain]
Saving to: ‘/tmp/nginx_signing.key’

/tmp/nginx_signing.key        100%[=================================================>]   1.52K  --.-KB/s    in 0s

2018-10-28 00:46:12 (243 MB/s) - ‘/tmp/nginx_signing.key’ saved [1561/1561]

E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
--2018-10-28 00:46:12--  http://c.vestacp.com/deb_signing.key
Resolving c.vestacp.com (c.vestacp.com)... 104.236.66.100
Connecting to c.vestacp.com (c.vestacp.com)|104.236.66.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1719 (1.7K) [text/plain]
Saving to: ‘deb_signing.key’

deb_signing.key               100%[=================================================>]   1.68K  --.-KB/s    in 0s

2018-10-28 00:46:13 (382 MB/s) - ‘deb_signing.key’ saved [1719/1719]

E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Get:2 http://nginx.org/packages/mainline/ubuntu bionic InRelease [2,115 B]
Err:2 http://nginx.org/packages/mainline/ubuntu bionic InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ABF5BD827BD9BF62
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Get:3 http://apt.vestacp.com/bionic bionic InRelease [2,184 B]
Err:3 http://apt.vestacp.com/bionic bionic InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 42C5B2130A1F7714
Hit:6 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
W: GPG error: http://nginx.org/packages/mainline/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ABF5BD827BD9BF62
E: The repository 'http://nginx.org/packages/mainline/ubuntu bionic 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: http://apt.vestacp.com/bionic bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 42C5B2130A1F7714
E: The repository 'http://apt.vestacp.com/bionic bionic 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
E: Unable to locate package vesta
E: Unable to locate package vesta-ioncube
E: Unable to locate package vesta-nginx
E: Unable to locate package vesta-php
E: Unable to locate package vesta-softaculous
Error: apt-get install failed

On peut voir que l’erreur se situe au niveau de

E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

Si vous rencontrez cette erreur, il suffit de faire l’installation du package par vous même. Exemple ci dessous:

sudo apt install gnupg2