Your message dated Wed, 10 Jun 2020 05:10:17 +0000
with message-id <e1jit0d-000i2m...@fasolo.debian.org>
and subject line Bug#962490: Removed package(s) from unstable
has caused the Debian Bug report #877856,
regarding mysql-utilities: Parsing MySQL version is broken
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
877856: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877856
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mysql-utilities
Version: 1.6.4-1
Severity: grave
Tags: newcomer upstream
Justification: renders package unusable
MySQL version parser is broken in 1.6.4, fixed in 1.6.5, but doesn't
seem to be available:
https://dev.mysql.com/doc/mysql-utilities/1.6/en/mysql-utils-install-deb.html
refers to 1.6.4, and:
https://dev.mysql.com/doc/mysql-utilities/1.6/en/mysql-utils-install-source.html
refers to 1.6.4 too.
Example Python script, to be run as root (or any user that has access to
mysqld
executable):
test.py
______________________________________
from mysql.utilities.common.tools import (get_mysqld_version, get_tool_path)
if __name__ == '__main__':
mysqld_path = get_tool_path("/usr", "mysqld")
version_str = get_mysqld_version(mysqld_path)
print version_str
______________________________________
MariaDB is installed, and report:
root# mysqld --version
mysqld Ver 10.1.26-MariaDB-0+deb9u1 for debian-linux-gnu on x86_64
(Debian 9.1)
Running the Python script:
root# python test.py
None
Fixing the function parse_mysqld_version,
in /usr/lib/python2.7/dist-packages/mysql/utilities/common/tools.py,
according to:
https://github.com/mysql/mysql-utilities/blob/release-1.6.5/mysql/utilities/common/tools.py#L247
Run the script again:
root# python test.py
('10', '1', '26')
This breaks mysqlfrm tool, because the failed parsing of the version
will run script for MySQL < 5.7.6 where I have a MySQL 5.7.19 (Percona
XtraDB Cluster 5.7)
Thanks Debian team!
-- System Information:
Debian Release: 9.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr:en_US:en_GB (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages mysql-utilities depends on:
ii python 2.7.13-2
ii python-mysql.connector 2.1.6-1
mysql-utilities recommends no packages.
mysql-utilities suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 1.6.4-1+rm
Dear submitter,
as the package mysql-utilities has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/962490
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---