• 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 [Plesk installer] The following packages have unmet dependencies: psa-php-configurator

King555

Regular Pleskian
When I'm trying to install the "PHP version by OS vendor" (Ubuntu 18) via the console (/usr/local/psa/admin/bin/autoinstaller) I get the following error:

Code:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
psa-php-configurator : PreDepends: libapache2-mod-php
                        PreDepends: php-cgi
                        Depends: php-mysql but it is not going to be installed or
                                 php-mysqlnd
                        Depends: php-gd
                        Depends: php-imap
                        Depends: php-curl
                        Depends: php-mbstring
                        Depends: php-zip
E: Unable to correct problems, you have held broken packages.

Installation will not continue

ERROR: The apt-get failed with the following message:
Not all packages were installed.
Visit https://support.plesk.com/ to search for a solution.

I think I know what lead to this error:
- After a fresh installation of Ubuntu 18 and Plesk Obsidian I installed PHP 5.6 via the ondrej/php repository.
- Then I deleted the OS vendor PHP version via the Plesk installer, which deleted PHP 5.6 (I don't know why).
- Then I had to reinstall PHP 5.6.
- Some days ago I uninstalled PHP 5.6, because I migrated my PHP applications to PHP 7.4.
- I remember that "psa-php-configurator" was part of the uninstallation (I could not skip this).

Does anyone know a solution for me?

EDIT: I resolved it by myself. I uninstalled PHP 7.2 (from OS vendor) manually via console, which was still installed. Now I could install it again via Plesk installer. The problem was that there was an inconsistency between Plesk installer (OS vendor version NOT installed) and reality (OS vendor version IS installed).
 
Last edited:
Back
Top