[debian-mysql] Bug#843959: Bug#843959: can't upgrade if not running all the time

積丹尼 Dan Jacobson jidanni at jidanni.org
Sun Nov 13 06:13:42 UTC 2016


Yes, same as ubuntu. And now much more than just your package gets
affected by this problem:

# deborphan
deborphan: The status file is in an improper state.
One or more packages are marked as half-installed, half-configured,
unpacked, triggers-awaited or triggers-pending. Exiting.

A workaround I found was not what one would perhaps expect,
# systemctl start mysql && aptitude safe-upgrade && systemctl stop mysql
but instead one must do
# systemctl enable mysql && aptitude safe-upgrade && systemctl disable mysql

Anyway, just don't check if it is enabled or not, or at least have a
dpkg configuration preference you can ask the user and remember about
it.

By the way, you then start mysql but don't remember to stop it when you
are finished. "Didn't Mom teach you to leave the room like you found
it?"



More information about the pkg-mysql-maint mailing list