• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Unable to locate package plesk-php72

TomE

Basic Pleskian
hello,

installation of php 7.2 fails with the following logs

Code:
[2019-01-31 12:32:19.909084] Die Synchronisierung Debian APT-Paket-Indexdateien...
[2019-01-31 12:32:19.938881] Get:1 ftp://ftp.stratoserver.net trusty InRelease
Ign ftp://ftp.stratoserver.net trusty InRelease
Hit ftp://ftp.stratoserver.net trusty-updates InRelease
Hit ftp://ftp.stratoserver.net trusty-security InRelease
Hit ftp://ftp.stratoserver.net trusty InRelease
Hit ftp://ftp.stratoserver.net all InRelease
Hit ftp://ftp.stratoserver.net trusty InRelease
Hit http://autoinstall.plesk.com trusty InRelease
Hit ftp://ftp.stratoserver.net trusty InRelease
Get:2 ftp://ftp.stratoserver.net trusty Release.gpg [933 B]
Hit ftp://ftp.stratoserver.net trusty-updates/main Sources
Hit ftp://ftp.stratoserver.net trusty-updates/restricted Sources
Hit ftp://ftp.stratoserver.net trusty-updates/universe Sources
Get:3 ftp://ftp.stratoserver.net trusty-security/main i386 Packages [726 kB]
Hit http://autoinstall.plesk.com trusty/all amd64 Packages
Hit http://updates.atomicorp.com trusty InRelease
E: The method driver /usr/lib/apt/methods/https could not be found.
Warning: there are errors in 'apt-get update'
[2019-01-31 12:32:20.183485] autoinstaller: read output of apt-cache policy
[2019-01-31 12:32:23.859729] Warning: not connected 'multiverse' repository section
[2019-01-31 12:32:23.859797] repository: Get brief packages info for all sources
[2019-01-31 12:32:23.859830] Checking for installed in extension catalog packages
[2019-01-31 12:32:25.934862] autoinstaller: read output of /usr/local/psa/bin/extension --list
[2019-01-31 12:33:18.454804] Calculated source line is 'deb ftp://ftp.stratoserver.net/pub/plesk/ubuntu/PSA_17.8.11 trusty all'
[2019-01-31 12:33:18.454833] Calculated source line is 'deb ftp://ftp.stratoserver.net/pub/plesk/ubuntu/PSA_17.8.11 trusty extras'
[2019-01-31 12:33:18.454857] Calculated source line is 'deb ftp://ftp.stratoserver.net/pub/plesk/ubuntu/PHP70_17 trusty all'
[2019-01-31 12:33:18.454927] Calculated source line is 'deb ftp://ftp.stratoserver.net/pub/plesk/debian/SITEBUILDER_17.8.12 all all'
[2019-01-31 12:33:18.455000] add line 'deb ftp://ftp.stratoserver.net/pub/plesk/ubuntu/PSA_17.8.11 trusty all' to temporary source list
[2019-01-31 12:33:18.455026] add line 'deb ftp://ftp.stratoserver.net/pub/plesk/debian/SITEBUILDER_17.8.12 all all' to temporary source list
[2019-01-31 12:33:18.455110] add line 'deb ftp://ftp.stratoserver.net/pub/plesk/ubuntu/PSA_17.8.11 trusty extras' to persistent source list
[2019-01-31 12:33:18.455143] add line 'deb ftp://ftp.stratoserver.net/pub/plesk/ubuntu/PHP70_17 trusty all' to persistent source list
[2019-01-31 12:33:18.501647] OK
Die Synchronisierung Debian APT-Paket-Indexdateien...
[2019-01-31 12:33:18.533080] Get:1 ftp://ftp.stratoserver.net trusty InRelease
Ign ftp://ftp.stratoserver.net trusty InRelease
Hit ftp://ftp.stratoserver.net trusty-updates InRelease
Hit ftp://ftp.stratoserver.net trusty-security InRelease
Hit ftp://ftp.stratoserver.net trusty InRelease
Hit ftp://ftp.stratoserver.net all InRelease
Hit ftp://ftp.stratoserver.net trusty InRelease
Hit ftp://ftp.stratoserver.net trusty InRelease
Hit ftp://ftp.stratoserver.net trusty InRelease
Hit http://autoinstall.plesk.com trusty InRelease
Get:2 ftp://ftp.stratoserver.net trusty Release.gpg [933 B]
Hit ftp://ftp.stratoserver.net trusty-updates/main Sources
Hit ftp://ftp.stratoserver.net trusty-updates/restricted Sources
Hit ftp://ftp.stratoserver.net trusty-updates/universe Sources
Hit ftp://ftp.stratoserver.net trusty Release
Get:3 ftp://ftp.stratoserver.net trusty-security/main i386 Packages [726 kB]
Hit http://autoinstall.plesk.com trusty/all amd64 Packages
Get:4 ftp://ftp.stratoserver.net trusty-security/restricted i386 Packages [13.9 kB]
Get:5 ftp://ftp.stratoserver.net trusty-security/universe i386 Packages [265 kB]
Ign http://autoinstall.plesk.com trusty/all Translation-en
Ign http://autoinstall.plesk.com trusty/all Translation-de
E: The method driver /usr/lib/apt/methods/https could not be found.
Warning: there are errors in 'apt-get update'
[2019-01-31 12:33:18.776834]
[2019-01-31 12:33:18.776977] Getting packages to installation list:
[2019-01-31 12:33:18.777276] Following packages will be installed: plesk-php72-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-bcmath-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-cli-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-dba-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-enchant-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-fpm-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-gd-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-imagick-3.4.3-ubuntu14.04.18120711.amd64 plesk-php72-imap-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-intl-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-ioncube-loader-10.2.1-ubuntu14.04.18062214.amd64 plesk-php72-ldap-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-mbstring-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-mysql-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-odbc-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-opcache-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-pdo-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-pear-1.10.5-ubuntu14.04.19011111.all plesk-php72-pgsql-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-process-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-pspell-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-redis-3.0.0-ubuntu14.04.18010914.amd64 plesk-php72-snmp-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-soap-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-sodium-7.2.14-ubuntu.14.04.190111.1136.amd64 plesk-php72-tidy-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-xdebug-2.6.0-ubuntu14.04.18040410.amd64 plesk-php72-xml-1:7.2.14-ubuntu14.04.19011111.amd64 plesk-php72-xmlrpc-1:7.2.14-ubuntu14.04.19011111.amd64
[2019-01-31 12:33:18.777418] Auflösung der Paketabhängigkeiten wird geprüft.
[2019-01-31 12:33:18.777505] autoinstaller: read output of DEBIAN_FRONTEND=noninteractive LANG=C apt-get --assume-yes --show-upgraded --purge --no-reinstall -o APT::Get::List-Cleanup=true -o Dpkg::options::=--force-confdef -o Dpkg::options::=--force-confold  -o APT::Get::AllowUnauthenticated=false -o Acquire::Retries=3  -t 'trusty*'  --just-print install plesk-php72=1:7.2.14-ubuntu14.04.19011111 plesk-php72-bcmath=1:7.2.14-ubuntu14.04.19011111 plesk-php72-cli=1:7.2.14-ubuntu14.04.19011111 plesk-php72-dba=1:7.2.14-ubuntu14.04.19011111 plesk-php72-enchant=1:7.2.14-ubuntu14.04.19011111 plesk-php72-fpm=1:7.2.14-ubuntu14.04.19011111 plesk-php72-gd=1:7.2.14-ubuntu14.04.19011111 plesk-php72-imagick=3.4.3-ubuntu14.04.18120711 plesk-php72-imap=1:7.2.14-ubuntu14.04.19011111 plesk-php72-intl=1:7.2.14-ubuntu14.04.19011111 plesk-php72-ioncube-loader=10.2.1-ubuntu14.04.18062214 plesk-php72-ldap=1:7.2.14-ubuntu14.04.19011111 plesk-php72-mbstring=1:7.2.14-ubuntu14.04.19011111 plesk-php72-mysql=1:7.2.14-ubuntu14.04.19011111 plesk-php72-odbc=1:7.2.14-ubuntu14.04.19011111 plesk-php72-opcache=1:7.2.14-ubuntu14.04.19011111 plesk-php72-pdo=1:7.2.14-ubuntu14.04.19011111 plesk-php72-pear=1.10.5-ubuntu14.04.19011111 plesk-php72-pgsql=1:7.2.14-ubuntu14.04.19011111 plesk-php72-process=1:7.2.14-ubuntu14.04.19011111 plesk-php72-pspell=1:7.2.14-ubuntu14.04.19011111 plesk-php72-redis=3.0.0-ubuntu14.04.18010914 plesk-php72-snmp=1:7.2.14-ubuntu14.04.19011111 plesk-php72-soap=1:7.2.14-ubuntu14.04.19011111 plesk-php72-sodium=7.2.14-ubuntu.14.04.190111.1136 plesk-php72-tidy=1:7.2.14-ubuntu14.04.19011111 plesk-php72-xdebug=2.6.0-ubuntu14.04.18040410 plesk-php72-xml=1:7.2.14-ubuntu14.04.19011111 plesk-php72-xmlrpc=1:7.2.14-ubuntu14.04.19011111
[2019-01-31 12:33:23.125457] E: Unable to locate package plesk-php72
E: Unable to locate package plesk-php72-bcmath
E: Unable to locate package plesk-php72-cli
E: Unable to locate package plesk-php72-dba
E: Unable to locate package plesk-php72-enchant
E: Unable to locate package plesk-php72-fpm
E: Unable to locate package plesk-php72-gd
E: Unable to locate package plesk-php72-imagick
E: Unable to locate package plesk-php72-imap
E: Unable to locate package plesk-php72-intl
E: Unable to locate package plesk-php72-ioncube-loader
E: Unable to locate package plesk-php72-ldap
E: Unable to locate package plesk-php72-mbstring
E: Unable to locate package plesk-php72-mysql
E: Unable to locate package plesk-php72-odbc
E: Unable to locate package plesk-php72-opcache
E: Unable to locate package plesk-php72-pdo
E: Unable to locate package plesk-php72-pear
E: Unable to locate package plesk-php72-pgsql
E: Unable to locate package plesk-php72-process
E: Unable to locate package plesk-php72-pspell
E: Unable to locate package plesk-php72-redis
E: Unable to locate package plesk-php72-snmp
E: Unable to locate package plesk-php72-soap
E: Unable to locate package plesk-php72-sodium
E: Unable to locate package plesk-php72-tidy
E: Unable to locate package plesk-php72-xdebug
E: Unable to locate package plesk-php72-xml
E: Unable to locate package plesk-php72-xmlrpc
---X--- `apt-get` output ---------------------
Reading package lists...
Building dependency tree...
Reading state information...

