Not the answer you need?
Register and ask your own question!

Error removing percona-server-server-5.6

webvisionairswebvisionairs EntrantInactive User Role Beginner
Hi can any assist with this error : dpkg: error processing package percona-server-server-5.6 (--remove):

Here is what I did:
sudo apt-get remove percona-server-server-5.6

dpkg: error processing package percona-server-server-5.6 (--remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have also tried is sudo apt-get -f install but it keeps getting on the same error: dpkg: error processing package percona-server-server-5.6 (--remove):

Anyone encountered the same error?

I'm using Ubuntu 14.04.1 LTS
Here is what's in /etc/apt/sources.list:

deb trusty main
deb-src trusty main

I have no clue on what to do next. Any input highly appreciated !


  • jriverajrivera Percona Support Engineer Percona Staff Role
    Have you tried dpkg --remove instead? You can also add --force-remove-reinstreq but do it with caution.

    To read about these options do:
    shell> dpkg --help
    shell> dpkg --force-help
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.