Bug 1255278 - [RFE] Make repoquery use "system" metadata
Summary: [RFE] Make repoquery use "system" metadata
Keywords:
Status: CLOSED DUPLICATE of bug 1185741
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-20 08:00 UTC by Vít Ondruch
Modified: 2015-08-31 12:42 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-08-31 12:41:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1190548 0 unspecified CLOSED [RFE]: Make cache usable to all users 2021-02-22 00:41:40 UTC

Internal Links: 1190548

Description Vít Ondruch 2015-08-20 08:00:45 UTC
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:

Comment 1 Radek Holy 2015-08-20 10:31:29 UTC
FTR, I think this issue will disappear once we resolve the bug 1190548.

Comment 2 Honza Silhan 2015-08-31 12:41:48 UTC

*** This bug has been marked as a duplicate of bug 1190548 ***

Comment 3 Honza Silhan 2015-08-31 12:42:45 UTC

*** This bug has been marked as a duplicate of bug 1185741 ***


Note You need to log in before you can comment on or make changes to this bug.