Skip to content

F45 Change: Relocate RPM Repository Configs to /usr #2172

Description

@marmijo

Fedora 45 relocates all packaged RPM repository configuration from /etc/yum.repos.d to /usr/share/dnf5/repos.d, and GPG keys from /etc/pki/rpm-gpg to /usr/share/pki/rpm-gpg.

Relevant Changes:

  • Repo configs move from /etc/yum.repos.d → /usr/share/dnf5/repos.d
  • GPG keys move from /etc/pki/rpm-gpg → /usr/share/pki/rpm-gpg
  • Legacy package managers (DNF4, YUM) will no longer function as system package managers
    • config will largely not exist for them

Why This Affects FCOS

rpm-ostree vendors DNF4, not DNF5. Since distro-provided repo configs will no longer exist in locations DNF4 knows about, client-side package layering will likely stop working.

Additionally, FCOS mounts /usr read-only, so Ignition configs that attempt to write repo files directly to /usr/share/dnf5/repos.d will fail. Users writing repo files to /etc/yum.repos.d via Ignition should be unaffected since that path still works as a DNF5 override, but documentation may need updating.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions