Ask Your Question
0

Fedora 24 to 25 Installation Power Interruption

asked 2016-11-29 15:20:16 -0500

jonbjoseph gravatar image

The installation part of the upgrade from Fedora 24 to Fedora 25 was 92% complete, when a transient power outage occurred. After a few seconds power was restored and I was able to successfully log in. I ran dnf update to see if I could complete the upgrade, but nothing was updated. It appears that I have a Fedora 24 kernel based upon the output of uname -r, files under /boot and inspection of the /boot/grub2/grub.cfg file.

Questions: -Short of a full installation from scratch, what can I do to complete the installation?
-How can I determine what else needs to be updated?

Thanks, Jonathan

edit retag flag offensive close merge delete

Comments

haven't had this case, however have you tried "sudo dnf system-upgrade" again? or: dnf system-upgrade clean followed by sudo dnf system-upgrade

ceres2009 gravatar imageceres2009 ( 2016-11-29 17:23:10 -0500 )edit

The first thing we need to know is what version of Fedora dnf thinks you have. Please use a comment to give us the results from dnf list fedora-release as that's what dnf looks at, not the actual contents of /etc/fedora-release the way you'd expect.

sideburns gravatar imagesideburns ( 2016-11-29 18:06:16 -0500 )edit

Here's the result from dnf list fedora-release.....

[root@jon-fedora64 ~]# dnf list fedora-release Failed to synchronize cache for repo 'Dropbox', disabling. Last metadata expiration check: 2:06:52 ago on Tue Nov 29 18:08:34 2016. Installed Packages fedora-release.noarch 25-1 @System

jonbjoseph gravatar imagejonbjoseph ( 2016-11-29 19:17:43 -0500 )edit

ceres2009, No I haven't tried dnd system-upgrade nor dnf system-upgrade clean followed by dnf system-upgrade. I ran the upgrade via the Software Utility. Let me look into running those commands and I'll keep you posted. Thanks.

jonbjoseph gravatar imagejonbjoseph ( 2016-11-29 19:21:33 -0500 )edit
1

OK, good! If you had both F24 and F25 listed, dnf would have thought you were running F24. That means that using dnf dystro-sync would take you back to F24. That may be the best way to clean things up, but let's see if anybody else has a better idea.

sideburns gravatar imagesideburns ( 2016-11-29 20:17:26 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-11-30 17:53:29 -0500

jonbjoseph gravatar image

dnf distro-sync seemed to pickup the upgrade where it was interrupted. I now have the fc25 kernel. So I think that my Fedora upgrade to F25 is complete and consistent.

FYI... Note, that It was sideburns who provided the answer by suggesting that I run dnf distro-sync. I tried to up-vote that comment from sideburns, but I got an error message: > 10 points required to upvote. I just want to make sure that sideburns is recognized for providing the solution.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-11-29 15:20:16 -0500

Seen: 124 times

Last updated: Nov 29 '16