---------------------- `apt-get` output ---X---
[2019-01-31 12:33:23.126139] Fehlerdetails werden in der Protokolldatei gespeichert...
Sources list:
Installed in system packages:
Error: Installation wird nicht fortgesetzt

Die Ausführung von apg-get ist mit folgender Meldung fehlgeschlagen:
Reading package lists...
Building dependency tree...
Reading state information...


someone knows the problem? any help?

Thanks and regards,
Tom
 
The packages have different names on RedHat and on Debian-based Linux distributions.
In Debian-based operating systems it ends on -dev, while in RedHat-based operating systems it ends with -devel.
Code:
apt-get install plesk-php72-dev
 
Thanks but I tried the installtion over the plesk components installer .. as always.

I could do that via the console but still I do not understand why the installer does not work anymore?

Can this cause problems if I install it now via the console?
 
Incorrect package name or repository configuration.

please connect to your server via ssh and try this command:
Code:
apt-get install plesk-php72-dev
 
i have try it but not work ...

Code:
root@h2222222:~# apt-get install plesk-php72-dev
Paketlisten werden gelesen... Fertig
Abhägigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
E: Paket plesk-php72-dev kann nicht gefunden werden.

maybe another idea?
 
If it did not help, configure default server OS repositories according to the article How to check system repositories configuration

For example, on Debian 9 server the default repositories are:
Code:
# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian stretch main contrib non-free
deb http://ftp.debian.org/debian stretch-updates main contrib non-free
deb http://security.debian.org stretch/updates main contrib non-free
 
Back
Top