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

2017-05-04 Thread Robie Basak
On Thu, May 04, 2017 at 10:59:54PM +0800, 積丹尼 Dan Jacobson wrote:
> All I know is now apt says "APT had planned for dpkg to do more than it
> reported back (3 vs 7)." which is a separate issue...

If that's what you're reporting, then surely this is a bug in apt or
dpkg rather than in src:mysql-5.7? Or, if it is caused by the maintainer
script failure, then it is surely a duplicate of bug 843959.


signature.asc
Description: PGP signature


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

2017-05-04 Thread 積丹尼 Dan Jacobson
All I know is now apt says "APT had planned for dpkg to do more than it
reported back (3 vs 7)." which is a separate issue...



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

2017-05-04 Thread Robie Basak
Hi,

On Fri, Jan 06, 2017 at 06:35:41AM +0800, 積丹尼 Dan Jacobson wrote:
> If one has mysql disabled. (Why have it running 24 a day?!?!)

Isn't this a duplicate of bug 843959 that you already filed yourself a
couple of months earlier? Is there any reason I shouldn't mark it as a
duplicate?

Robie


signature.asc
Description: PGP signature


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

2017-01-05 Thread 積丹尼 Dan Jacobson
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