Skip to content

dnf5daemon incorrectly calculates list of upgradable packages #2744

Description

@m-blaha

The Rpm.list(scope="upgrades") used by Gnome Software dnf5 backend relies solely on queries in its implementation (similar to dnf repoquery --upgrades) and does not resolve an actual upgrade transaction (as dnf upgrade does).
This leads to differing results, as obsoletes, or repository priorities are not taken into account.

Particularly repo priorities are causing firefox issues from the issue in https://discussion.fedoraproject.org/t/firefox-already-updated-but-still-appears-on-the-software-manager/191502

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions