Is offline-upgrade option removed in dnf5?

sudo dnf offline-upgrade download
Unknown argument "offline-upgrade" for command "dnf5". Add "--help" for more information about the arguments.

I have used this option mostly when I haven’t been updating my Fedora box for some time and there are many packages to update.

Isn’t offline-upgrade supported with dnf5anymore?

1 Like

dnf5 is still in rapid development, so it might not have been implemented yet.

1 Like

Thanks for the reply @vekruse!

I do really like this option and find it useful. So there might be a chance that it will be implemented later on? Let’s hope so!

Refer to pinned issues in the dnf5 repo tracking progress of the various commands.

1 Like

Thank you so much for posting the link! That’s really helpful! I will keep an eye on its progress.

Edit: I see that there is already a discussion going on:

1 Like

Since Implement system-upgrade and offline commands · Issue #1052 · rpm-software-management/dnf5 · GitHub is complete, what are the commands?

From the merge request linked on that issue:

For example, the process for running an offline upgrade would look like:

$ sudo dnf5 upgrade --offline mypackage
Updating and loading repositories:
Repositories loaded.
...
Transaction stored to be performed offline. Run `dnf5 offline reboot` to reboot and run the transaction.
$ sudo dnf5 offline reboot
The system will now reboot to perform the offline transaction initiated by the following command:
	dnf5 upgrade --offline mypackage
Is this ok [y/N]: 
1 Like

Thanks, @johnandmegh. I’d been unable to locate any documentation on it. Perhaps I should have read the man more thoroughly, but there’s a lot in there.

You can also find documentation here,
https://dnf5.readthedocs.io/en/latest/

Thanks, @grumpey. Found it: Offline Command — dnf5 documentation

1 Like