Description of problem: The DNF is typically operating with root privileges. However, there is no reason for repoquery to have root privileges. Unfortunately, without root privileges, the repoquery goes to fetch all the metadata and hence waste time and resources. So please, could you make repoquery to use the system data without root privileges? Version-Release number of selected component (if applicable): $ rpm -q dnf dnf-1.1.0-2.fc22.noarch How reproducible: Steps to Reproduce: 1. sudo dnf repoquery 2. dnf repoquery 3. Actual results: Without root privileges, the metadata are fetched, although there is somewhere already (probably) fresh copy Expected results: System metadata are used when available, otherwise some warning is issued instead of downloading the metadata (or the metadata is downloaded if DNF is configured in this way) Additional info:
FTR, I think this issue will disappear once we resolve the bug 1190548.
*** This bug has been marked as a duplicate of bug 1190548 ***
*** This bug has been marked as a duplicate of bug 1185741 ***