dpkg dependency problems not removing

When removing a package, I got the following error message

root@82-165-118-245:/~# dpkg --remove psa-phpmyadmin
dpkg: dependency problems prevent removal of psa-phpmyadmin:
 plesk-core depends on psa-phpmyadmin (>= 5.1.1); however:
  Package psa-phpmyadmin is to be removed.

dpkg: error processing package psa-phpmyadmin (--remove):
 dependency problems - not removing
Errors were encountered while processing:
 psa-phpmyadmin
root@82-165-118-245:/~#

It is fixed by specifying –ignore-depends=plesk-core in apt command.

Example

Advertisement

root@82-165-118-245:/~# dpkg --remove --ignore-depends=plesk-core psa-phpmyadmin
(Reading database ... 168316 files and directories currently installed.)
Removing psa-phpmyadmin (5.1.1-v.ubuntu.18.04+p18.0.38.0+t210825.1032) ...
root@82-165-118-245:/~#
Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement