Bug #79798 mysql-community-server is not installable
Submitted: 29 Dec 2015 9:11 Modified: 14 Jun 2016 8:15
Reporter: Jeffery Wilkins Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Package Repos Severity:S2 (Serious)
Version: OS:Ubuntu
Assigned to: Lars Tangvald CPU Architecture:Any

[29 Dec 2015 9:11] Jeffery Wilkins
Description:
depends on a package with a new name
libmecab2v5 has been renamed to just libmecab2 (virtual package)

see included link

http://packages.ubuntu.com/xenial/libmecab2v5

How to repeat:
# apt-get install mysql-community-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
 mysql-community-server : Depends: libmecab2v5 (>= 0.996-1.1ubuntu1)

# apt-get install libmecab2v5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libmecab2' instead of 'libmecab2v5'
The following NEW packages will be installed:
  libmecab2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 264 kB of archives.
After this operation, 1,927 kB of additional disk space will be used.
Get:1 http://mirror.it.ubc.ca/ubuntu xenial/universe amd64 libmecab2 amd64 0.996-1.2ubuntu1 [264 kB]
Fetched 264 kB in 0s (354 kB/s)   
Selecting previously unselected package libmecab2.
(Reading database ... 414547 files and directories currently installed.)
Preparing to unpack .../libmecab2_0.996-1.2ubuntu1_amd64.deb ...
Unpacking libmecab2 (0.996-1.2ubuntu1) ...
Processing triggers for libc-bin (2.21-0ubuntu5) ...
Setting up libmecab2 (0.996-1.2ubuntu1) ...
Processing triggers for libc-bin (2.21-0ubuntu5) ...

# apt-get install mysql-community-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  mysql-community-client
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,539 kB of archives.
After this operation, 61.2 MB of additional disk space will be used.
Get:1 http://repo.mysql.com/apt/ubuntu wily/mysql-5.7 amd64 mysql-community-client amd64 5.7.10-1ubuntu15.10 [7,539 kB]
Fetched 7,539 kB in 3s (2,079 kB/s)                 
Selecting previously unselected package mysql-community-client.
(Reading database ... 414555 files and directories currently installed.)
Preparing to unpack .../mysql-community-client_5.7.10-1ubuntu15.10_amd64.deb ...
Unpacking mysql-community-client (5.7.10-1ubuntu15.10) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up mysql-community-client (5.7.10-1ubuntu15.10) ...

Suggested fix:
fix depends to match the proper package name
[4 Jan 2016 8:20] MySQL Verification Team
Hi Jeffery,

Thank you for the report.
I'm not seeing this issue at my end with latest apt-repo on Ubuntu 15.10.

####
ushastry@ubuntu1510:~/Downloads$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.10
DISTRIB_CODENAME=wily
DISTRIB_DESCRIPTION="Ubuntu 15.10"
NAME="Ubuntu"
VERSION="15.10 (Wily Werewolf)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 15.10"
VERSION_ID="15.10"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

ushastry@ubuntu1510:~/Downloads$ sudo dpkg -i mysql-apt-config_0.6.0-1_all.deb 
Selecting previously unselected package mysql-apt-config.
(Reading database ... 180704 files and directories currently installed.)
Preparing to unpack mysql-apt-config_0.6.0-1_all.deb ...
Unpacking mysql-apt-config (0.6.0-1) ...
Setting up mysql-apt-config (0.6.0-1) ...
OK
ushastry@ubuntu1510:~/Downloads$ 
ushastry@ubuntu1510:~/Downloads$ sudo apt-get update
.
ushastry@ubuntu1510:~/Downloads$ sudo apt-get -f install
ushastry@ubuntu1510:~/Downloads$ sudo apt-get install mysql-community-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgif4 libhdf4-0-alt libmysqlclient18 libodbc1 libpq5 libxerces-c3.1 odbcinst odbcinst1debian2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libmecab2v5 mysql-client mysql-community-client
The following NEW packages will be installed:
  libmecab2v5 mysql-client mysql-community-client mysql-community-server
