Bug 1268600

Summary: while installing updates to system, power failure - not really recoverable
Product: [Fedora] Fedora Reporter: Ray Holme <rayholme>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 22CC: jsilhan, mluscon, packaging-team-maint, pnemade, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-13 13:55:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ray Holme 2015-10-03 12:27:49 UTC
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
3.

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.


Additional info:

Comment 1 Honza Silhan 2015-10-13 13:55:58 UTC
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.

Comment 2 Ray Holme 2015-10-13 15:16:41 UTC
thanks