#13 Not yet operational
Closed by ngompa. Opened by tigg.

Hello. As per the usage of the version 0^20230201gita79b3c3, rpmdistro-repoquery <distribution_repository> <edition_version> <DNF's_repoquery_command_options> <RPM_package/file_path>, the following command is due to be operational:

$ rpmdistro-repoquery opensuse-leap-oss 15.5 -vq rq --qf '%{version} | %{arch} | %{reponame}' --archlist noarch,aarch64,x86_64 clamav 2>/dev/null
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DNF version: 4.14.0
cachedir: /var/tmp/dnf-yk-9hu57ezf
User-Agent: constructed: 'libdnf (Fedora Linux 37; workstation; Linux.x86_64)'

Queried informations not served.

However as demonstrated, it's no yet. Regards.


Try opensuse-leap instead of opensuse-leap-oss. It's not <distribution_repository>, it's just <distribution>

Doing that works for me.

Metadata Update from @ngompa:
- Issue status updated to: Closed (was: Open)

Confirmed it works

ngompa@fedora ~> rpmdistro-repoquery opensuse-leap 15.5 -vq rq --qf '%{version} | %{arch} | %{reponame}' --archlist noarch,aarch64,x86_64 clamav
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DNF version: 4.14.0
cachedir: /var/tmp/dnf-ngompa-g7nh1ndq
User-Agent: constructed: 'libdnf (Fedora Linux 37; kde; Linux.x86_64)'
repo: downloading from remote: opensuse-leap-oss
openSUSE Leap 15.5 - OSS                                                                                                                                                     15 MB/s |  91 MB     00:06
opensuse-leap-oss: using metadata from Mon 06 Mar 2023 07:58:52 AM EST.
repo: downloading from remote: opensuse-leap-oss-update
openSUSE Leap 15.5 - OSS - Updates                                                                                                                                          5.5 kB/s | 5.2 kB     00:00
opensuse-leap-oss-update: using metadata from Wed 31 Aug 2022 07:38:26 AM EDT.
repo: downloading from remote: opensuse-leap-sle-update
openSUSE Leap 15.5 - Updates from SUSE Linux Enterprise                                                                                                                      71 kB/s |  66 kB     00:00
opensuse-leap-sle-update: using metadata from Wed 15 Feb 2023 06:00:25 AM EST.
repo: downloading from remote: opensuse-leap-sle-backports-update
openSUSE Leap 15.5 - Updates from Backports for SUSE Linux Enterprise                                                                                                       1.0 kB/s | 3.1 kB     00:03
opensuse-leap-sle-backports-update: using metadata from Mon 13 Feb 2023 03:05:58 PM EST.
Last metadata expiration check: 0:00:01 ago on Mon 13 Mar 2023 06:44:08 AM EDT.
Completion plugin: Generating completion cache...
Completion plugin: Can't write completion cache: attempt to write a readonly database
0.103.8 | aarch64 | opensuse-leap-oss
0.103.8 | x86_64 | opensuse-leap-oss

Note that -vq rq is redundant and ineffective. If you want just output on stdout, just use -q. Also, we're already passing repoquery as the main subcommand, so rq is unneeded.

Ergo..

ngompa@fedora ~> rpmdistro-repoquery opensuse-leap 15.5 -q --qf '%{version} | %{arch} | %{reponame}' --archlist noarch,aarch64,x86_64 clamav
0.103.8 | aarch64 | opensuse-leap-oss
0.103.8 | x86_64 | opensuse-leap-oss

I should have suspected it. As it can be observed with so many programs, it ends up to appear to be a case of relevant information being non-documented. Your very expression opensuse-leap as distribution, indicated that you used it as alias for OpenSuse Leap! Unless you had documented that you are using aliases of your own in your program, user won't be able to guess them. And indeed the source of those names could not be found. Closed anyway.

Metadata