I cannot install any PHP version with PHPSwitcher

  • I just updated PHPSwitcher to the last version. 5.0.4

    I tried to install 2 new versions, but I got:



    I tried reinstalling any other version, and it is the same.

    I tried deleting the /var/cache/pbuilder/psw-debian-stretch/ directory.


    No LSB modules are available.

    Distributor ID: Debian

    Description: Debian GNU/Linux 9.11 (stretch)

    Release: 9.11

    Codename: stretch



    Debian updated

    iMSCP updated to the last version 1.5.3 20180516 FPM

  • lestatminiyo


    Please, show us the content of you /etc/apt/sources.list, the content from any files located under the /etc/apt/sources.list.d directory and the /etc/apt/preferences.d directory.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Nuxwin

    Added the Label not a bug
  • /etc/apt/sources.list


    Sury diabled because:


    Code
    1. Err:2 https://packages.sury.org/php stretch InRelease
    2. The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743
    3. Hit:4 http://mirrors.edge.kernel.org/debian stretch-updates InRelease
    4. Hit:5 http://mirrors.edge.kernel.org/debian stretch-proposed-updates InRelease
    5. Hit:6 http://mirrors.edge.kernel.org/debian stretch Release
    6. Reading package lists... Done
    7. W: GPG error: https://packages.sury.org/php stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743
    8. E: The repository 'https://packages.sury.org/php stretch InRelease' is not signed.
    9. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    10. N: See apt-secure(8) manpage for repository creation and user configuration details.


    /etc/apt/sources.list.d


    Empty



    /etc/apt/preferences.d/imscp


  • lestatminiyo


    Funny.... Can you explain us why you commented the Ondrej Sury repository lines and the MySQL repository lines in your /etc/apt/sources.list file? These repositories were added by i-MSCP and if you remove then, you cannot expect that all work as expected. Please, uncomment these repositories in your /etc/apt/sources.list file. Also please, remove the following stanza in the /etc/apt/preferences.d/imscp file:

    Code
    1. Package: openssl libssl-dev
    2. Pin: release o=Debian,n=stretch
    3. Pin-Priority: 1002

    Then, once done, execute:

    Code
    1. apt-get update
    2. apt-get dist-upgrade


    Finally, retry...


    Thread closed as this is not a bug but simply the result of a "sysadmin" that do all and anything by closing eyes :P

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Nuxwin

    Closed the thread.