0 upgraded, 4 newly installed, 0 to remove and 104 not upgraded.
Need to get 25.0 MB of archives.
After this operation, 198 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://repo.mysql.com/apt/ubuntu/ wily/mysql-5.7 mysql-community-client amd64 5.7.10-1ubuntu15.10 [7,539 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ wily/universe libmecab2v5 amd64 0.996-1.1ubuntu1 [261 kB]
Get:3 http://repo.mysql.com/apt/ubuntu/ wily/mysql-5.7 mysql-client amd64 5.7.10-1ubuntu15.10 [12.6 kB]                                                                 
Get:4 http://repo.mysql.com/apt/ubuntu/ wily/mysql-5.7 mysql-community-server amd64 5.7.10-1ubuntu15.10 [17.2 MB]                                                       
Fetched 25.0 MB in 1min 26s (290 kB/s)                                                                                                                                  
Preconfiguring packages ...
Selecting previously unselected package mysql-community-client.
(Reading database ... 179677 files and directories currently installed.)
Preparing to unpack .../mysql-community-client_5.7.10-1ubuntu15.10_amd64.deb ...
Unpacking mysql-community-client (5.7.10-1ubuntu15.10) ...
Selecting previously unselected package mysql-client.
Preparing to unpack .../mysql-client_5.7.10-1ubuntu15.10_amd64.deb ...
Unpacking mysql-client (5.7.10-1ubuntu15.10) ...
Selecting previously unselected package libmecab2v5.
Preparing to unpack .../libmecab2v5_0.996-1.1ubuntu1_amd64.deb ...
Unpacking libmecab2v5 (0.996-1.1ubuntu1) ...
Selecting previously unselected package mysql-community-server.
Preparing to unpack .../mysql-community-server_5.7.10-1ubuntu15.10_amd64.deb ...
Unpacking mysql-community-server (5.7.10-1ubuntu15.10) ...
Processing triggers for man-db (2.7.4-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (225-1ubuntu9) ...
Setting up mysql-community-client (5.7.10-1ubuntu15.10) ...
Setting up mysql-client (5.7.10-1ubuntu15.10) ...
Setting up libmecab2v5 (0.996-1.1ubuntu1) ...
Setting up mysql-community-server (5.7.10-1ubuntu15.10) ...
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (225-1ubuntu9) ...
ushastry@ubuntu1510:~/Downloads$ 
ushastry@ubuntu1510:~/Downloads$ sudo dpkg -l|grep mysql
ii  libmysqlclient18:amd64                        5.6.27-0ubuntu1                            amd64        MySQL database client library
ii  mysql-apt-config                              0.6.0-1                                    all          Auto configuration for MySQL APT Repo.
ii  mysql-client                                  5.7.10-1ubuntu15.10                        amd64        MySQL Client meta package depending on latest version
ii  mysql-common                                  5.7.10-1ubuntu15.10                        amd64        MySQL configuration for client and server
ii  mysql-community-client                        5.7.10-1ubuntu15.10                        amd64        MySQL Client and client tools
ii  mysql-community-server                        5.7.10-1ubuntu15.10                        amd64        MySQL Server and server tools
rc  mysql-workbench-community                     6.3.5-1ubu1504                             amd64        MySQL Workbench
ushastry@ubuntu1510:~/Downloads$ 

ushastry@ubuntu1510:~/Downloads$ mysql -uroot -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.7.10 MySQL Community Server (GPL)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> 

If you can provide more information, feel free to add it to this bug and change the status back to 'Open'.

Thank you for your interest in MySQL.

Thanks,
Umesh
[4 Jan 2016 21:08] Jeffery Wilkins
clearly you did not READ the description idiot
[28 Jan 2016 18:48] Thomas Ward
Insufficient information was here - this is only produceable on an Ubuntu 16.04 instance, which is not yet a released or supported Ubuntu release.

In Ubuntu 16.04, the package 'libmecab2v5' was renamed, so the dependency is not satisfied in the `mysql-community-server` package.  As Ubuntu 16.04 is still in development and not yet released, I don't think this is a high priority issue, therefore it does not need addressed until April 2016 when Ubuntu releases 16.04.
[29 Jan 2016 6:15] MySQL Verification Team
Thank you Thomas Ward, as you said rightly this is repeatable only with Ubuntu 16.04. In 16.04 libmecab2v5 seems to be named as libmecab2.
[29 Jan 2016 6:16] MySQL Verification Team
// Affects only Ubuntu 16.04, as seen no issues with previous tests

ushastry@ushastry:~$ sudo apt-get install libmecab2v5
[sudo] password for ushastry: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libmecab2' instead of 'libmecab2v5'
The following NEW packages will be installed:
  libmecab2
0 upgraded, 1 newly installed, 0 to remove and 66 not upgraded.
Need to get 264 kB of archives.
After this operation, 1,927 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 libmecab2 amd64 0.996-1.2ubuntu1 [264 kB]
Fetched 264 kB in 2s (92.2 kB/s)    
Selecting previously unselected package libmecab2.
(Reading database ... 173161 files and directories currently installed.)
Preparing to unpack .../libmecab2_0.996-1.2ubuntu1_amd64.deb ...
Unpacking libmecab2 (0.996-1.2ubuntu1) ...
Processing triggers for libc-bin (2.21-0ubuntu5) ...
Setting up libmecab2 (0.996-1.2ubuntu1) ...
Processing triggers for libc-bin (2.21-0ubuntu5) ...
ushastry@ushastry:~$ 
ushastry@ushastry:~$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu Xenial Xerus (development branch)"
NAME="Ubuntu"
VERSION="16.04 (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial
ushastry@ushastry:~$
[29 Jan 2016 6:17] MySQL Verification Team
Bug #80192 marked as duplicate of this
[3 Feb 2016 8:12] Lars Tangvald
This is only an issue if you try to install packages built on Ubuntu 15.10 on 16.04 (15.10 only has libmecab2v5).

It's not an explicit dependency, so building on 16.04 fixes it.
[14 Jun 2016 8:15] Lars Tangvald
Posted by developer:
 
Proper Ubuntu 16.04 packages are now available.