Posts by Athar

    I don't use Ubuntu, but this version is from 2016 and from what the error say, some dependencies requires some newer package it can't install.


    You can try an "apt-get -f install", if it can't find a solution, well... upgrade to Ubuntu 18.04 is probably the only solution I see right now (without any guarantees).


    You other option is to find an older version of the package you want to install and which required a lower version of the dependency, but for that, as the official Ubuntu Package list got Xenial removed, I can't help you, nor have the time on that.

    In short : To use the packaged version, you have to install it first:

    Quote

    Finally, you need keep in mind that for the php_compiler.pl script, the packaged PHP versions are considered only when all requirements are met, that is, when for a given PHP version, the CGI sapi, FPM sapi, and the PEAR distribution are all installed on the system.


    If you follow this part, then you register the packaged version only, that will work, which would be something like, for 7.4 :

    Code
    1. perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl --register --packaged --packaged-only 7.4


    But first, install all the requirements as stated in the wiki, simple as that.

    Do you understand english ?

    At least, can you read it ?


    Because, from what I see there, you don't.


    Just say it, and maybe I'll tell you why this is failling and what you are doing wrong... else, once again, read the WHOLE section about the packaged version, you miss a critical part.

    That's exactly what the other post I linked was saying... just clearing this cache (even just the file was enough for some others).



    And please, read the output of the console, stop doing :

    Code
    1. perl php_compiler.pl --auto-setup 7.1


    Look the line right after it !!!!

    Code
    1. Unknown option: auto-setup



    This parameter DOES NOT EXIST.


    And read the wiki of the plugin to see how to use the packaged version instead of the compiled version (which require more time as your server has to compile the whole PHP binary)

    It's not "composer -V", but :

    /var/local/imscp/composer.phar --version

    (for default location)


    And I don't know why you change this PHP settings, nothing to see with your error.



    PS : Use the edit function, and also the "code" format correctly, my eyes will thank you.

    I see two main things there :


    1st :

    Code
    1. W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: KEYEXPIRED 1507181400 KEYEXPIRED 1546376218 KEYEXPIRED 1546372003 KEYEXPIRED 1580619281 KEYEXPIRED 1580607983 KEYEXPIRED 1580619281 KEYEXPIRED 1507181400 KEYEXPIRED 1546376218 KEYEXPIRED 1546372003 KEYEXPIRED 1580619281 KEYEXPIRED 1580607983 KEYEXPIRED 1507181400 KEYEXPIRED 1546376218 KEYEXPIRED 1546372003 KEYEXPIRED 1580619281 KEYEXPIRED 1580607983


    As you are under Ubuntu, I don't know why this thing would look for a Debian repository.

    But anyway, that's not the concern of this message which say that the key stored on your server and used to validate the repository has expired.


    This is part of the issue, which seems to rely clearly there :


    Code
    1. [ERROR] autoinstaller::Adapter::DebianAdapter::_updatePackagesIndex: Couldn't update package index from remote repository:


    I short, you have some repositories that are unable to "update", as such, the installer fail.


    I suppose that even the old-man "apt-get update" will just fail the same way.

    Check your sources used for Aptitude, as some may just be broken (and I don't know what this "yarnpkg" come from)

    This is why backups exists.


    On another side, if you never update anything, you take a bigger risk of a security breach (where you could also lost everything, even more).



    If you don't want to take any risks, don't host a server by yourself ;)