Bug 2494543 - 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: mysqltuner
Version: 44
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Major Hayden 🤠
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2456347
TreeView+ depends on / blocked
 
Reported: 2026-06-29 17:17 UTC by Michal Schorm
Modified: 2026-11-11 04:25 UTC (History)
3 users (show)

Fixed In Version: mysqltuner-2.8.45-1.fc44
Clone Of:
Environment:
Last Closed: 2026-07-13 01:42:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Schorm 2026-06-29 17:17:23 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 1 Michal Schorm 2026-07-03 11:41:25 UTC
Hello,

this is an important fix for the MariaDB / MySQL ecosystem.
Please review the fix and produce update for all active Fedora releases.

Comment 2 Fedora Update System 2026-07-04 18:33:32 UTC
FEDORA-2026-09c4fde4f4 (mysqltuner-2.8.45-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-09c4fde4f4

Comment 3 Fedora Update System 2026-07-05 01:33:50 UTC
FEDORA-2026-09c4fde4f4 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-09c4fde4f4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-09c4fde4f4

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

Comment 4 Fedora Update System 2026-07-13 01:42:09 UTC
FEDORA-2026-09c4fde4f4 (mysqltuner-2.8.45-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Red Hat Bugzilla 2026-11-11 04:25:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days or the product is inactive and locked


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