• 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

Issue cannot install plesk onyx

GhOsTisp

Basic Pleskian
i have to reinstall plesk onyx... but the issues are the next...


Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
mysql-server : Depends: mysql-server-5.7 but it is not going to be installed
plesk-config-troubleshooter : Depends: plesk-mysql-server (>= 17.0.17) but it is not going to be installed
plesk-core : Depends: log4cpp-plesk but it is not going to be installed
Depends: plesk-mysql-server (>= 17.0.17) but it is not going to be installed
plesk-service-node-utilities : Depends: log4cpp-plesk but it is not going to be installed
Depends: psa-logrotate but it is not going to be installed
pp17.0.17-bootstrapper : Depends: plesk-mysql-server (>= 17.0.17) but it is not going to be installed
psa-drweb-configurator : Depends: mail-pc-driver but it is not installable or
psa-mail-driver
psa-phpmyadmin : Depends: plesk-mysql-server (>= 17.0.17) but it is not going to be installed


how fix this?
 
Hi GhOsTisp,

did you consider to install the dependend packages with ( logged in as user "root" over SSH ):

aptitude install mysql-server mysql-server-5.7

Pls. report back with the output of the command.


Another way is to use the suggested command: => apt-get -f install
 
Hi GhOsTisp,

did you consider to install the dependend packages with ( logged in as user "root" over SSH ):

aptitude install mysql-server mysql-server-5.7

Pls. report back with the output of the command.


Another way is to use the suggested command: => apt-get -f install



aptitude install mysql-server mysql-server-5.7
Couldn't find any package whose name or description matched "mysql-server-5.7"
Couldn't find any package whose name or description matched "mysql-server-5.7"
The following NEW packages will be installed:
mysql-client-5.7{a} mysql-client-core-5.7{a} mysql-common{a} mysql-server mysql-server-5.7{a} mysql-server-core-5.7{a}
0 packages upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/18,7 MB of archives. After unpacking 160 MB will be used.
The following packages have unmet dependencies:
plesk-config-troubleshooter : Depende: plesk-core (>= 17.0.17) which is a virtual package and is not provided by any available package.

Depende: plesk-mysql-server (>= 17.0.17) which is a virtual package and is not provided by any available package.

The following actions will resolve these dependencies:

Remove the following packages:
1) plesk-config-troubleshooter



Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
mysql-client-5.7{a} mysql-client-core-5.7{a} mysql-common{a} mysql-server mysql-server-5.7{a} mysql-server-core-5.7{a}
The following packages will be REMOVED:
plesk-config-troubleshooter{a}
0 packages upgraded, 6 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/18,7 MB of archives. After unpacking 160 MB will be used.
Do you want to continue? [Y/n/?] y
Preconfigurando paquetes ...
(Leyendo la base de datos ... 469229 ficheros o directorios instalados actualmente.)
Desinstalando plesk-config-troubleshooter (17.0.17-ubuntu16.04.build1700161028.14) ...
dpkg action:

ERROR while trying to detect MySQL service name
Check the error reason(see log file: /var/log/plesk/install/plesk_17.0.17_installation.log), fix and try again

dpkg action:

ERROR while trying to detect MySQL service name
Check the error reason(see log file: /var/log/plesk/install/plesk_17.0.17_installation.log), fix and try again


detect MySQL service name

***** installing problem report *****
ERROR while trying to detect MySQL service name
Check the error reason(see log file: /var/log/plesk/install/plesk_17.0.17_installation.log), fix and try again
detect MySQL service name
dpkg: error al procesar el paquete plesk-config-troubleshooter (--remove):
el subproceso instalado el script pre-removal devolvió el código de salida de error 1
Se encontraron errores al procesar:
plesk-config-troubleshooter
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:




apt-get install -f
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Corrigiendo dependencias... Listo
Los siguientes paquetes se ELIMINARÁN:
plesk-config-troubleshooter
0 actualizados, 0 nuevos se instalarán, 1 para eliminar y 0 no actualizados.
Se liberarán 527 kB después de esta operación.
¿Desea continuar? [S/n] s
(Leyendo la base de datos ... 469229 ficheros o directorios instalados actualmente.)
Desinstalando plesk-config-troubleshooter (17.0.17-ubuntu16.04.build1700161028.14) ...
dpkg action:

ERROR while trying to detect MySQL service name
Check the error reason(see log file: /var/log/plesk/install/plesk_17.0.17_installation.log), fix and try again

dpkg action:

ERROR while trying to detect MySQL service name
Check the error reason(see log file: /var/log/plesk/install/plesk_17.0.17_installation.log), fix and try again


detect MySQL service name

***** installing problem report *****
ERROR while trying to detect MySQL service name
Check the error reason(see log file: /var/log/plesk/install/plesk_17.0.17_installation.log), fix and try again
detect MySQL service name
dpkg: error al procesar el paquete plesk-config-troubleshooter (--remove):
el subproceso instalado el script pre-removal devolvió el código de salida de error 1
Se encontraron errores al procesar:
plesk-config-troubleshooter
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Hi GhOsTisp,

I would try next:

aptitude purge plesk-config-troubleshooter

... because you can see the dependencies issues with this package. Try first to solve the mysql - issues, so you might be sure, that the requirements for a Plesk installation are met. Pls. control as well, that the MySQL - server is up and running, after you installed it correctly.
 
cannot install mysql-server packages and no aptitude purge plesk-config-troubleshooter

:((((

any solution???
 
Hi GhOsTisp,

we can only help you with your current issue, when you provide the output of the commands, because we have to suggest commands, based on your current outputs - otherwise the suggestions will be very common and may not at all suit your needs. :(
 
I had similar problems with Ubuntu 16 when I added the Maria DB repo. Here I had to install Maria DB first, so the Plesk installer does not try to install MySQL, which can not be found.

The Plesk Installer automatically detects that a database server has already been installed and does not attempt to install a new one.

I think that is a little bug.
 
Back
Top