Bug 1268600 - while installing updates to system, power failure - not really recoverable
while installing updates to system, power failure - not really recoverable
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-10-03 08:27 EDT by Ray Holme
Modified: 2015-10-13 11:16 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-10-13 09:55:58 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ray Holme 2015-10-03 08:27:49 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.

Additional info:
Comment 1 Honza Silhan 2015-10-13 09:55:58 EDT
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 11:16:41 EDT

Note You need to log in before you can comment on or make changes to this bug.