Upgrading obsoleted package with --best
doesn't keep reason
#1783
Labels
Priority: LOW
Triaged
Someone on the DNF 5 team has read the issue and determined the next steps to take
If an obsoleted package is installed as a dependency, and it is then upgraded and therefore replaced with its obsoleter, the new package is marked as userinstalled.
This is a regression, in dnf4 there was a bug https://bugzilla.redhat.com/show_bug.cgi?id=1672618 which was fixed by rpm-software-management/libdnf#772 and rpm-software-management/dnf#1459 . However, I think it doesn't work even for dnf4 now. The tests for the bug were created before the bug was fixed and the one for
--best
was marked asxfail
and never enabled after the bug was fixed: rpm-software-management/ci-dnf-stack@54a10ceThe text was updated successfully, but these errors were encountered: