[ZBX-7984] Add dependency on 'virtual-mysql-client' for Debain packages. Created: 2014 Mar 25 Updated: 2017 May 30 Resolved: 2014 Apr 08 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | 2.2.2 |
Fix Version/s: | 2.2.3 |
Type: | Incident report | Priority: | Trivial |
Reporter: | Timur Bakeyev | Assignee: | Kodai Terashima |
Resolution: | Fixed | Votes: | 2 |
Labels: | debian, packaging | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch Linux monitor.ad-lab.nl 3.10-0.bpo.3-amd64 #1 SMP Debian 3.10.11-1~bpo70+1 (2013-09-24) x86_64 GNU/Linux |
Description |
I got a conflict of the packages, when 'zabbix-server-mysql' and 'percona-server-56' trying to remove each other during the package upgrade. It was a bit difficult to track down, but the outcome is: Official zabbix server: Package: zabbix-server-mysql DotDeb zabbix server: Package: zabbix-server-mysql Debian zabbix server: Package: zabbix-server-mysql The notable difference is that official zabbix server package put hard dependency on 'mysql-client | mariadb-client', where other packages merely rely on libmysqlclient18 (>= 5.5.24+dfsg-1) dependency. That's not a problem by itself, but one of the mySQL-compatible replacements, Percona-server-5.6 provides nysql in the following way: Package: percona-server-client-5.6 Seems, both variants are used now in Debian packages, so, for example, Redmine requires: Depends: libmysql-ruby, mysql-client | virtual-mysql-client Can you, please, do the same, and require: Depends: mysql-client | virtual-mysql-client | mariadb-client |
Comments |
Comment by Raymond Kuiper [ 2014 Mar 25 ] |
Also running into these issues using both the official Percona and Zabbix repos. Did you figure out a workaround for this issue? |
Comment by Timur Bakeyev [ 2014 Mar 25 ] |
I raised similar ticket with Percona and postponed the upgrade of mySQL server... |
Comment by Timur Bakeyev [ 2014 Mar 25 ] |
Also, as an intermediate solution it's possible to create empty 'virtual-mysql-client' package with 'equivs'. Actually, I think that what I did last time. |
Comment by Geoffroi Genot [ 2014 Mar 31 ] |
Also had the issues. I made a workaround by simply editing the package : mkdir zabbix_pkg_src |
Comment by Timur Bakeyev [ 2014 Apr 01 ] |
Sure it's possible to repackage, thanks for src. But it would be really nice, if this change hit the 2.2.3 release. PLEASE! |
Comment by Kodai Terashima [ 2014 Apr 08 ] |
Thanks for the suggestion. Added virtual-mysql-client dependency for server-mysql and server-proxy packages. |
Comment by Raymond Kuiper [ 2014 Apr 08 ] |
Hi Kodai, will this be updated for the 2.2.3 packages? |
Comment by Kodai Terashima [ 2014 Apr 08 ] |
Hi Raymond, I forgot to add "Fix Version/s". Yes, it will be included in 2.2.3 packages. 2.2.3 packages will be available soon. |
Comment by Sergey Solozhentsev [ 2014 Nov 06 ] |
this issue is not fixed event for 2.4. When I want to install zabbix 2.4 on server with percona 5.6 apt-get want to remove percona-server-5.6 log |