• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Installing PHP 7.1

occinodo

Basic Pleskian
When trying to install I get an error that there is a mismatch in the requested package versus the downloaded package, see the error log below.

Running yum --enablerepo=PLESK_17_PHP71 clean metadata as suggested in the log file unfortunatly doest not solve this issue.

I hope someone could help me out in this one.

Code:
[2018-06-26 08:09:15.758004] Installation started in background
[2018-06-26 08:09:15.758079] 
Getting bootstrapper packages to installation list:
[2018-06-26 08:09:15.758151] Following bootstrapper packages will be installed: (empty)
[2018-06-26 08:09:15.758180] ---------------- 
[2018-06-26 08:09:15.758196] Getting packages to installation list:
[2018-06-26 08:09:15.758460] Following packages will be installed: plesk-php71-7.1.18-centos7.18052812.x86_64 plesk-php71-bcmath-7.1.18-centos7.18052812.x86_64 plesk-php71-cli-7.1.18-centos7.18052812.x86_64 plesk-php71-dba-7.1.18-centos7.18052812.x86_64 plesk-php71-enchant-7.1.18-centos7.18052812.x86_64 plesk-php71-fpm-7.1.18-centos7.18052812.x86_64 plesk-php71-gd-7.1.18-centos7.18052812.x86_64 plesk-php71-imagick-3.4.3-centos7.18021515.x86_64 plesk-php71-imap-7.1.18-centos7.18052812.x86_64 plesk-php71-intl-7.1.18-centos7.18052812.x86_64 plesk-php71-ioncube-loader-10.0.3-centos7.18020211.x86_64 plesk-php71-ldap-7.1.18-centos7.18052812.x86_64 plesk-php71-mbstring-7.1.18-centos7.18052812.x86_64 plesk-php71-mcrypt-7.1.18-centos7.18052812.x86_64 plesk-php71-mysql-7.1.18-centos7.18052812.x86_64 plesk-php71-odbc-7.1.18-centos7.18052812.x86_64 plesk-php71-opcache-7.1.18-centos7.18052812.x86_64 plesk-php71-pdo-7.1.18-centos7.18052812.x86_64 plesk-php71-pear-1.10.1-centos7.18052812.noarch plesk-php71-pgsql-7.1.18-centos7.18052812.x86_64 plesk-php71-process-7.1.18-centos7.18052812.x86_64 plesk-php71-pspell-7.1.18-centos7.18052812.x86_64 plesk-php71-redis-3.0.0-centos7.18020211.x86_64 plesk-php71-snmp-7.1.18-centos7.18052812.x86_64 plesk-php71-soap-7.1.18-centos7.18052812.x86_64 plesk-php71-tidy-7.1.18-centos7.18052812.x86_64 plesk-php71-xdebug-2.5.0-centos7.18020211.x86_64 plesk-php71-xml-7.1.18-centos7.18052812.x86_64 plesk-php71-xmlrpc-7.1.18-centos7.18052812.x86_64 
[2018-06-26 08:09:15.758549] ----------------
[2018-06-26 08:09:15.887625] Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirror.transip.nl
 * epel: ftp.nluug.nl
 * extras: centos.mirror.transip.nl
 * updates: centos.mirror.transip.nl
+ plesk-php71-enchant
+ plesk-php71-bcmath
+ plesk-php71-gd
+ plesk-php71-soap
+ plesk-php71-xdebug
+ plesk-php71-fpm
+ plesk-php71-xml
+ plesk-php71-tidy
+ plesk-php71-ldap
+ plesk-php71-pspell
+ plesk-php71-pgsql
+ plesk-php71-process
+ plesk-php71-opcache
+ plesk-php71
+ plesk-php71-odbc
+ plesk-php71-imagick
+ plesk-php71-snmp
+ plesk-php71-cli
+ plesk-php71-xmlrpc
+ plesk-php71-imap
+ plesk-php71-pear
+ plesk-php71-mbstring
+ plesk-php71-mysql
+ plesk-php71-redis
+ plesk-php71-pdo
+ plesk-php71-dba
+ plesk-php71-intl
+ plesk-php71-mcrypt
+ plesk-php71-ioncube-loader

(regen obsoletes cache) 
[2018-06-26 08:09:17.177916] Check package set before installation
[2018-06-26 08:09:17.178382] The following packages from not selected components will be installed because they are required by other components' packages you selected for installation: 
[2018-06-26 08:09:17.178509] Installing packages
[2018-06-26 08:09:17.187098] Bootstrapper has finished action (exec time: 0 sec.): parent_name='PLESK_17_8_11', sequence='prep', stage='execute', sequence_order='-1', operation='install', exec_cmd='touch /tmp/pp-bootstrapper-mode.flag; touch /var/lock/parallels-panel-maintenance-mode.flag; rm -f /var/lock/parallels-panel-upgrade-failure.flag; :'', m_arch='', output: ~empty
[2018-06-26 08:09:17.329641] Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirror.transip.nl
 * epel: ftp.nluug.nl
 * extras: centos.mirror.transip.nl
 * updates: centos.mirror.transip.nl
