• 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.

Question Error while removing plesk-core - how to fix it

Urs Krämer

New Pleskian
After having upgraded to Plesk Obsidian i have the following error:



The following packages have unmet dependencies:

plesk-core : Depends: psa (>= 17.9) but it is not installable

Depends: plesk-core-utilities (>= 18.0) but it is not installable

Depends: plesk-service-node-utilities (>= 18.0) but it is not installable

Depends: plesk-backup-utilities (>= 18.0) but it is not installable

Depends: libpam-plesk but it is not installable

Depends: psa-phpmyadmin (>= 4.9.0.1) but it is not installable

Depends: psa-locale-base-en-us (>= 18.0) but it is not installable

E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


When running apt --fix-broken install i get the following error:


Reading package lists... Done

Building dependency tree

Reading state information... Done

Correcting dependencies... Done

The following packages were automatically installed and are no longer required:

libruby2.5 passenger-native-libs rake ruby ruby-did-you-mean ruby-minitest ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.5 rubygems-integration

Use 'apt autoremove' to remove them.

The following packages will be REMOVED:

plesk-core

0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.

After this operation, 79.6 MB disk space will be freed.

Do you want to continue? [Y/n] y

(Reading database ... 238462 files and directories currently installed.)

Removing plesk-core (18.0-v.ubuntu.18.04+p18.0.20.2+t191101.1317) ...

dpkg action:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

Trying to backup MySQL database... ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)


ERROR while trying to backup MySQL database


Check the error reason (see log file: /var/log/plesk/install/plesk_18.0.20_installation.log), fix and try again

dpkg action:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

Trying to backup MySQL database... ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)


ERROR while trying to backup MySQL database



Package script failed


***** installing problem report *****

ERROR while trying to backup MySQL database

Package script failed

dpkg: error processing package plesk-core (--remove):

installed plesk-core package pre-removal script subprocess returned error exit status 1

Errors were encountered while processing:

plesk-core

E: Sub-process /usr/bin/dpkg returned an error code (1)
 
After upgrading plesk to 18.0.20 something is broken:


You might want to run 'apt --fix-broken install' to correct these.

The following packages have unmet dependencies:

plesk-core : Depends: psa (>= 17.9) but it is not installable
Depends: plesk-core-utilities (>= 18.0) but it is not installable
Depends: plesk-service-node-utilities (>= 18.0) but it is not installable
Depends: plesk-backup-utilities (>= 18.0) but it is not installable
Depends: libpam-plesk but it is not installable
Depends: psa-phpmyadmin (>= 4.9.0.1) but it is not installable
Depends: psa-locale-base-en-us (>= 18.0) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

------------------------------------------------------

When running 'apt --fix-broken install' i get:


Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libruby2.5 passenger-native-libs rake ruby ruby-did-you-mean ruby-minitest ruby-net-telnet ruby-power-assert
ruby-test-unit ruby2.5 rubygems-integration
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
plesk-core
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 79.6 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 238462 files and directories currently installed.)
Removing plesk-core (18.0-v.ubuntu.18.04+p18.0.20.2+t191101.1317) ...
dpkg action:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Trying to backup MySQL database... ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR while trying to backup MySQL database

Check the error reason (see log file: /var/log/plesk/install/plesk_18.0.20_installation.log), fix and try again
dpkg action:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Trying to backup MySQL database... ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR while trying to backup MySQL database


Package script failed

***** installing problem report *****
ERROR while trying to backup MySQL database
Package script failed
dpkg: error processing package plesk-core (--remove):
installed plesk-core package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
plesk-core
E: Sub-process /usr/bin/dpkg returned an error code (1)




------------------------------------------------------

var/log/plesk/install/plesk_18.0.20_installation.log says:



**** Package plesk-core scriptlet failed.


***** installing problem report *****
ERROR while trying to backup MySQL database
Package script failed
STOP plesk-core-18.0 installing AT Fri Nov 8 16:06:19 CET 2019
START plesk-core-18.0 installing AT Sat Nov 9 12:59:42 CET 2019

dpkg action:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Trying to backup MySQL database... ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR while trying to backup MySQL database

Package script failed

**** Package plesk-core scriptlet failed.

***** installing problem report *****
ERROR while trying to backup MySQL database
Package script failed
STOP plesk-core-18.0 installing AT Sat Nov 9 12:59:43 CET 2019




How to change MySQL configuration in order to get the plesk-core scriptlet running??
 
Back
Top