Hi everyone,
I’m facing a strange issue using Rocky Linux repositories managed through Foreman/Katello Content Views and I would like to understand whether this behavior is expected or if someone already faced a similar problem.
Environment
- Rocky Linux 9.6 clients
- Foreman/Katello
- Repositories synchronized with Complete Mirroring
- Architecture restricted to x86_64 only
- Content Views filtered using errata publication date
- Security updates executed with:
dnf update --security
Problem
After publishing a Content View filtered by errata date, clients start failing during security updates because some dependencies are missing even if the security advisory is available.
Example:
Error: Problem 1: cannot install the best update candidate for package libcurl-7.76.1-31.el9.x86_64 - nothing provides openssl-libs(x86-64) >= 1:3.5.1 needed by libcurl-7.76.1-40.el9.x86_64
What I found
The advisory metadata is correctly visible through:
dnf updateinfo list security all
For example:
- libcurl security advisory is present
- python3 security advisory is present
However some required RPMs are NOT present inside the published Content View.
Example:
- advisory references openssl-libs >= 3.5.1
- but openssl-libs is missing from the Content View package list
This creates an inconsistent repository state where:
- security metadata exists
- but dependency chain is incomplete
Additional details
Repositories are synchronized correctly and in “complete mirroring” mode.
The issue appears only when using errata date filters to freeze repositories at a specific historical date.
If I remove the errata filters and publish a full snapshot, everything works correctly.
My question
Is this expected behavior on Rocky Linux repositories?
More specifically:
- are errata dates guaranteed to be dependency-consistent?
- can advisory metadata reference packages whose dependencies were published later?
- is filtering repositories by errata publication date unsupported/recommended against on Rocky Linux?
My goal is to maintain historical “frozen” environments while still allowing:
- dnf update --security
- security-only patching
- dependency consistency
At the moment this seems impossible using errata-date filtering.
Any suggestion or clarification would be appreciated.