Bug 276142

Summary: net-mgmt/icinga2: Problematic pkg dependency
Product: Ports & Packages Reporter: gyptazy <gyptazy>
Component: Individual Port(s)Assignee: Jochen Neumeister <joneum>
Status: New ---    
Severity: Affects Many People CC: gyptazy
Priority: --- Flags: bugzilla: maintainer-feedback? (joneum)
Version: Latest   
Hardware: Any   
OS: Any   

Description gyptazy 2024-01-06 10:16:54 UTC
Hey,

icinga2 pkg has a force dependency on mysql80-client which may be problematic when running a MariaDB (Galera Cluster) or using the MariaDB (mariadb1011-client) client tools instead of the MySQL ones.

The icinga2 package should have a dependency against mysql80-client or mariadb1011-client to also support MariaDB instead of only MySQL.

Cheers,
gyptazy
Comment 1 gyptazy 2024-01-06 10:18:23 UTC
Example:


Checking integrity... done (2 conflicting)
  - mysql80-client-8.0.33_3 conflicts with mariadb1011-client-10.11.6 on /usr/local/bin/my_print_defaults
  - mysql80-client-8.0.33_3 conflicts with mariadb1011-server-10.11.6 on /usr/local/bin/perror
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 5 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
	mariadb1011-client: 10.11.6
	mariadb1011-server: 10.11.6

New packages to be INSTALLED:
	icinga2: 2.14.0_2
	monitoring-plugins: 2.3.3_1
	mysql80-client: 8.0.33_3