On SLES 15, the following MariaDB package is included by default:
$ sudo zypper info --repo=SLE-Module-Server-Applications15-SP1-Updates mariadb
|
Refreshing service 'Basesystem_Module_x86_64'.
|
Refreshing service 'Containers_Module_x86_64'.
|
Refreshing service 'Desktop_Applications_Module_x86_64'.
|
Refreshing service 'Development_Tools_Module_x86_64'.
|
Refreshing service 'Legacy_Module_x86_64'.
|
Refreshing service 'Public_Cloud_Module_x86_64'.
|
Refreshing service 'Python_2_Module_x86_64'.
|
Refreshing service 'SUSE_Cloud_Application_Platform_Tools_Module_x86_64'.
|
Refreshing service 'SUSE_Linux_Enterprise_Server_x86_64'.
|
Refreshing service 'Server_Applications_Module_x86_64'.
|
Refreshing service 'Web_and_Scripting_Module_x86_64'.
|
Loading repository data...
|
Reading installed packages...
|
|
|
Information for package mariadb:
|
--------------------------------
|
Repository : SLE-Module-Server-Applications15-SP1-Updates
|
Name : mariadb
|
Version : 10.2.29-3.23.1
|
Arch : x86_64
|
Vendor : SUSE LLC <https://www.suse.com/>
|
Support Level : Additional Customer Contract Necessary
|
Installed Size : 121.7 MiB
|
Installed : No
|
Status : not installed
|
Source package : mariadb-10.2.29-3.23.1.src
|
Summary : Server part of MariaDB
|
Description :
|
MariaDB is an open-source, multi-threaded, relational database management
|
system. It's a backward compatible, drop-in replacement branch of the
|
MySQL Community Server.
|
|
This package only contains the server-side programs.
|
This package "provides" the following capabilities:
$ sudo zypper info --repo=SLE-Module-Server-Applications15-SP1-Updates --provides mariadb
|
...
|
Provides : [12]
|
libdaemon_example.so()(64bit)
|
config(mariadb) = 10.2.29-3.23.1
|
mariadb = 10.2.29-3.23.1
|
mariadb(x86-64) = 10.2.29-3.23.1
|
mariadb-102 = 10.2.29
|
mariadb-102-debug-version = 10.2.29
|
mariadb-debug = 10.2.29
|
mariadb-debug-version = 10.2.29
|
mariadb-server = 10.2.29
|
mysql = 10.2.29
|
mysql-debug = 10.2.29
|
mysql-server = 10.2.29
|
Now let's compare this to MariaDB's package on SLES 15:
$ rpm -qp --provides ./MariaDB-server-10.4.11-1.x86_64.rpm
|
warning: ./MariaDB-server-10.4.11-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
|
MariaDB
|
MariaDB-server = 10.4.11-1
|
MariaDB-server(x86-64) = 10.4.11-1
|
MySQL
|
MySQL-server
|
config(MariaDB-server) = 10.4.11-1
|
config(mysql-server) = 10.4.11-1
|
libmariadbd.so.19()(64bit)
|
msqlormysql
|
mysql-server
|
mysql-server = 10.4.11-1
|
mysql-server(x86-64) = 10.4.11-1
|
This has the following problems:
Incorrect Case in "Provides"
First, some of the "provides" have the incorrect case. As the SUSE documentation explains, the "provides" are case-sensitive:
Symbolic names, as used in Requires, Provides and Conflicts are case-sensitive
https://en.opensuse.org/openSUSE:Package_dependencies
The following ones currently have the wrong case for SUSE/SLES:
- MariaDB
- MariaDB-server
- MySQL
- MySQL-server
Missing Items in "Provides"
Second, the following names are missing from the "provides" in our packages:
- config(mariadb)
- mariadb(x86_64)
- mariadb-VERSION (e.g. mariadb-104, mariadb-103, etc.)
Consequences
The consequences of this problem are that some packages cannot be installed on SUSE/SLES if our MariaDB packages are installed. For example, the rmt-server package cannot be installed if our package is installed, because it depends on the lower-case variant mariadb. See here:
$ sudo zypper install rmt-server
|
Refreshing service 'Basesystem_Module_x86_64'.
|
Refreshing service 'Containers_Module_x86_64'.
|
Refreshing service 'Desktop_Applications_Module_x86_64'.
|
Refreshing service 'Development_Tools_Module_x86_64'.
|
Refreshing service 'Legacy_Module_x86_64'.
|
Refreshing service 'Public_Cloud_Module_x86_64'.
|
Refreshing service 'Python_2_Module_x86_64'.
|
Refreshing service 'SUSE_Cloud_Application_Platform_Tools_Module_x86_64'.
|
Refreshing service 'SUSE_Linux_Enterprise_Server_x86_64'.
|
Refreshing service 'Server_Applications_Module_x86_64'.
|
Refreshing service 'Web_and_Scripting_Module_x86_64'.
|
Loading repository data...
|
Reading installed packages...
|
Resolving package dependencies...
|
|
Problem: rmt-server-2.4.1-3.6.1.x86_64 requires mariadb, but this requirement cannot be provided
|
not installable providers: mariadb-10.2.22-3.14.1.x86_64[Server_Applications_Module_x86_64:SLE-Module-Server-Applications15-SP1-Pool]
|
mariadb-10.2.25-3.17.2.x86_64[Server_Applications_Module_x86_64:SLE-Module-Server-Applications15-SP1-Updates]
|
mariadb-10.2.25-3.20.1.x86_64[Server_Applications_Module_x86_64:SLE-Module-Server-Applications15-SP1-Updates]
|
mariadb-10.2.29-3.23.1.x86_64[Server_Applications_Module_x86_64:SLE-Module-Server-Applications15-SP1-Updates]
|
Solution 1: Following actions will be done:
|
deinstallation of MariaDB-client-10.4.10_4-1.x86_64
|
deinstallation of MariaDB-server-10.4.10_4-1.x86_64
|
Solution 2: do not install rmt-server-2.4.1-3.6.1.x86_64
|
Solution 3: break rmt-server-2.4.1-3.6.1.x86_64 by ignoring some of its dependencies
|
See the following SUSE bug for a related problem: https://bugzilla.suse.com/show_bug.cgi?id=1159813
Fix
The required "provides" items should be added here:
https://github.com/MariaDB/server/blob/mariadb-10.4.11/cmake/cpack_rpm.cmake#L157
{"report":{"fcp":917.2000000476837,"ttfb":326,"pageVisibility":"visible","entityId":82131,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"785baad7-6f1f-42db-839d-b7dad131ff8a","navigationType":0,"readyForUser":995.7000000476837,"redirectCount":0,"resourceLoadedEnd":1186.5,"resourceLoadedStart":331.60000014305115,"resourceTiming":[{"duration":78.29999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":331.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":331.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":409.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":78.20000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":331.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":331.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":410.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":142,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":332,"connectEnd":332,"connectStart":332,"domainLookupEnd":332,"domainLookupStart":332,"fetchStart":332,"redirectEnd":0,"redirectStart":0,"requestStart":332,"responseEnd":474,"responseStart":474,"secureConnectionStart":332},{"duration":196.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":332.2000000476837,"connectEnd":332.2000000476837,"connectStart":332.2000000476837,"domainLookupEnd":332.2000000476837,"domainLookupStart":332.2000000476837,"fetchStart":332.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":332.2000000476837,"responseEnd":529.1000001430511,"responseStart":529.1000001430511,"secureConnectionStart":332.2000000476837},{"duration":201.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":332.2999999523163,"connectEnd":332.2999999523163,"connectStart":332.2999999523163,"domainLookupEnd":332.2999999523163,"domainLookupStart":332.2999999523163,"fetchStart":332.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":332.2999999523163,"responseEnd":533.5,"responseStart":533.5,"secureConnectionStart":332.2999999523163},{"duration":201.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":332.2999999523163,"connectEnd":332.2999999523163,"connectStart":332.2999999523163,"domainLookupEnd":332.2999999523163,"domainLookupStart":332.2999999523163,"fetchStart":332.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":332.2999999523163,"responseEnd":533.9000000953674,"responseStart":533.9000000953674,"secureConnectionStart":332.2999999523163},{"duration":201.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":332.5,"connectEnd":332.5,"connectStart":332.5,"domainLookupEnd":332.5,"domainLookupStart":332.5,"fetchStart":332.5,"redirectEnd":0,"redirectStart":0,"requestStart":332.5,"responseEnd":534.2999999523163,"responseStart":534.2999999523163,"secureConnectionStart":332.5},{"duration":202.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":332.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":332.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":534.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":202.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":332.60000014305115,"connectEnd":332.60000014305115,"connectStart":332.60000014305115,"domainLookupEnd":332.60000014305115,"domainLookupStart":332.60000014305115,"fetchStart":332.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":332.60000014305115,"responseEnd":534.7999999523163,"responseStart":534.7999999523163,"secureConnectionStart":332.60000014305115},{"duration":202.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":332.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":332.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":535.1000001430511,"responseStart":0,"secureConnectionStart":0},{"duration":202.39999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":332.90000009536743,"connectEnd":332.90000009536743,"connectStart":332.90000009536743,"domainLookupEnd":332.90000009536743,"domainLookupStart":332.90000009536743,"fetchStart":332.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":332.90000009536743,"responseEnd":535.2999999523163,"responseStart":535.2999999523163,"secureConnectionStart":332.90000009536743},{"duration":408.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":333.5,"connectEnd":333.5,"connectStart":333.5,"domainLookupEnd":333.5,"domainLookupStart":333.5,"fetchStart":333.5,"redirectEnd":0,"redirectStart":0,"requestStart":333.5,"responseEnd":742.4000000953674,"responseStart":742.4000000953674,"secureConnectionStart":333.5},{"duration":848.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":338,"connectEnd":338,"connectStart":338,"domainLookupEnd":338,"domainLookupStart":338,"fetchStart":338,"redirectEnd":0,"redirectStart":0,"requestStart":338,"responseEnd":1186.5,"responseStart":1186.5,"secureConnectionStart":338},{"duration":491.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":694,"connectEnd":694,"connectStart":694,"domainLookupEnd":694,"domainLookupStart":694,"fetchStart":694,"redirectEnd":0,"redirectStart":0,"requestStart":694,"responseEnd":1185.5,"responseStart":1185.5,"secureConnectionStart":694}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":181,"responseStart":326,"responseEnd":330,"domLoading":329,"domInteractive":1210,"domContentLoadedEventStart":1210,"domContentLoadedEventEnd":1249,"domComplete":1890,"loadEventStart":1890,"loadEventEnd":1892,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1193},{"name":"bigPipe.sidebar-id.end","time":1193.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":1193.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1196.2000000476837},{"name":"activityTabFullyLoaded","time":1256.9000000953674}],"measures":[],"correlationId":"eefc62dea2f34b","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":80,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}