plesk-php71-imagick-3.4.3-centos7.18021515.x86_64.rpm | 82 kB 00:00 
http://autoinstall.plesk.com/PHP71_17/dist-rpm-CentOS-7-x86_64/packages/plesk-php71-imagick-3.4.3-centos7.18021515.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=PLESK_17_PHP71 clean metadata
Trying other mirror.
Error while preparing to install packages: [u'Errors were encountered while downloading packages.', u'plesk-php71-imagick-3.4.3-centos7.18021515.x86_64: [Errno 256] No more mirrors to try.']. Trying again.
plesk-php71-imagick-3.4.3-centos7.18021515.x86_64.rpm | 82 kB 00:00 
http://autoinstall.plesk.com/PHP71_17/dist-rpm-CentOS-7-x86_64/packages/plesk-php71-imagick-3.4.3-centos7.18021515.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=PLESK_17_PHP71 clean metadata
Trying other mirror.
Error while preparing to install packages: [u'Errors were encountered while downloading packages.', u'plesk-php71-imagick-3.4.3-centos7.18021515.x86_64: [Errno 256] No more mirrors to try.']. Trying again.
plesk-php71-imagick-3.4.3-centos7.18021515.x86_64.rpm | 82 kB 00:00 
http://autoinstall.plesk.com/PHP71_17/dist-rpm-CentOS-7-x86_64/packages/plesk-php71-imagick-3.4.3-centos7.18021515.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=PLESK_17_PHP71 clean metadata
Trying other mirror.
Number of retries is exceeded.
YumDownloadError: [u'Errors were encountered while downloading packages.', u'plesk-php71-imagick-3.4.3-centos7.18021515.x86_64: [Errno 256] No more mirrors to try.']
processTransaction event: 10 (Downloading Packages)
processTransaction event: 11 (unknown)
Error while preparing to install packages: [u'Errors were encountered while downloading packages.', u'plesk-php71-imagick-3.4.3-centos7.18021515.x86_64: [Errno 256] No more mirrors to try.']. Trying again.
processTransaction event: 10 (Downloading Packages)
processTransaction event: 11 (unknown)
Error while preparing to install packages: [u'Errors were encountered while downloading packages.', u'plesk-php71-imagick-3.4.3-centos7.18021515.x86_64: [Errno 256] No more mirrors to try.']. Trying again.
processTransaction event: 10 (Downloading Packages)
processTransaction event: 11 (unknown)
Number of retries is exceeded.
Traceback (most recent call last):
 File "/usr/local/psa/bin/yum_install", line 239, in <module>
 main()
 File "/usr/local/psa/bin/yum_install", line 234, in main
 installer.perform(to_install, opts.remove, opts.tries)
 File "/usr/local/psa/bin/yum_install", line 173, in perform
 self._perform(to_install, to_remove, pt_callback)
 File "/usr/local/psa/bin/yum_install", line 192, in _perform
 self.processTransaction(callback = pt_callback, rpmDisplay = QuietCallback())
 File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 6545, in processTransaction
 pkgs = self._downloadPackages(callback)
 File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 6580, in _downloadPackages
 raise Errors.YumDownloadError, errstr
YumDownloadError: [u'Errors were encountered while downloading packages.', u'plesk-php71-imagick-3.4.3-centos7.18021515.x86_64: [Errno 256] No more mirrors to try.']
Bootstrapper has finished action (exec time: 1 sec.): parent_name='PLESK_17_8_11', sequence='pkgs', stage='rollback', sequence_order='1', operation='install', exec_cmd='rm -f /tmp/pp-bootstrapper-mode.flag; rm -f /var/lock/parallels-panel-maintenance-mode.flag; touch /var/lock/parallels-panel-upgrade-failure.flag; /etc/init.d/psa restart; :'', m_arch='', output: ~empty
[2018-06-26 08:09:20.169825] Execute command /usr/local/psa/admin/bin/send-error-report install --version 17.8.11
[2018-06-26 08:09:20.173086] Warning: Failed to attach to cgroup /sys/fs/cgroup/systemd/user/root/tasks, installer might be unexpectedly killed later by the system
[2018-06-26 08:09:20.190561] Error: Failed to run the Yum utility.
The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Please contact product technical support.
 
Make sure that hostname autoinstall.plesk.com is accessible and resolvable from your server.
 
Hi IgorG, it is accessible an resolvable, when installing PHP 7.2 no issues occur, only with 7.1 I get this problem.
 
Try to run

# yum install plesk-php71-devel

