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
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:/~#
Leave a Reply