On Fri, 2025-06-13 at 22:41 +0100, Patrick O'Callaghan wrote:
> On Fri, 2025-06-13 at 14:19 -0700, ToddAndMargo via users wrote:
> > On 6/13/25 2:08 PM, Patrick O'Callaghan wrote:
> > > On Fri, 2025-06-13 at 13:55 -0700, ToddAndMargo via users wrote:
> > > > Hi All,
> > > > 
> > > > It is time for me to upgrade my waterfox and waterfox classic.
> > > > 
> > > > Problem:  I installed them so long ago I forgot where
> > > > I got their rpm's from?
> > > 
> > > Really?
> > > 
> > > rpm -qi <name_of_package>
> > > 
> > > or of course an Internet search for 'waterfox RPM'
> > > 
> > > poc
> > 
> > Fedora 41
> > 
> > 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.

I missed an earlier part of the same 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 file is copied without changes. The destination file name can 
be defined using the --save-filename option, otherwise it is
              taken from the source specification. If the .repo extension is 
missing from the destination filename, it will be added.

              The destination directory path is the first path stored in the 
reposdir option (by default /etc/yum.repos.d).  Overwriting/re‐
              placing  an  existing file can be enabled using the --overwrite 
option.  Before the new repositories configuration file is fi‐
              nally saved, it is analyzed and tested for validity.  Repository 
IDs are also tested. Repositories with the same ID  must  not
              be defined in other configuration files.

You get the point. It's "addrepo", not "add-repo".

poc
-- 
_______________________________________________
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