On 9/11/22 03:03, Scott Beamer wrote:
Greetings,
I recently read somewhere that there is a dnf command to finish upgrading when an upgrade crashes during an upgrade. I tried Googling to find it just now and have come up empty.
Does anyone know what it is?
I'm not sure you actually need a special dnf command to do that. It seems from my experience that an out of the box install of Fedora has caching enabled in dnf, so a "sudo dnf upgrade" will work out what updates are available and prompt to do the install. Dnf will then download all the updates to cache and then install them. If it crashes part way through, I thought you could just issue the command "sudo dnf upgrade" again, reply "y" to the prompt again and it will not re-download the updates because they are still in cache, skip the updates its already done and continue from the ones that are yet to be installed. And then when its finished the install it should then run its verification and clean-up which will then remove the cached packages.
regards, Steve
Thanks.
Scott _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@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