and show me error messages if appears.
 
Hi IgorG, I get the following error:

No package plesk-php71-devel available.

Code:
[XXXXXXXXXXXXXXXXXXXXXXX]# yum install plesk-php71-devel
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
epel/x86_64/metalink                                     |  33 kB     00:00
 * base: mirror.nforce.com
 * epel: ftp.nluug.nl
 * extras: mirror.nforce.com
 * updates: mirror.nforce.com
PLESK_17_8_11-extras                                     | 2.9 kB     00:00
PLESK_17_PHP56                                           | 2.9 kB     00:00
PLESK_17_PHP70                                           | 2.9 kB     00:00
PLESK_17_PHP72                                           | 2.9 kB     00:00
base                                                     | 3.6 kB     00:00
dgri-rpm-repo                                            | 3.3 kB     00:00
epel                                                     | 3.2 kB     00:00
extras                                                   | 3.4 kB     00:00
patchman                                                 | 2.9 kB     00:00
plesk-migrator                                           | 2.9 kB     00:00
plesk-migrator-tp                                        | 2.9 kB     00:00
updates                                                  | 3.4 kB     00:00
(1/15): PLESK_17_8_11-extras/primary_db                    |  30 kB   00:00
(2/15): PLESK_17_PHP56/primary_db                          |  13 kB   00:00
(3/15): PLESK_17_PHP70/primary_db                          |  14 kB   00:00
(4/15): base/7/x86_64/group_gz                             | 166 kB   00:00
(5/15): PLESK_17_PHP72/primary_db                          |  13 kB   00:00
(6/15): epel/x86_64/group_gz                               |  88 kB   00:00
(7/15): extras/7/x86_64/primary_db                         | 149 kB   00:00
(8/15): epel/x86_64/updateinfo                             | 925 kB   00:00
(9/15): plesk-migrator/primary_db                          | 6.3 kB   00:00
(10/15): epel/x86_64/primary                               | 3.5 MB   00:00
(11/15): plesk-migrator-tp/primary_db                      | 1.1 kB   00:00
(12/15): base/7/x86_64/primary_db                          | 5.9 MB   00:00
(13/15): updates/7/x86_64/primary_db                       | 2.7 MB   00:00
(14/15): patchman/7/x86_64/primary_db                      |  15 kB   00:00
(15/15): dgri-rpm-repo/7/primary_db                        | 8.9 kB   00:00
epel                                                                12601/12601
No package plesk-php71-devel available.
Error: Nothing to do
 
Check that you have exactly the same content of repo file:

# cat /etc/yum.repos.d/plesk.repo
[PLESK_17_8_11-extras]
name=PLESK_17_8_11 extras
baseurl=http://autoinstall-dev.plesk.com/PSA_17.8.11/extras-rpm-CentOS-7-x86_64/
enabled=1
gpgcheck=1

[PLESK_17_PHP52]
name=PHP 5.2 for Plesk 17
baseurl=http://autoinstall-dev.plesk.com/PHP52_17/dist-rpm-CentOS-7-x86_64/
enabled=1
gpgcheck=1

[PLESK_17_PHP53]
name=PHP 5.3 for Plesk 17
baseurl=http://autoinstall-dev.plesk.com/PHP53_17/dist-rpm-CentOS-7-x86_64/
enabled=1
gpgcheck=1

[PLESK_17_PHP54]
name=PHP 5.4 for Plesk 17
baseurl=http://autoinstall-dev.plesk.com/PHP54_17/dist-rpm-CentOS-7-x86_64/
enabled=1
gpgcheck=1

[PLESK_17_PHP55]
name=PHP 5.5 for Plesk 17
baseurl=http://autoinstall-dev.plesk.com/PHP55_17/dist-rpm-CentOS-7-x86_64/
enabled=1
gpgcheck=1

[PLESK_17_PHP56]
name=PHP 5.6 for Plesk 17
baseurl=http://autoinstall-dev.plesk.com/PHP56_17/dist-rpm-CentOS-7-x86_64/
enabled=1
gpgcheck=1

[PLESK_17_PHP70]
name=PHP 7.0 for Plesk 17
baseurl=http://autoinstall-dev.plesk.com/PHP70_17/dist-rpm-CentOS-7-x86_64/
enabled=1
gpgcheck=1

[PLESK_17_PHP71]
name=PHP 7.1 for Plesk 17
baseurl=http://autoinstall-dev.plesk.com/PHP71_17/dist-rpm-CentOS-7-x86_64/
enabled=1
gpgcheck=1

[PLESK_17_PHP72]
name=PHP 7.2 for Plesk 17
baseurl=http://autoinstall-dev.plesk.com/PHP72_17/dist-rpm-CentOS-7-x86_64/
enabled=1
gpgcheck=1
 
Back
Top