You are not logged in.
i want to update all other packages except the kernel. how can i stop the pacman from upgrading the kernel. i read the man page but no information is there.
Offline
Edit pacman.conf as root, find the line that (I think) is commented out that looks like this:
# IgnorePkg =
And change to
IgnorePkg = kernel26
I am assuming you are using the stock kernel. If not, change the above using the name of the kernel you are using.
If the line for the IgnorePkg is not there, just add the line as above and save the file. The line should be added in the [options] area. See 'man pacman.conf' for more details.
Bob
Offline
Why would you want to do that anyway? The kernel is a crucial part of the System and since Arch does not backport Bugfixes and Security-Fixes but instead always provides the newest Version, you might end up with an insecure System. Read: _might_. It might as well not happen but it isn't wise anyway.
Todays mistakes are tomorrows catastrophes.
Offline
Isn't it recomended to create a backup of the kernel before upgrading?
This could be reason to ignore the upgrade initially..
Or is this automaticaly done already?
Last edited by kel_p (2007-07-29 21:13:38)
Offline
Usually there are other packages installed that are build for a specific kernel version.
Nvidia, fgrlx (ati cards) and madwifi are a few examples.
Run pacman -Qi kernel26 to find out which packages depend on kernel26 on your system and put them also in the IgnorePkg list.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Excuse me for the n00b question, but how should I make a backup of the kernel and add an entry in menu.lst for this old/working kernel in Arch?
Is this simply creating copies of kernel26.img and vmlinuz26 and add an entry in menu.lst pointing to these copies?
Offline
Usually there are other packages installed that are build for a specific kernel version.
Nvidia, fgrlx (ati cards) and madwifi are a few examples.
Run pacman -Qi kernel26 to find out which packages depend on kernel26 on your system and put them also in the IgnorePkg list.
There shouldn't be any... No apps should be dependent on one single version of the Linux kernel. Makes no sense. Just putting kernel26 in the 'IgnorePkg' like should suffice.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Apps shouldn't be, but there are kernel modules that are packaged separately e.g. madwifi and kqemu, and these are dependant on a specific kernel version.
Offline
Those are drivers.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Yes, they are. But they are also separate packages, and therefore need to be included in IgnorePkg along with the kernel.
Offline
Lone_Wolf wrote:Usually there are other packages installed that are build for a specific kernel version.
Nvidia, fgrlx (ati cards) and madwifi are a few examples.
Run pacman -Qi kernel26 to find out which packages depend on kernel26 on your system and put them also in the IgnorePkg list.
There shouldn't be any... No apps should be dependent on one single version of the Linux kernel. Makes no sense. Just putting kernel26 in the 'IgnorePkg' like should suffice.
retsaw wrote:Apps shouldn't be, but there are kernel modules that are packaged separately e.g. madwifi and kqemu, and these are dependant on a specific kernel version.
Those are drivers.
Yes. Drivers packaged by pacman, like fglrx, nvidia, madwifi, and so on, will depend directly on their kernel package. So, if you do pacman -Qi kernel26 and are using ATI's fglrx drivers, you will see the fglrx package as a "required by" on the kernel. Then, to ensure your system remained in a stable state, you'd need to put kernel26 and fglrx (and fglrx-utils) into the IgnorePkg.
Offline
Yes . I confused 'packages' with 'programs' for a moment there
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline