Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnf debuginfo-install - unrecognized arguments: --skip-unavailable #2988

Closed
tuliom opened this issue Jun 4, 2024 · 1 comment · Fixed by #2956
Closed

dnf debuginfo-install - unrecognized arguments: --skip-unavailable #2988

tuliom opened this issue Jun 4, 2024 · 1 comment · Fixed by #2956
Labels
area | package managers Changes related to implementations of package managers bug Something isn't working
Milestone

Comments

@tuliom
Copy link

tuliom commented Jun 4, 2024

I noticed this while running a test in the Fedora Testing Farm:
https://artifacts.dev.testing-farm.io/118bf0c7-d8e6-43fc-96cb-7370eaf4a038/

One of the tests listed zlib-ng-compat-debuginfo, leading to the following error on Rawhide:

Command 'debuginfo-install -y -y --skip-unavailable zlib-ng-compat' returned 2.

        stderr (24 lines)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        usage: dnf debuginfo-install [-c [config file]] [-q] [-v] [--version]
                                     [--installroot [path]] [--nodocs] [--noplugins]
                                     [--enableplugin [plugin]]
                                     [--disableplugin [plugin]]
                                     [--releasever RELEASEVER] [--setopt SETOPTS]
                                     [--skip-broken] [-h] [--allowerasing]
                                     [-b | --nobest] [-C] [-R [minutes]]
                                     [-d [debug level]] [--debugsolver]
                                     [--showduplicates] [-e ERRORLEVEL] [--obsoletes]
                                     [--rpmverbosity [debug level name]] [-y]
                                     [--assumeno] [--enablerepo [repo]]
                                     [--disablerepo [repo] | --repo [repo]]
                                     [--enable | --disable] [-x [package]]
                                     [--disableexcludes [repo]]
                                     [--repofrompath [repo,path]] [--noautoremove]
                                     [--nogpgcheck] [--color COLOR] [--refresh] [-4]
                                     [-6] [--destdir DESTDIR] [--downloadonly]
                                     [--comment COMMENT] [--bugfix] [--enhancement]
                                     [--newpackage] [--security] [--advisory ADVISORY]
                                     [--bz BUGZILLA] [--cve CVES]
                                     [--sec-severity {Critical,Important,Moderate,Low}]
                                     [--forcearch ARCH]
                                     package [package ...]
        dnf debuginfo-install: error: unrecognized arguments: --skip-unavailable
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Notice this execution had package manager: dnf5.

I managed to reproduce this issue outside tmt in a rawhide container with the following packages:

# rpm -qf /usr/bin/dnf /usr/bin/debuginfo-install 
dnf5-5.2.3.0-1.fc41.x86_64
dnf-utils-4.7.0-1.fc41.noarch

The full log is available here.

@happz
Copy link
Collaborator

happz commented Jun 4, 2024

Hopefully going to be fixed in an upcoming release with #2956

@happz happz added this to the 1.34 milestone Jun 4, 2024
@happz happz added bug Something isn't working area | package managers Changes related to implementations of package managers labels Jun 4, 2024
@happz happz closed this as completed Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area | package managers Changes related to implementations of package managers bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants