• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Resolved php-mcrypt instalation plesk-php73-dev problem

CodingJavi

New Pleskian
Hi, I want to activate the mcrypt extension. I'm following this tutorial to install it: How to install the php-mcrypt module on a Plesk server

Once I try to execute: apt install -y plesk-php73-dev gcc libmcrypt-dev make

I get the following error:

The following packages have unmet dependencies:
plesk-php73-dev : Depends: plesk-php73 (= 1:7.3.20-debian.8.200710.1403) but 1:7.3.20-debian.8.200724.1432 is to be installed
E: Unable to correct problems, you have held broken packages.

How can I solve this dependency problem?
 
For resolving dependences the plesk-php73-dev package should be installed manually. At first, detect the currently installed PHP 7.3 version build. For example, on my test system it was 200427.1739:

Code:
# dpkg -l | grep plesk-php73
ii  plesk-php73                        1:7.3.17-debian.8.200427.1739

Then go to Index of /pool and find the same version in PHP_7.3* directories. Download the package. On my test system it is:

Code:
# wget https://autoinstall.plesk.com/pool/PHP_7.3.17_114/dist-deb-Debian-8.0-x86_64/extra/plesk-php73-dev_7.3.17-debian.8.200427.1739_amd64.deb

Install the downloaded package:

Code:
# dpkg -i plesk-php73-dev_7.3.17-debian.8.200427.1739_amd64.deb
Selecting previously unselected package plesk-php73-dev.
(Reading database ... 147159 files and directories currently installed.)
Preparing to unpack plesk-php73-dev_7.3.17-debian.8.200427.1739_amd64.deb ...
Unpacking plesk-php73-dev (1:7.3.17-debian.8.200427.1739) ...
Setting up plesk-php73-dev (1:7.3.17-debian.8.200427.1739) ...
 
Back
Top