Red Hat Bugzilla – Bug 1255278
[RFE] Make repoquery use "system" metadata
Last modified: 2015-08-31 08:42:45 EDT
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
Steps to Reproduce:
1. sudo dnf repoquery
2. dnf repoquery
Without root privileges, the metadata are fetched, although there is somewhere already (probably) fresh copy
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)
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 ***