Did the update succeed

Basically, I did sudo dnf update then left my laptop on for long time. When I came back I got an error which said the transaction failed. I then did sudo dnf update again and it said “Nothing to do”. I had tried sudo dnf clean all (which deleted 2GB of files, probably the update packages since that was the size of my 400-package update) then tried again but it said the same thing, “Nothing to do”.

So, did the update happen successfully? or is this a bug since there was 2GB worth of cache and the size matches exactly with the size of the update AND the transaction failed?

The best way to confirm a past transaction would be:

sudo dnf history info last

that listing might be very large since it includes the names of all the packages and what they replaced. But that’s the information describing the last dnf transaction.
The “Status” shows as “Ok” if it got to the end correctly

2 Likes

Status: Error

Should I do sudo dnf history redo 36? (The transaction ID is 36, and I learnt this command from AI)

“last” should have worked, (go see “man dnf-history”)
but sure, if “dnf history list” shows “36” is the last one then that should work