[debian-mysql] Bug#850327: W: APT had planned for dpkg to do more than it reported back (3 vs 7).

積丹尼 Dan Jacobson jidanni at jidanni.org
Thu Jan 5 22:35:41 UTC 2017


Package: mysql-server-5.7
Version: 5.7.16-2

If one has mysql disabled. (Why have it running 24 a day?!?!)
Before upgrade, to avoid grievous half install problems,
one must
1. Notice an upgrade is coming (see it in aptitude messages, and then ^C
out of aptitude)
2. systemctl start mysql
3. systemctl enable mysql #start is not enough!!
4. aptitude install mysql-server
5. systemctl stop mysql
6. systemctl disable mysql
What a hassle.
P.S., even if one does this, one will still get an W: message,
well at least if one does steps 4, 2, 3, 4 in that sequence.

# aptitude install
The following partially installed packages will be configured:
  mysql-server  mysql-server-5.7

Setting up mysql-server-5.7 (5.7.16-2) ...
Checking if update is needed.
This installation of MySQL is already upgraded to 5.7.16, use --force if you still need to run mysql_upgrade
Setting up mysql-server (5.7.16-2) ...
W: APT had planned for dpkg to do more than it reported back (3 vs 7).
   Affected packages: mysql-server-5.7:i386



More information about the pkg-mysql-maint mailing list