Hi all,
A few days ago I updated through dnfdragora, that update included kernel 4.16.6. Some way through the update my PC froze, and after leaving it for a while decided the only option was a hard reset.
The PC still boots to kernel 4.16.5, and there's no trace of 4.16.6 in the /boot directory. DNF reports that kernel, kernel-core, kernel-modules and kernel-modules-extra are installed (all 4.16.6).
Would it be safe to reinstall the kernel? Or is there a better way to get things up to date?
Thanks for looking
Reinstalling any rpms you have a reason to suspect have issues should be just fine. I have personally reinstalled the kernel rpm a number of times when the update aborted before completion.
On Mon, May 7, 2018 at 3:54 AM, Danny Horne via users users@lists.fedoraproject.org wrote:
Hi all,
A few days ago I updated through dnfdragora, that update included kernel 4.16.6. Some way through the update my PC froze, and after leaving it for a while decided the only option was a hard reset.
The PC still boots to kernel 4.16.5, and there's no trace of 4.16.6 in the /boot directory. DNF reports that kernel, kernel-core, kernel-modules and kernel-modules-extra are installed (all 4.16.6).
Would it be safe to reinstall the kernel? Or is there a better way to get things up to date?
Thanks for looking
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
On 07/05/18 15:37, Roger Heflin wrote:
Reinstalling any rpms you have a reason to suspect have issues should be just fine. I have personally reinstalled the kernel rpm a number of times when the update aborted before completion.
Tried 'dnf reinstall kernel' and that hasn't changed anything. Still no 4.16.6 kernel in the /boot directory and 4.16.5 is the latest listed in /boot/grub2/grub.cfg
Multiple versions of kernels are installed, so you will have to explicitly give it the version you want it to reinstall.
grep -i kernel /var/log/dnf.log to get the full names you need to reinstall.
On Mon, May 7, 2018 at 10:34 AM, Danny Horne via users users@lists.fedoraproject.org wrote:
On 07/05/18 15:37, Roger Heflin wrote:
Reinstalling any rpms you have a reason to suspect have issues should be just fine. I have personally reinstalled the kernel rpm a number of times when the update aborted before completion.
Tried 'dnf reinstall kernel' and that hasn't changed anything. Still no 4.16.6 kernel in the /boot directory and 4.16.5 is the latest listed in /boot/grub2/grub.cfg _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
Hi.
On Mon, 07 May 2018 11:33:42 -0500 Roger Heflin wrote:
Multiple versions of kernels are installed, so you will have to explicitly give it the version you want it to reinstall.
And the kernel is split in many RPMs.
I suspect that the posttrans scripts of the kernel-core and/or kernel-modules RPMs haven't been done due to the hard reset.
Try that:
rel=<the full version you want: ex: 4.16.5-200.fc27.x86_64> dnf reinstall kernel-core-$rel kernel-modules-$rel
You may try also to only run the posttrans scripts of those RPMs.
See: rpm -q --scripts kernel-core-$rel kernel-modules-$rel
On 07/05/18 18:10, Francis.Montagnac@inria.fr wrote:
Hi.
On Mon, 07 May 2018 11:33:42 -0500 Roger Heflin wrote:
Multiple versions of kernels are installed, so you will have to explicitly give it the version you want it to reinstall.
And the kernel is split in many RPMs.
I suspect that the posttrans scripts of the kernel-core and/or kernel-modules RPMs haven't been done due to the hard reset.
Try that:
rel=<the full version you want: ex: 4.16.5-200.fc27.x86_64> dnf reinstall kernel-core-$rel kernel-modules-$rel
You may try also to only run the posttrans scripts of those RPMs.
See: rpm -q --scripts kernel-core-$rel kernel-modules-$rel
Thanks, reinstalling as you've described has fixed the issue, now booting to 4.16.6
It would appear that it installed some of the items, but not others. The reinstall would only reinstall packages that were already fully installed.
dnf upgrade
would probable complete the process
I generally do. dnf clean all; dnf update -y
To see what all is installed you could rpm -qa | grep -i kernel
The see what it shows.
On 7 May 2018 at 9:54, Danny Horne via users wrote:
To: Fedora ML users@lists.fedoraproject.org Subject: Safe to reinstall kernel? Date sent: Mon, 7 May 2018 09:54:02 +0100 Send reply to: Community support for Fedora users users@lists.fedoraproject.org From: Danny Horne via users users@lists.fedoraproject.org Copies to: Danny Horne danny@trisect.uk
Hi all,
A few days ago I updated through dnfdragora, that update included kernel 4.16.6. Some way through the update my PC froze, and after leaving it for a while decided the only option was a hard reset.
The PC still boots to kernel 4.16.5, and there's no trace of 4.16.6 in the /boot directory. DNF reports that kernel, kernel-core, kernel-modules and kernel-modules-extra are installed (all 4.16.6).
Would it be safe to reinstall the kernel? Or is there a better way to get things up to date?
Thanks for looking
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
http://setiathome.berkeley.edu (Original) Number of Seti Units Returned: 19,471 Processing time: 32 years, 290 days, 12 hours, 58 minutes (Total Hours: 287,489)
BOINC@HOME CREDITS
ROSETTA 65410275.446986 | ABC 16613838.513356 SETI 109357929.734085 | EINSTEIN 141058465.999240