Help - Search - Members - Calendar
Full Version: Kernel Update Problem/question
Linuxhelp > Support > Technical Support
Robert83
I've downloaded the kernel source with apt-get , and after that it installed it[?]. But I'm not sure
Since I've downloaded kernel 2.4.20-9 , but when I enter uname -r it reports 2.4.20-8.

After I download kernel source with apt-get , is there something to do after that? [it seem's to me that it's not installed automaticly, or something]


Sincerely
Robert B
hughesjr
I normally don't use apt-get to do the kernel ... although you can. I do use apt-get to get the kernel source...

(the kernel rpm is the actual compiled kernel ... the kernel-source is the source code so you can compile your own kernel ... (required as well if you need to compile any stand alone kernel drivers, like NVIDIA/ATI video or sound card or wireless device drivers).

To install the latest kernel-source with apt on RedHat 9.0, first issue the command:

apt-get install kernel-source

the output will look something like this:

CODE
[root@localhost root]# apt-get install kernel-source
Reading Package Lists... Done
Building Dependency Tree... Done
Package kernel-source is a virtual package provided by:
 kernel-source#2.4.20-30.9 2.4.20-30.9
 kernel-source#2.4.20-30.9 2.4.20-30.9
 kernel-source#2.4.20-28.9 2.4.20-28.9
 kernel-source#2.4.20-28.9 2.4.20-28.9
 kernel-source#2.4.20-8 2.4.20-8
 kernel-source#2.4.20-8 2.4.20-8
You should explicitly select one to install.
E: Package kernel-source has no installation candidate


Now, to get the latest kernel-source toye this command:

apt-get install kernel-source#2.4.20-30.9

and it will install

you can do the same for the kernel ... but instead, I download it myself manually and install it (just to make sure I get the right arch (i686, i386, althon, etc.) go here (this is redhat 9 updates) and go into your arch type (for me i686 ... that is all Pentiums and AMD durons > pentium pro/II ... althon would be for AMD althon .. i586 is for pentium, Cyrix ... i386 is for 80386/80486 processors) ... and download the kernel ... then install via:

rpm -Uvh kernel-2.4.20-30.9.i686.rpm
------------------------------
You could do the kernel via apt-get like this:
CODE
[root@localhost root]# apt-get install kernel
Reading Package Lists... Done
Building Dependency Tree... Done
Package kernel is a virtual package provided by:
 kernel-smp#2.4.20-30.9 2.4.20-30.9
 kernel-smp#2.4.20-28.9 2.4.20-28.9
 kernel-bigmem#2.4.20-30.9 2.4.20-30.9
 kernel-bigmem#2.4.20-28.9 2.4.20-28.9
 kernel-BOOT#2.4.20-30.9 2.4.20-30.9
 kernel-BOOT#2.4.20-28.9 2.4.20-28.9
 kernel#2.4.20-30.9 2.4.20-30.9
 kernel#2.4.20-30.9 2.4.20-30.9
 kernel#2.4.20-30.9 2.4.20-30.9
 kernel#2.4.20-28.9 2.4.20-28.9
 kernel#2.4.20-28.9 2.4.20-28.9
 kernel#2.4.20-28.9 2.4.20-28.9
 kernel-smp#2.4.20-8 2.4.20-8
 kernel-bigmem#2.4.20-8 2.4.20-8
 kernel-BOOT#2.4.20-8 2.4.20-8
 kernel#2.4.20-8 2.4.20-8
 kernel#2.4.20-8 2.4.20-8
 kernel#2.4.20-8 2.4.20-8
You should explicitly select one to install.
E: Package kernel has no installation candidate

The one you want for a single processor that doesn't have hyperthreading is kernel#2.4.20-30.9

So you could issue the command:

apt-get install kernel#2.4.20-30.9

I've never had a problem that way, but with the kernel, I still like to download it and do it by hand...

Check your /etc/boot/grub/menu.lst to make sure your new kernel is listed and reboot with the new kernel.

After a couple days when you are satisfied with the new kernel ... you can do the command:

rpm -qa | grep kernel

to see all the kernel and kernel-soucres installed and use the command:

rpm -e kernel-2.4.20-28.9 kernel-source2.4.20-28.9

(you substitute the kernel versions you want to remove ... I removed the above kernel and source from my install after doing the 2.4.20-30.9 install)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.