DNF Unknown argument

Hello, I am not sure if this is the right place to post this, but I don’t seem to be able to use the arguments given in:
https://en.opensuse.org/SDB:DNF

Might this information be out of date?
For example, running dnf alias as shown results in:

Unknown argument "alias" for command "dnf5". Add "--help" for more information about the arguments.
It could be a command provided by a plugin, try: dnf5 install 'dnf5-command(alias)'

I might also be misunderstanding something. I hope this is the right place to ask and that everyone here has a great day.

Pretty sure that command is backwards, it should be alias dnf

That’s not the case. That will only return “alias not found”. As you can see on the SDB page, it’s in the right order. Same thing happens if you try dnf config-manager

The SDB is quite old. It refers to the old dnf4. When you install the old dnf4 and issue the command, you will get a result. But this customization does not exist for dnf5.

twtestbox:~ # dnf4 alias
Alias dup='distro-sync'
Alias dist-upgrade='distro-sync'
Alias ref='makecache'
Alias refresh='makecache'
Alias ri='reinstall'
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.