Bug #87126 (mysql-apt-config_0.8.7-1_all.deb) doesn't recognize OS version
Submitted: 19 Jul 2017 17:36 Modified: 25 Jul 2017 4:39
Reporter: Andy Heilveil Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Package Repos Severity:S3 (Non-critical)
Version:0.8.7-1_all OS:Ubuntu (16.04.2 LTS)
Assigned to: CPU Architecture:Any

[19 Jul 2017 17:36] Andy Heilveil
Description:
(mysql-apt-config_0.8.7-1_all.deb) on installation reports "OS not supported".

It is doing a case-sensitive compare, 'Ubuntu' is capitalized in the value the configurator reads and reports, but the list to pick from is lower case.

How to repeat:
install the .deb package.

Suggested fix:
do case insensitive compare when testing for "supported OS"
[21 Jul 2017 13:05] MySQL Verification Team
Hello Andy,

Thank you for the report and feedback!
I have just freshly installed Ubuntu 16.04.2LTS and tried to install the reported .deb package but didn't observe any issues. Could you please copy/paste exact message that you are seeing or screenshot to confirm the issue?

root@Ubuntu16:/home/ushastry# cd Downloads/
root@Ubuntu16:/home/ushastry/Downloads# ls -l
total 59312
-rw-rw-r-- 1 ushastry ushastry    35876 Jul 22 09:05 mysql-apt-config_0.8.7-1_all.deb
-rw-rw-r-- 1 ushastry ushastry 60697707 Jul 22 09:04 mysql-boost-8.0.2-dmr.tar.gz
root@Ubuntu16:/home/ushastry/Downloads# cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
NAME="Ubuntu"
VERSION="16.04.2 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.2 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
root@Ubuntu16:/home/ushastry/Downloads# dpkg -i mysql-apt-config_0.8.7-1_all.deb 
Selecting previously unselected package mysql-apt-config.
(Reading database ... 177524 files and directories currently installed.)
Preparing to unpack mysql-apt-config_0.8.7-1_all.deb ...
Unpacking mysql-apt-config (0.8.7-1) ...
Setting up mysql-apt-config (0.8.7-1) ...
OK
root@Ubuntu16:/home/ushastry/Downloads# dpkg -l|grep mysql
ii  mysql-apt-config                           0.8.7-1                                       all          Auto configuration for MySQL APT Repo.
root@Ubuntu16:/home/ushastry/Downloads# 

Thanks,
Umesh
[21 Jul 2017 14:20] Andy Heilveil
What I initially did:
1) run mysql...deb via Nautilus, a GTK looking gui runs me in circles selecting variants of 3 options, with [Forward] bringing me back to the list of things to configure but never launching a configuration gui
2) use synaptic to delete as many mysql packages as I can, I can't because some unnamed package is 'perhaps being held'
3) stop and disable mysql service, then use commandline to remove mysql packages, success!
4) as part of the package refresh triggered by the above I get an ncurses gui that tells me "Unsupported operating system: Ubuntu xenial" and presents me a list of supported ones which includes 'ubuntu xenial'.
---
Trying to reproduce that I 'removed' the deb then 'installed' it via 'software installer' and did not get the circular gui.
Can you tell me how to invoke the ncurses configuration gui from this state?
[24 Jul 2017 9:04] MySQL Verification Team
I just tried once again by removing and then reinstalling .deb but no issues seen as previously. May be you have to run "dpkg-reconfigure mysql-apt-config" to bring the screen once again?

Thanks,
Umesh
[24 Jul 2017 20:48] Andy Heilveil
"/usr/sbin/dpkg-reconfigure: mysql-apt-config is broken or not fully installed"
via synaptic I 'Mark for installation' and immediately get :
"Package mysql-apt-config has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and never uploaded, has been obsoleted or is not available with the contents of sources.list"
-- I'll see if I can't scrub it harder out of my system before trying to install the .deb again.
-- and when I clean my system thoroughly (all variations of apt clean) the .deb installs with no error. 
Another thing I did since the original problem was remove the dregs of mariadb server. 
-----------------
I guess we call this "can not duplicate" and write it off to some lingering broken package.
[25 Jul 2017 4:39] MySQL Verification Team
Thank you Andy, for confirming.
For now, I shall mark this as can't repeat for now as this is one off issue caused by broken package etc.

Thank you for your interest in MySQL.

regards,
umesh