[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I update kernel in Debian 4



On Sun, Jul 27, 2008 at 18:28:00 +0800, Bret Busby (bret@busby.net) wrote: 

> On Sun, 27 Jul 2008, Jonathan Kaye wrote:
>
>>
>> Bret Busby wrote:
>>
>>>
>>> Hello.
>>>
>>> We have Debian 4.0 running on one of our computers; a server of sorts.
>>>
>>> Accessing that computer, for system updates, etc, is done through
>>> telnet.
>>>
>>> Running uname -a, which I understand returns the kernel version, returns
>>> 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i586 GNU/Linux
>>>
>>> In searching on the Internet, I cannot find an easy way, using apt-get,
>>> of updating (or upgrading) the kernel, and it is clearly not
>>> automatically done when running apt-get update followed by
>>> apt-get-upgrade.
>>>
>>> The GUI system update/upgrade facility on my workstation (also Debian
>>> 4.0), automatically includes kernel updates; the last one done today
>>> (from Synaptic File -> History, "linux-image-2.6.18-6-k7
>>> (2.6.18.dfsg.1-18etch6) to 2.6.18.dfsg.1-22").
>>>
>>> How do I get what automatically works with the GUI update/upgrade
>>> facility, to work with a command line apt-get update then apt-get
>>> dist-upgrade facility, to update/upgrade the kernel?
>>>
>>> Thank you in anticipation.
>>>
>>> --
>>> Bret Busby
>>>
>> Hi Bret,
>> 1. At the console type "aptitude search linux-image" You will see a list of
>> kernels.
>> 2. Pick the kernel of you choice, say, linux-image-2.6.25-2-686, and AS ROOT
>> or using sudo type "aptitude install linux-image-2.6.25-2-686" (if that's
>> the kernel you want).
>> Then reboot and you should see the newly installed kernel appear on your
>> boot menu.
>> Cheers,
>> Jonathan
>>
>
> "
> aptitude search linux-image
> v   linux-image -
> v   linux-image-2.6 -
> p   linux-image-2.6-486 - Linux kernel 2.6 image on x86
> p   linux-image-2.6-486-etchnhalf - Linux 2.6-etchnhalf image on x86
> p   linux-image-2.6-686 - Linux kernel 2.6 image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-2.6-686-bigmem - Linux kernel 2.6 image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-2.6-686-bigmem-etchnhalf - Linux 2.6-etchnhalf image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-2.6-686-etchnhalf - Linux 2.6-etchnhalf image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-2.6-686-smp - Linux 2.6 image on PPro/Celeron/PII/PIII/P4 
> SMP - transition package
> p   linux-image-2.6-amd64 - Linux kernel 2.6 image on AMD64
> p   linux-image-2.6-amd64-etchnhalf - Linux 2.6-etchnhalf image on AMD64
> p   linux-image-2.6-k7 - Linux kernel 2.6 image on AMD K7
> p   linux-image-2.6-k7-smp - Linux 2.6 image on AMD K7 SMP - transition 
> package
> p   linux-image-2.6-vserver-686 - Linux kernel 2.6 image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-2.6-vserver-k7 - Linux kernel 2.6 image on AMD K7
> p   linux-image-2.6-xen-686 - Linux kernel 2.6 image on i686
> p   linux-image-2.6-xen-vserver-686 - Linux kernel 2.6 image on i686
> p   linux-image-2.6.18-4-486 - Linux 2.6.18 image on x86
> p   linux-image-2.6.18-4-686 - Linux 2.6.18 image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-2.6.18-4-686-bigmem - Linux 2.6.18 image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-2.6.18-4-amd64 - Linux 2.6.18 image on AMD64
> p   linux-image-2.6.18-4-k7 - Linux 2.6.18 image on AMD K7
> p   linux-image-2.6.18-4-vserver-686 - Linux 2.6.18 image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-2.6.18-4-vserver-k7 - Linux 2.6.18 image on AMD K7
> p   linux-image-2.6.18-4-xen-686 - Linux 2.6.18 image on i686
> p   linux-image-2.6.18-4-xen-vserver-686 - Linux 2.6.18 image on i686
> p   linux-image-2.6.18-5-486 - Linux 2.6.18 image on x86
> p   linux-image-2.6.18-5-686 - Linux 2.6.18 image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-2.6.18-5-686-bigmem - Linux 2.6.18 image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-2.6.18-5-amd64 - Linux 2.6.18 image on AMD64
> p   linux-image-2.6.18-5-k7 - Linux 2.6.18 image on AMD K7
> p   linux-image-2.6.18-5-vserver-686 - Linux 2.6.18 image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-2.6.18-5-vserver-k7 - Linux 2.6.18 image on AMD K7
> p   linux-image-2.6.18-5-xen-686 - Linux 2.6.18 image on i686
> p   linux-image-2.6.18-5-xen-vserver-686 - Linux 2.6.18 image on i686
> p   linux-image-2.6.18-6-486 - Linux 2.6.18 image on x86
> p   linux-image-2.6.18-6-686 - Linux 2.6.18 image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-2.6.18-6-686-bigmem - Linux 2.6.18 image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-2.6.18-6-amd64 - Linux 2.6.18 image on AMD64
> p   linux-image-2.6.18-6-k7 - Linux 2.6.18 image on AMD K7
> p   linux-image-2.6.18-6-vserver-686 - Linux 2.6.18 image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-2.6.18-6-vserver-k7 - Linux 2.6.18 image on AMD K7
> p   linux-image-2.6.18-6-xen-686 - Linux 2.6.18 image on i686
> p   linux-image-2.6.18-6-xen-vserver-686 - Linux 2.6.18 image on i686
> p   linux-image-2.6.24-etchnhalf.1-486 - Linux 2.6.24 image on x86
> p   linux-image-2.6.24-etchnhalf.1-686 - Linux 2.6.24 image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-2.6.24-etchnhalf.1-686-bigmem - Linux 2.6.24 image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-2.6.24-etchnhalf.1-amd64 - Linux 2.6.24 image on AMD64
> p   linux-image-486 - Linux kernel image on x86
> p   linux-image-686 - Linux kernel image on PPro/Celeron/PII/PIII/P4
> p   linux-image-686-bigmem - Linux kernel image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-amd64 - Linux kernel image on AMD64
> p   linux-image-k7 - Linux kernel image on AMD K7
> p   linux-image-vserver-686 - Linux kernel image on 
> PPro/Celeron/PII/PIII/P4
> p   linux-image-vserver-k7 - Linux kernel image on AMD K7
> p   linux-image-xen-686 - Linux kernel image on i686
> p   linux-image-xen-vserver-686 - Linux kernel image on i686
> "
>
> "
> cat /proc/cpuinfo
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 5
> model           : 4
> model name      : Pentium MMX
> stepping        : 3
> cpu MHz         : 233.866
> fdiv_bug        : no
> hlt_bug         : no
> f00f_bug        : yes
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 1
> wp              : yes
> flags           : fpu vme de pse tsc msr mce cx8 mmx
> bogomips        : 466.94
> "
>
> But, which image?
>
> The CPU appears to be a Pentium MMX.
>
> The above list of images, have images for 486 CPU's, and for 686 CPU's,  
> and for "PPro/Celeron/PII/PIII/P4" CPU's, but not for either a straight  
> Pentium CPU, or for a Pentium MMX CPU.

I am pretty sure 486 is the one to go for.  (I use it on a P266 MMX
laptop).

Your list above shows no packages marked 'A' for auto which explains why
it was not upgrading.

Regarding etch, this article might be of interest/use:

http://www.debian.org/News/2008/20080726


-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Registered user #445000 with the Linux Counter - http://counter.li.org/


Reply to: