@deltakprime I just did an update in VBox and got the exact same error as you did. I can confirm that users can just ignore this. All updates completed. This is the supposed error message:
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Traceback (most recent call last):
File "/usr/bin/dnf", line 58, in <module>
main.user_main(sys.argv[1:], exit_code=True)
File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 192, in user_main
errcode = main(args)
File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 64, in main
return _main(base, args, cli_class, option_parser_class)
File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 99, in _main
return cli_run(cli, base)
File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 123, in cli_run
ret = resolving(cli, base)
File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 167, in resolving
base.do_transaction(display=displays)
File "/usr/lib/python3.7/site-packages/dnf/cli/cli.py", line 225, in do_transaction
tid = super(BaseCli, self).do_transaction(display)
File "/usr/lib/python3.7/site-packages/dnf/base.py", line 882, in do_transaction
tid = self._run_transaction(cb=cb)
File "/usr/lib/python3.7/site-packages/dnf/base.py", line 1031, in _run_transaction
self._verify_transaction(cb.verify_tsi_package)
File "/usr/lib/python3.7/site-packages/dnf/base.py", line 1069, in _verify_transaction
self.history.end(rpmdbv, 0)
File "/usr/lib/python3.7/site-packages/dnf/db/history.py", line 504, in end
bool(return_code)
File "/usr/lib64/python3.7/site-packages/libdnf/transaction.py", line 758, in endTransaction
return _transaction.Swdb_endTransaction(self, dtEnd, rpmdbVersionEnd, state)
RuntimeError: TransactionItem state is not set: cups-drivers-capt-0.1-19:2015.0.x86_64
So if you then run ‘rpm -qa’ on the package mentioned we can see that it was in fact updated:
$ rpm -qa cups-drivers-capt
cups-drivers-capt-0.1-24.x86_64
And if we run the update command again there are no updates to process.
$ sudo dnf --refresh update
OpenMandriva Cooker - x86_64 - non-free 3.8 kB/s | 1.5 kB 00:00
OpenMandriva Cooker - x86_64 - Restricted 4.0 kB/s | 1.5 kB 00:00
OpenMandriva Cooker - x86_64 4.2 kB/s | 1.5 kB 00:00
Dependencies resolved.
Nothing to do.
Complete!
Post-edit: FWIW: I confirm in several other ways that updates completed.
Aside: Why developers provide us with such error messages and/or warnings is beyond my comprehension.