Skip to content

Instantly share code, notes, and snippets.

@DreamerKlim
Created August 8, 2018 09:00
Show Gist options
  • Save DreamerKlim/8cd0e150ff41674b946482740e6b1b6d to your computer and use it in GitHub Desktop.
Save DreamerKlim/8cd0e150ff41674b946482740e6b1b6d to your computer and use it in GitHub Desktop.
Ошибка gpg + VestaCP
Installation will take about 15 minutes ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-20 linux-headers-4.15.0-20-generic
linux-image-4.15.0-20-generic linux-modules-4.15.0-20-generic
linux-modules-extra-4.15.0-20-generic
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--2018-08-03 12:37:11-- http://nginx.org/keys/nginx_signing.key
Resolving nginx.org (nginx.org)... 95.211.80.227, 206.251.255.63, 2001:1af8:4060 :a004:21::e3, ...
Connecting to nginx.org (nginx.org)|95.211.80.227|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1561 (1.5K) [text/plain]
Saving to: '/tmp/nginx_signing.key'
/tmp/nginx_signing. 100%[===================>] 1.52K --.-KB/s in 0s
2018-08-03 12:37:11 (199 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-08-03 12:37:11-- 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-08-03 12:37:11 (188 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
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://nginx.org/packages/mainline/ubuntu bionic InRelease [2,112 B]
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Err:3 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
Get:6 http://apt.vestacp.com/bionic bionic InRelease [2,187 B]
Err:6 http://apt.vestacp.com/bionic bionic InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 42C5B2130A1F7714
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
Error: apt-get install failed
@molny
Copy link

molny commented Nov 19, 2018

I'm apply problem - same situation when installing VestaCP on fresh system Ubuntu 18.04.1.
✅ Solution - install gnupg package before run VestaCP install script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment