Bug 1320220 - repoquery --repo doesn't work
Summary: repoquery --repo doesn't work
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: 23
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: 2016-03-22 15:14 UTC by Jaroslav Škarvada
Modified: 2016-03-31 12:31 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-31 12:31:46 UTC
Type: Bug


Attachments (Terms of Use)

Description Jaroslav Škarvada 2016-03-22 15:14:52 UTC
Description of problem:
It seems there is no way how to query rawhide repo from e.g. f23.

Version-Release number of selected component (if applicable):
dnf-plugins-core-0.1.17-1.fc23.noarch

How reproducible:
Always

Steps to Reproduce:
1. dnf repoquery --disablerepo='*' --enablerepo=rawhide -q tcl
2. dnf repoquery --repoid=rawhide -q tcl

Actual results:
For 1:
tcl-1:8.6.4-1.fc23.i686
tcl-1:8.6.4-1.fc23.x86_64
For 2:
No result

Expected results:
For 1:
tcl-1:8.6.4-1.fc25.i686
tcl-1:8.6.4-1.fc25.x86_64
For 2:
tcl-1:8.6.4-1.fc25.i686
tcl-1:8.6.4-1.fc25.x86_64

Additional info:
IIRC this worked correctly from original repoquery. Also adding '--refresh' didn't help.

Comment 1 Jaroslav Škarvada 2016-03-22 15:17:32 UTC
Hmm, it seems tcl wasn't rebuilt for f25, nor f24, so closing.

Comment 2 Jaroslav Škarvada 2016-03-22 15:23:48 UTC
But it seems there is still some inconsitency:

$ dnf repoquery --repo=rawhide -q grep
usage: dnf [--allowerasing] [-b] [-C] [-c [config file]] [-d [debug level]]
           [--debugsolver] [--showduplicates] [-e ERRORLEVEL]
           [--rpmverbosity [debug level name]] [-q] [-v] [-y] [--assumeno]
           [--version] [--installroot [path]] [--enablerepo [repo]]
           [--disablerepo [repo]] [-x [package]] [--disableexcludes [repo]]
           [--repofrompath [repo,path]] [--noplugins] [--nogpgcheck]
           [--disableplugin [plugin]] [--color COLOR]
           [--releasever RELEASEVER] [--setopt SETOPTS] [--refresh] [-4] [-6]
           [--downloadonly] [-h]
Command line error: argument --repofrompath: bad format: rawhide

$ dnf repoquery --disablerepo='*' --enablerepo=rawhide -q grep
grep-0:2.22-6.fc23.x86_64
grep-0:2.24-1.fc25.x86_64

Why --repo=rawhide fails? Also the following fails:

dnf repoquery --enablerepo=rawhide --repo=rawhide -q grep
usage: dnf [--allowerasing] [-b] [-C] [-c [config file]] [-d [debug level]]
           [--debugsolver] [--showduplicates] [-e ERRORLEVEL]
           [--rpmverbosity [debug level name]] [-q] [-v] [-y] [--assumeno]
           [--version] [--installroot [path]] [--enablerepo [repo]]
           [--disablerepo [repo]] [-x [package]] [--disableexcludes [repo]]
           [--repofrompath [repo,path]] [--noplugins] [--nogpgcheck]
           [--disableplugin [plugin]] [--color COLOR]
           [--releasever RELEASEVER] [--setopt SETOPTS] [--refresh] [-4] [-6]
           [--downloadonly] [-h]
Command line error: argument --repofrompath: bad format: rawhide

From the man:
       --repo <repoid>
              Limit the resulting set only to packages from repo identified by <repoid>.  Can be used multiple times with accumulative effect.

Comment 3 Michal Luscon 2016-03-31 12:31:46 UTC
That's known issue #1260443. Please use --repoid in the meantime.


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