Bug 1186381 - [rfe] Please provide an equivalent of repoquery --archlist
Summary: [rfe] Please provide an equivalent of repoquery --archlist
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
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-01-27 15:14 UTC by Bohuslav "Slavek" Kabrda
Modified: 2015-09-23 04:12 UTC (History)
8 users (show)

Fixed In Version: 1.1.1-2.fc23
Clone Of:
Environment:
Last Closed: 2015-09-09 23:19:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1199601 0 medium CLOSED RFE: repoquery support for --pkgnarrow 2021-02-22 00:41:40 UTC

Internal Links: 1199601

Description Bohuslav "Slavek" Kabrda 2015-01-27 15:14:27 UTC
Hi, I'd like to ask you to provide equivalent of repoquery --archlist in dnf repoquery. Quoting repoquery documentation:

--archlist=ARCH1[,ARCH2...]
Limit  the  query  to packages of given architecture(s). Valid values are all architectures known to rpm/yum such as 'i386' and 'src' for source RPMS. Note  that repoquery will now change yum's "arch" to the first value in the archlist. So "--archlist=i386,i686" will change yum's canonical arch to i386, but allow packages of i386 and i686.

Comment 1 Parag Nemade 2015-01-28 15:03:19 UTC
In dnf repoquery plugin we have --arch option which is equivalent of --archlist in repoquery of yum.

Comment 2 Bohuslav "Slavek" Kabrda 2015-02-03 12:11:46 UTC
(In reply to Parag from comment #1)
> In dnf repoquery plugin we have --arch option which is equivalent of
> --archlist in repoquery of yum.

Ah, I didn't notice that. Thanks, I'm closing this bug.

Comment 3 Petr Pisar 2015-04-02 15:43:33 UTC
This is not the same. YUM's --archlist accepts list of architectures whereas DNF's --arch accepts only one value:

$ repoquery --repoid=rawhide --archlist=x86_64,noarch  --whatprovides 'perl(strict)'

Yum-utils package has been deprecated, use dnf instead.
See 'man yum2dnf' for more information.


perl-4:5.20.2-325.fc23.x86_64

$ dnf repoquery --repoid=rawhide --arch=x86_64,noarch  --whatprovides 'perl(strict)'  
Using metadata from Thu Apr  2 17:29:31 2015 (0:12:45 hours old)
$ dnf repoquery --repoid=rawhide --arch=x86_64 --arch=noarch  --whatprovides 'perl(strict)'  
Using metadata from Thu Apr  2 17:29:31 2015 (0:12:53 hours old)

In other words it's not possible to search in less than all but more than one architecture.

Comment 4 Honza Silhan 2015-07-20 13:18:00 UTC
We should extend `arch` option to accept multiple (comma separated?) params.

Comment 5 Fedora Update System 2015-09-01 09:52:21 UTC
dnf-plugins-core-0.1.11-1.fc23 dnf-1.1.1-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14743

Comment 6 Fedora Update System 2015-09-01 20:22:47 UTC
dnf-1.1.1-1.fc23, dnf-plugins-core-0.1.11-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update dnf dnf-plugins-core'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14743

Comment 7 Fedora Update System 2015-09-08 12:38:41 UTC
dnf-1.1.1-2.fc22 dnf-plugins-core-0.1.11-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14744

Comment 8 Fedora Update System 2015-09-08 12:38:59 UTC
dnf-1.1.1-2.fc22 dnf-plugins-core-0.1.11-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14744

Comment 9 Fedora Update System 2015-09-08 12:40:12 UTC
dnf-1.1.1-2.fc23 dnf-plugins-core-0.1.11-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14743

Comment 10 Fedora Update System 2015-09-08 17:52:07 UTC
dnf-1.1.1-2.fc23, dnf-plugins-core-0.1.11-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update dnf dnf-plugins-core'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14743

Comment 11 Fedora Update System 2015-09-08 21:26:20 UTC
dnf-1.1.1-2.fc22, dnf-plugins-core-0.1.11-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update dnf-plugins-core dnf'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14744

Comment 12 Fedora Update System 2015-09-09 23:18:49 UTC
dnf-1.1.1-2.fc22, dnf-plugins-core-0.1.11-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2015-09-23 04:11:52 UTC
dnf-1.1.1-2.fc23, dnf-plugins-core-0.1.11-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


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