• 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

Question Some errors occured during installation

quattro123

Basic Pleskian
Server operating system version
Debian 11
Plesk version and microupdate number
18.0.43
Hi, i am trying to updat Plesk from 18.0.43 to 18.0.44 and I am getting this error:

Installation started in background
Auflösung der Paketabhängigkeiten wird geprüft.
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
mariadb-server : Depends: mariadb-server-10.6 (>= 1:10.6.8+maria~bullseye) but 1:10.6.7+maria~bullseye is to be installed
mariadb-server-10.6 : Depends: mariadb-client-10.6 (>= 1:10.6.7+maria~bullseye) but it is not going to be installed
plesk-backup-utilities : Depends: plesk-mysql-server (>= 18.0.2) but 18.0.1-v.debian.11+p18.0.43.0+t220331.2159 is to be installed
plesk-config-troubleshooter : Depends: plesk-mysql-server (>= 18.0.2) but 18.0.1-v.debian.11+p18.0.43.0+t220331.2159 is to be installed
plesk-core : Depends: plesk-mysql-server (>= 18.0.2) but 18.0.1-v.debian.11+p18.0.43.0+t220331.2159 is to be installed
plesk-core-utilities : Depends: plesk-mysql-server (>= 18.0.2) but 18.0.1-v.debian.11+p18.0.43.0+t220331.2159 is to be installed
pp18.0.44-bootstrapper : Depends: plesk-mysql-server (>= 18.0.2) but 18.0.1-v.debian.11+p18.0.43.0+t220331.2159 is to be installed
psa-firewall : Depends: plesk-mysql-server (>= 18.0.2) but 18.0.1-v.debian.11+p18.0.43.0+t220331.2159 is to be installed
psa-phpmyadmin : Depends: plesk-mysql-server (>= 18.0.2) but 18.0.1-v.debian.11+p18.0.43.0+t220331.2159 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).



Installation wird nicht fortgesetzt
Error: Die Ausführung von apt-get ist fehlgeschlagen. Fehlermeldung:
Es wurden nicht alle Pakete installiert.
Rufen Sie https://support.plesk.com/ auf, um eine Lösung für dieses Problem zu finden.


When I run apt --fix-broken install, actually this error comes:


root@server:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
mariadb-client-10.6 mariadb-client-core-10.6 mariadb-server-10.6 mariadb-server-core-10.6
Suggested packages:
mariadb-test netcat-openbsd
The following NEW packages will be installed:
mariadb-client-10.6
The following packages will be upgraded:
mariadb-client-core-10.6 mariadb-server-10.6 mariadb-server-core-10.6
3 upgraded, 1 newly installed, 0 to remove and 73 not upgraded.
2 not fully installed or removed.
Need to get 0 B/13.8 MB of archives.
After this operation, 51.9 MB of additional disk space will be used.
N: Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Do you want to continue? [Y/n] y
N: Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Preconfiguring packages ...
Setting up mariadb-common (1:10.6.8+maria~bullseye) ...
update-alternatives: error: alternative path /etc/mysql/mariadb.cnf doesn't exist
dpkg: error processing package mariadb-common (--configure):
installed mariadb-common package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
mariadb-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

Does anyone know what that means / how it can be fixed?
 
Hello quattro123,

For your issue, there are some ways that you can try to fix it.

After trying below, you can try to run sudo apt update and upgrade or install new updates.

You can reconfigure the package database because there are chances that the database got corrupted while installing a package.

- sudo dpkg --configure -a

You can try removing the troublesome package,

- sudo apt remove package_name

Try to use force install,

- sudo apt-get install -f
 
Back
Top