Description of problem: Command package-cleanup --orphans which maps (see bug 1216179) to: dnf list extras should produce (extracted from man page): Lists extras, that is packages installed on the system that are not available in any known repository. however, on my system - it prints all installed packages. I even tried 'dnf makecache' but it does not help. Running this command is encouraged to run after system upgrade (from N to N+1) to remove orphaned/retired packages which has not been added (for any reason) to fedora-obsolete-packages. I do that automatically in fedora-upgrade(8). Version-Release number of selected component (if applicable): dnf-4.0.9-2.fc29.noarch dnf-plugins-core-4.0.2-1.fc29.noarch
It looks like that the issue cannot be reproduce with dnf-4.2.5, therefore it should be fixed.
Negative sir. I can reproduce it with dnf-4.2.5-2.fc30.noarch
It is not at all obvious how this depends on 1568740.
I created PR that change behavior of detection of extras: https://github.com/rpm-software-management/libdnf/pull/776. Test for the new behavior: Tests: rpm-software-management/ci-dnf-stack#617
FEDORA-2019-049b4836a6 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-049b4836a6
dnf-4.2.11-2.fc30, dnf-plugins-core-4.0.10-1.fc30, libdnf-0.35.5-2.fc30, librepo-1.10.6-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-049b4836a6
dnf-4.2.11-2.fc30, dnf-plugins-core-4.0.10-1.fc30, libdnf-0.35.5-2.fc30, librepo-1.10.6-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
(In reply to Miroslav Suchý from comment #0) > Description of problem: > Command > package-cleanup --orphans > which maps (see bug 1216179) to: > dnf list extras > should produce (extracted from man page): > Lists extras, that is packages installed on the system that are not > available in any known repository. the packages with different versions should be listed , as always did . If we a have package v1 and repo have package v2 , list extra should print it . they are different packages !