PDA

View Full Version : Updating Kernel with yum


sbovisjb1
6th April 2006, 01:09
I would like to update my kernel, but i dont know how.
i would like a script to edit my /etc/yum.repos.d/freshrp2.4.32ms.repo file so that when ever i type in "yum update" I will get a fresh kernel. Also i heard that the 2.4.32 kernel is better than the .6.16.1 and i dont know which the best kernel to pick. Oj and my file looks like this:

[core]
name=FreshRPMS-Core
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/core
http://ayo.us5.freshrpms.net/fedora/linux/$releasever/$basearch/core
failovermethod=priority
enabled=1
gpgcheck=1
[updates]
name=FreshRPMS-Updates
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/updates
http://ayo.us5.freshrpms.net/fedora/linux/$releasever/$basearch/updates
failovermethod=priority
enabled=1
gpgcheck=1
[freshrpms]
name=FreshRPMS-Fresh
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms
http://ayo.us5.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms
failovermethod=priority
enabled=1
gpgcheck=1

Cheers

falko
6th April 2006, 11:25
I don't think it's good practice to automatically update a kernel, especially on a production system. It's too risky, and you always have to reboot your system.

sbovisjb1
6th April 2006, 14:37
Thank you

So if i update a new kernel, there are always the risks of changing trees and such and that could make a lot of my files wich depend on certain directories null and void.... i think ill update the kernel on my experimental pc.

Thank you for all you're help

Cheers