Applicable to:
- Plesk for Linux
Symptoms
-
Debian or Ubuntu is used.
-
Unable to update Plesk server due to the following errors in
/var/log/plesk/systemupdatestool.log
:# tail /var/log/plesk/systemupdatestool.log
Errors were encountered while processing:
package_name
E:Sub-process /usr/bin/dpkg returned an error code (1)
2017-06-28 17:56:57 ERROR: installArchives() failed
2017-06-28 17:56:57 ERROR: Exited with returncode 1. -
Unable to install Plesk micro-updates or updates due to the following error in
/var/log/plesk/install/autoinstaller3.log
:# tail /var/log/plesk/install/autoinstaller3.log
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
mysql-server-5.7
mysql-server
Cause
Packages are misconfigured or were not properly installed.
Resolution
Warning: Manipulations with the package manager can lead to system inoperability or data loss. Back up the server, proceed with caution or contact professionals if needed.
-
Connect to the server via SSH.
-
Configure the packages with the
iF
attributes:# dpkg --configure mysql-server-5.7
-
Configure the packages with the
iU
attributes:# dpkg --configure mysql-server
-
Make sure that the packages were successfully configured (they should have the
ii
attribute):# dpkg -l | grep mysql-server
ii mysql-server-5.7 5.7.18-0ubuntu0.16.04.1 amd64 MySQL database server binaries and system database setup
iU mysql-server 5.7.18-0ubuntu0.16.04.1 all MySQL database server (metapackage depending on the latest version) -
If the issue persists, reinstall the failing package:
# apt-get install --reinstall mysql-server
-
Restart update or upgrade tasks.
Comments
2 comments
I don't understand what this means. What exactly you have to enter into the SSH terminal to get a success.
I typed 'apt-get install --reinstall mysql-server' at the end because I couldn't do anything with the previous steps.
But again I got the error message:
Unfulfilled dependencies. Try apt-get -f install without specifying a package (or specify a solution).
These are The Log Infos on the UI Window:
@Wilhelm Ahrendt (Patrick Pehl)
"Unfulfilled dependencies" is a generic dpkg error message that might not be related to this exact article.
As per the output, it is possible that the following article should be applied beforehand: Plesk update fails: The following packages have unmet dependencies: nginx.
This is due to the fact that
nginx-core
andnginx-common
packages must not be installed on Plesk server: they are replaced by thesw-nginx
, provided by Plesk.Please, note that if it does not resolve the issue, it would be better to create a support request for further investigation as per the following article: How to submit a request to Plesk support?
Please sign in to leave a comment.