Red Hat Bugzilla – Bug 1268600
while installing updates to system, power failure - not really recoverable
Last modified: 2015-10-13 11:16:41 EDT
Description of problem: I was updating one of my two fedora 22 systems, the power failed, I rebooted and went to complete - it did not complete right
Version-Release number of selected component (if applicable): was going from fedora vmlinuz.4.1.5 --- to 4.1.7
How reproducible: who knows
Steps to Reproduce:
1. was at about set 500 or 700 updates
2. power fail
Actual results: rebooted and continued with dnf update - said was done in 15 steps - but the new kernel was not installed in grub.cfg - running old - I have no idea what is complete and what is not
Expected results: see new kernels in /boot but they are not fully configures so I am leaving as the system boots - hope next update will fix this --- I was hoping dnf update would be smart enough to recover.
DNF update is smart enough. RPM responsibility is to get installed packages on the system while making sure no conflicts exists but power failure happened and transaction was not finished. Next time use offline updates (dnf system-upgrade) - it should be safer.