Patrick O'Callaghan wrote:
> On Fri, 2025-06-13 at 14:19 -0700, ToddAndMargo via users wrote:
>> Found where I got them from from an old note of mine
>> (hawkeye116477).
>> 
>> But I can't seem to get the dnf command correct
>> 
>> 
>> # dnf config-manager add-repo 
>> --from-repo=https://download.opensuse.org/repositories/home:hawkeye116477:waterfox/Fedora_41/home:hawkeye116477:waterfox.repo
>> 
>> Unknown argument "add-repo" for command "config-manager". Add "--help" 
>> for more information about the arguments.
>> 
>> 
>> Now what am I doing wrong?
> 
> $ man dnf5-config-manager
> ...
> 
>        addrepo [--id=REPO_ID] <--set=REPO_OPTION=VALUE>+ [--add-or-replace] 
> [--create-missing-dir] [--overwrite] [--save-filename=FILENAME]
>               Adds a new repository defined using user options.

Yep, or from directly above that in the man page:

    addrepo --from-repofile=REPO_CONFIGURATION_FILE_URL
            [--create-missing-dir] [--overwrite]
            [--save-filename=FILENAME]
        Adds a new repositories configuration file specified
        by URL or local path.

The short answer to the OP's "what am I doing wrong?" is:
not reading the documentation, even when it suggests using
the --help option, which also succinctly shows that in dnf5:

    * the command is addrepo, not add-repo 
    * the argument is --from-repofile, not --from-repo

There may be other differences that matter here as well, but
I didn't bother to dig any further.

-- 
Todd

Attachment: signature.asc
Description: PGP signature

-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to