On 6/13/25 3:00 PM, Todd Zullinger wrote:
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.




About fifteen typos later

# dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:hawkeye116477:waterfox/Fedora_41/home:hawkeye116477:waterfox.repo

https://download.opensuse.org/reposito 100% | 332.0 B/s | 325.0 B | 00m01s

Thank you!

But the repo 's install would not work, so I directly downloaded
rpm's from.  There were repos to install, but I just did the
direct download.

https://software.opensuse.org/package/waterfox-classic-kpe
https://software.opensuse.org/package/waterfox



--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to