autoinstaller: gpg: keyserver receive failed: Invalid argument

  • Hi, i try to update from imscp1.5.1 to 1.5.3 and get the following error on running perl autoinstaller -d:


    Code
    1. [ERROR] autoinstaller::Adapter::DebianAdapter::_processAptRepositories: gpg: keyserver receive failed: Invalid argument
    2. [ERROR] autoinstaller::Functions::build: An error occurred while performing build steps

    How can i solve this problem on Ubuntu 18.04? Thx!

  • Hello,

    i have on ubuntu 18.04 LTS install i-mscp 2018120800 - it's running but...

    a lot of tools must have php > 5.6 and so i change in ubuntu from php 5.6 to php 7.1 (setup from i-mscp would have this maximum) and now i would update i-mscp with

    perl imscp-autoinstall -dar php


    Error:

    in Processing apt repository there is the error with the keyserver.


    I have change the DNS:

    systemd-resolve --status

    Global

    DNS Servers: 8.8.8.8

    DNSSEC NTA: 10.in-addr.arpa


    Have anyone an idea to solv my problem?

    Regards detlev

  • I have purchase the PhpSwitcher Plugin - 22.10.2018

    Phpswitcher is install, but after the update to the last i-mscp-version there is a problem with them:


    i have update in ubuntu to:

    php -v

    PHP 7.1.33-3+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Dec 18 2019 14:53:18) ( NTS )

    Copyright (c) 1997-2018 The PHP Group

    Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies

    with Zend OPcache v7.1.33-3+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies





    Plugin::PhpSwitcher::_overrideHttpFpmServerSettings: Couldn't find default PHP version. Plugin::PhpSwitcher::_overrideFpmUdsPath: Couldn't find default PHP version. Plugin::PhpSwitcher::_overrideFpmUdsPath: Couldn't find default PHP version. Plugin::Ph
  • in Processing apt repository there is the error with the keyserver.

    Try "apt update" manually, sury has changed his keys, maybe that's the point?


    Post the result here (you have to run that as root or with sudo).

  • Try "apt update" manually, sury has changed his keys, maybe that's the point?


    Post the result here (you have to run that as root or with sudo).

    Hello tracer,

    thx for your help.

    I've update, but now the error

    Error while performing step: │

    │ │

    │ Processing APT repositories │

    │ │

    │ Error was: │

    │ │

    │ autoinstaller::Adapter::DebianAdapter::_processAptRepositories: gpg: keyserver receive failed: Invalid │

    │ argument │

    │ │

    │ Please have a look at http://i-mscp.net/forum if you need help.


    In apt.conf.d i have the folloing:

    # dpkg(1) configuration file - auto-generated by i-MSCP

    # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

    DPkg::Post-Invoke {

    "if [ -x /usr/local/sbin/imscp-dpkg-post-invoke.pl -a ${IMSCP_SETUP:=0} -eq 0 ]; then /usr/bin/perl /usr/local/s$

    };


    /usr/local/src/imscp-1.5.3-2018120800 # systemd-resolve --status

    Global

    DNS Servers: 8.8.8.8

    Edited once, last by detlevp ().

  • I have read this Post


    /usr/local/src/imscp-1.5.3-2018120800 # apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys B188E2B695BD4743

    Executing: /tmp/apt-key-gpghome.3ATKMtDlb7/gpg.1.sh --keyserver ha.pool.sks-keyservers.net --recv-keys B188E2B695BD4743

    gpg: keyserver receive failed: Invalid argument

    /usr/local/src/imscp-1.5.3-2018120800 # apt-key list

    /etc/apt/trusted.gpg

    --------------------

    pub rsa1024 2009-01-26 [SC]

    14AA 40EC 0831 7567 56D7 F66C 4F4E A0AA E526 7A6C

    uid [ unknown] Launchpad PPA for Ondřej Surý


    /etc/apt/trusted.gpg.d/ondrej_ubuntu_php.gpg

    --------------------------------------------

    pub rsa1024 2009-01-26 [SC]

    14AA 40EC 0831 7567 56D7 F66C 4F4E A0AA E526 7A6C

    uid [ unknown] Launchpad PPA for Ondřej Surý


    /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-archive.gpg

    ------------------------------------------------------

    pub rsa4096 2012-05-11 [SC]

    790B C727 7767 219C 42C8 6F93 3B4F E6AC C0B2 1F32

    uid [ unknown] Ubuntu Archive Automatic Signing Key (2012) <[email protected]>


    /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg

    ------------------------------------------------------

    pub rsa4096 2012-05-11 [SC]

    8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092

    uid [ unknown] Ubuntu CD Image Automatic Signing Key (2012) <[email protected]>


    /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg

    ------------------------------------------------------

    pub rsa4096 2018-09-17 [SC]

    F6EC B376 2474 EDA9 D21B 7022 8719 20D1 991B C93C

    uid [ unknown] Ubuntu Archive Automatic Signing Key (2018) <[email protected]>