Description of problem: I think it says it is clear from below commands: [root@hedayat fedora-pkgs]dnf info qt-devel-4.8.6-18.fc21.x86_64 Installed Packages Name : qt-devel Arch : x86_64 Epoch : 1 Version : 4.8.6 Release : 18.fc21 Size : 34 M Repo : @System From repo : _local Summary : Development files for the Qt toolkit URL : http://qt-project.org/ License : (LGPLv2 with exceptions or GPLv3 with exceptions) and ASL 2.0 and BSD and FTL and MIT Description : This package contains the files necessary to develop : applications using the Qt toolkit. Includes: : Qt Linguist [root@hedayat fedora-pkgs]# dnf install qt-devel-4.8.6-18.fc21.x86_64 No package qt-devel-4.8.6-18.fc21.x86_64 available. Error: Nothing to do. [root@hedayat fedora-pkgs]# yum install qt-devel-4.8.6-18.fc21.x86_64 Loaded plugins: langpacks, local, yum-fast-downloader Package 1:qt-devel-4.8.6-18.fc21.x86_64 already installed and latest version Nothing to do
Thanks for the report. This command works: `dnf install qt-devel-1:4.8.6-18.fc21.x86_64`. The problem is in hawkey.Selector where we expect that epoch is 0. Michael, take a look, please. We should support arguments `epoch` and `release` in hawkey.Selector constructor if possible.
*** Bug 1235453 has been marked as a duplicate of this bug. ***
This message is a reminder that Fedora 21 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 21. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '21'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 21 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase
FTR this can be done through query and using new support of Selector.set(pkg=...).
The problem is solved by PR: https://github.com/rpm-software-management/dnf/pull/647. It simply use query and selector pkg flag to prevent a problems with epoch and selectors.