Bug 2494535 - Use '-any' virtual provide for mariadb / mysql dependencies
Summary: Use '-any' virtual provide for mariadb / mysql dependencies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cqrlog
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Richard Shaw
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2456347
TreeView+ depends on / blocked
 
Reported: 2026-06-29 17:13 UTC by Michal Schorm
Modified: 2026-07-17 01:09 UTC (History)
1 user (show)

Fixed In Version: cqrlog-2.5.2-23.fc44 cqrlog-2.5.2-23.fc43 cqrlog-2.5.2-24.fc44 cqrlog-2.5.2-24.fc43
Clone Of:
Environment:
Last Closed: 2026-07-08 02:22:03 UTC
Type: ---
Embargoed:
hobbes1069: needinfo+


Attachments (Terms of Use)

Description Michal Schorm 2026-06-29 17:13:58 UTC
MariaDB and MySQL use versioned package layout in Fedora nowadays.

That means multiple LTS versions of the same DB are packed in parallel as differently named packages (mariadb10.11, mariadb11.8, mariadb12.3, ...).

Exactly one of these packages is chosen as "distribution default" version, which provides the unversioned names (mariadb, mariadb-server, ...).

However when your package Requires the unversioned name, it cannot be used with any other version of that database.

Virtual RPM provides with '-any' suffixes, (mariadb-any, mariadb-server-any, ...) which are provided by every version of that database, has to be used instead.


To fix it, instead of:
  Requires: mariadb
use:
  Requires: mariadb-any
  Recommends: mariadb

or e.g. instead:
  Requires: mariadb-server
use:
  Requires: mariadb-server-any
  Recommends: mariadb-server

(based on the type of RPM relationship you use in your package)

Where the Requires make sure it can be satisfied by any database version, while the recommends sets a preference for the distribution default version for that Fedora release, when no database is installed yet.

This has to be fixed in all active Fedora releases.
Please apply the necessary fix to your package and prepare an update in BODHI.

Reproducible: Always

Comment 2 Fedora Update System 2026-06-30 02:11:15 UTC
FEDORA-2026-c0aad6dedf (cqrlog-2.5.2-23.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-c0aad6dedf

Comment 3 Fedora Update System 2026-06-30 02:11:15 UTC
FEDORA-2026-83e6de59a5 (cqrlog-2.5.2-23.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-83e6de59a5

Comment 4 Fedora Update System 2026-07-01 00:48:54 UTC
FEDORA-2026-c0aad6dedf has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-c0aad6dedf`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-c0aad6dedf

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-07-01 01:39:54 UTC
FEDORA-2026-83e6de59a5 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-83e6de59a5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-83e6de59a5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Michal Schorm 2026-07-03 11:25:42 UTC
The cqrlog-2.5.2-23.fc45 build already exists and was done from different commit. (https://bodhi.fedoraproject.org/updates/FEDORA-2026-54c7ad647e)
Specifically in Fedora Rawhide, it's necessary to bump release and produce new build.

Thanks for understanding

Comment 7 Fedora Update System 2026-07-08 02:20:52 UTC
FEDORA-2026-395b413da7 (cqrlog-2.5.2-24.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-395b413da7

Comment 8 Richard Shaw 2026-07-08 02:22:03 UTC
I needed to rebuild for a change in clublog URL so Rawhide through f43 have been rebuilt anyway.

Comment 9 Fedora Update System 2026-07-09 00:54:49 UTC
FEDORA-2026-c0aad6dedf (cqrlog-2.5.2-23.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2026-07-09 01:07:35 UTC
FEDORA-2026-83e6de59a5 (cqrlog-2.5.2-23.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2026-07-09 01:26:29 UTC
FEDORA-2026-395b413da7 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-395b413da7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-395b413da7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2026-07-09 01:45:16 UTC
FEDORA-2026-ea9a180467 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-ea9a180467`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-ea9a180467

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2026-07-17 00:52:12 UTC
FEDORA-2026-ea9a180467 (cqrlog-2.5.2-24.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2026-07-17 01:09:09 UTC
FEDORA-2026-395b413da7 (cqrlog-2.5.2-24.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.