• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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 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 http://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