Bizarre apt-get behavior - restarts Percona server install on a production server

This happens trying to apt-get sendmail;

Ubuntu 14.04LTS happily running Percona Server (GPL), Release 72.1, Revision 0503478

  • when I run “apt-get install mailutils” (to be able to send out email messages when space is low, etc) it restarts the Percona server install (with the pink full-window asking me to enter a new root password…) -

dpkg --get-selections shows the persona packages installed normally.

A little more information:

This seems to be an issue with the Percona server Release 72.1, Revision 0503478

completing the install (like running it for the first time, apparently) leaves dpkg thinking the installation did not complete correctly because the “service mysql start” command hangs - it gets mysql running, but never returns control to the calling install script.

After reinstalling & waiting 2hrs for Percona to come back from starting the server:

~# dpkg -l | grep -v ‘^ii’
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
++±================================-=============================-============-
rc crda 1.1.2-1ubuntu2 amd64 wireless Central Regulatory Domain Agent
iF percona-server-server-5.6 5.6.23-72.1-1.trusty amd64 Percona Server database server binaries

note the “iF” indicating an error…

…so it looks like short of removing percona completely from the server to fix dpkg, there’s no way to use apt repositories after running a Percona install on this particular combination of versions…