Unix Technical Forum

Will apt-get update not upgrade kernel also?

This is a discussion on Will apt-get update not upgrade kernel also? within the Debian Linux support forums, part of the Debian Linux category; --> Hi All I have a triple boot box with win98, deb(sarge) and MDK10. I thought of updating the deb ...


Go Back   Unix Technical Forum > Unix Operating Systems > Debian Linux > Debian Linux support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-19-2008, 06:57 AM
cheeka
 
Posts: n/a
Default Will apt-get update not upgrade kernel also?

Hi All

I have a triple boot box with win98, deb(sarge) and MDK10.
I thought of updating the deb portion using apt-get.
The present kernel is 2.6.8-1. I used apt-get update and it downloaded
330MB
and updated all other applications , but when I give "uname -a" , I
still
find the kernel as 2.6.8-1.

Will apt-get update not update the kernel also automagically? Or do I
have
to do it in the old fashioned way by compiling and installing?

Pl help.

NS Srikanth

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-19-2008, 06:57 AM
Paul Cupis
 
Posts: n/a
Default Re: Will apt-get update not upgrade kernel also?

cheeka wrote:
> I have a triple boot box with win98, deb(sarge) and MDK10.
> I thought of updating the deb portion using apt-get.
> The present kernel is 2.6.8-1. I used apt-get update and it downloaded
> 330MB
> and updated all other applications , but when I give "uname -a" , I
> still
> find the kernel as 2.6.8-1.
>
> Will apt-get update not update the kernel also automagically? Or do I
> have
> to do it in the old fashioned way by compiling and installing?


apt-get (and aptitude) will upgrade the kernel if you have a
meta-package installed, or if you specify the package name. You do not
have to compile and install your own kernel.

What processor do you have? Or what specific kernel (uname -a) ?

You'll want to install kernel-image-2.6-386 or something (where the last
part is processor related).

$ cat /etc/debian_version
3.1
$ apt-cache search kernel-image-2.6-
kernel-image-2.6-386 - Linux kernel image for version 2.6 on 386.
kernel-image-2.6-686 - Linux kernel image for version 2.6 on
PPro/Celeron/PII/PIII/P4.
kernel-image-2.6-686-smp - Linux kernel image for version 2.6 on
PPro/Celeron/PII/PIII/P4 SMP.
kernel-image-2.6-amd64-generic - Linux kernel image for version 2.6 on
generic x86_64 systems
kernel-image-2.6-amd64-k8 - Linux kernel image for version 2.6 on AMD64
systems
kernel-image-2.6-amd64-k8-smp - Linux kernel image for version 2.6 on
AMD64 SMP systems
kernel-image-2.6-em64t-p4 - Linux kernel image for version 2.6 on Intel
EM64T systems
kernel-image-2.6-em64t-p4-smp - Linux kernel image for version 2.6 on
Intel EM64T SMP systems
kernel-image-2.6-k7 - Linux kernel image for version 2.6 on AMD K7.
kernel-image-2.6-k7-smp - Linux kernel image for version 2.6 on AMD K7 SMP.
$


Regards,

Paul Cupis
--
paul@cupis.co.uk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-19-2008, 06:57 AM
Neil Woods
 
Posts: n/a
Default Re: Will apt-get update not upgrade kernel also?

>>>>> "cheeka" == cheeka <srikanth.ns@gmail.com> writes:

cheeka> Hi All
cheeka> I have a triple boot box with win98, deb(sarge) and MDK10. I thought
cheeka> of updating the deb portion using apt-get. The present kernel is
cheeka> 2.6.8-1. I used apt-get update and it downloaded 330MB and updated all
cheeka> other applications , but when I give "uname -a" , I still find the
cheeka> kernel as 2.6.8-1.

You did remember to reboot after running apt-get upgrade, didn't you?

cheeka> Will apt-get update not update the kernel also automagically? Or do I
cheeka> have to do it in the old fashioned way by compiling and installing?

apt-get update + apt-get upgrade should upgrade the kernel, yes. Though
you may have to run apt-get dist-upgrade when performing large upgrades.

The upgrade should also run lilo (or grub) automatically when upgrading
the kernel.
--
Neil
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-19-2008, 06:57 AM
Robert Tucker
 
Posts: n/a
Default Re: Will apt-get update not upgrade kernel also?

cheeka wrote:

>Hi All
>
>I have a triple boot box with win98, deb(sarge) and MDK10.
>I thought of updating the deb portion using apt-get.
>The present kernel is 2.6.8-1. I used apt-get update and it downloaded
>330MB
>and updated all other applications , but when I give "uname -a" , I
>still
>find the kernel as 2.6.8-1.
>
>Will apt-get update not update the kernel also automagically? Or do I
>have
>to do it in the old fashioned way by compiling and installing?
>
>Pl help.
>
>NS Srikanth
>
>
>

I think you will find that apt-get update and apt-get upgrade will only
result in the installation of the latest version of 2.6.8

If you want another kernel you will have to install in the same way as
any other new piece of software.

# apt-get install kernel-image-2.6.11-1-386

or

# apt-get install kernel-image-2.6.11-1-686

I would imagine - I used Synaptic to install both 2.6.7 and 2.6.11
having started with 2.4.? - I definitely did not do any compiling.

$ cat /etc/debian_version
3.1
$ apt-cache search kernel-image-2.6
kernel-image-2.6-386 - Linux kernel image for version 2.6 on 386.
kernel-image-2.6-686 - Linux kernel image for version 2.6 on
PPro/Celeron/PII/PIII/P4.
kernel-image-2.6-686-smp - Linux kernel image for version 2.6 on
PPro/Celeron/PII/PIII/P4 SMP.
kernel-image-2.6-amd64-generic - Linux kernel image for version 2.6 on
generic x86_64 systems
kernel-image-2.6-amd64-k8 - Linux kernel image for version 2.6 on AMD64
systems
kernel-image-2.6-amd64-k8-smp - Linux kernel image for version 2.6 on
AMD64 SMP systems
kernel-image-2.6-em64t-p4 - Linux kernel image for version 2.6 on Intel
EM64T systems
kernel-image-2.6-em64t-p4-smp - Linux kernel image for version 2.6 on
Intel EM64T SMP systems
kernel-image-2.6-k7 - Linux kernel image for version 2.6 on AMD K7.
kernel-image-2.6-k7-smp - Linux kernel image for version 2.6 on AMD K7 SMP.
kernel-image-2.6.11-1-386 - Linux kernel image for version 2.6.11 on 386.
kernel-image-2.6.11-1-686 - Linux kernel image for version 2.6.11 on
PPro/Celeron/PII/PIII/P4.
kernel-image-2.6.11-1-686-smp - Linux kernel image for version 2.6.11 on
PPro/Celeron/PII/PIII/P4 SMP.
kernel-image-2.6.11-1-k7 - Linux kernel image for version 2.6.11 on AMD K7.
kernel-image-2.6.11-1-k7-smp - Linux kernel image for version 2.6.11 on
AMD K7 SMP.
kernel-image-2.6.8-11-amd64-generic - Linux kernel image for version
2.6.8 on generic x86_64 systems
kernel-image-2.6.8-11-amd64-k8 - Linux kernel image for version 2.6.8 on
AMD64 systems
kernel-image-2.6.8-11-amd64-k8-smp - Linux kernel image for version
2.6.8 on AMD64 SMP systems
kernel-image-2.6.8-11-em64t-p4 - Linux kernel image for version 2.6.8 on
Intel EM64T systems
kernel-image-2.6.8-11-em64t-p4-smp - Linux kernel image for version
2.6.8 on Intel EM64T SMP systems
kernel-image-2.6.8-2-386 - Linux kernel image for version 2.6.8 on 386.
kernel-image-2.6.8-2-686 - Linux kernel image for version 2.6.8 on
PPro/Celeron/PII/PIII/P4.
kernel-image-2.6.8-2-686-smp - Linux kernel image for version 2.6.8 on
PPro/Celeron/PII/PIII/P4 SMP.
kernel-image-2.6.8-2-k7 - Linux kernel image for version 2.6.8 on AMD K7.
kernel-image-2.6.8-2-k7-smp - Linux kernel image for version 2.6.8 on
AMD K7 SMP.
ndiswrapper-modules-2.6.8-2-386 - Ndiswrapper linux kernel module
ndiswrapper-modules-2.6.8-2-686 - Ndiswrapper linux kernel module
ndiswrapper-modules-2.6.8-2-686-smp - Ndiswrapper linux kernel module
ndiswrapper-modules-2.6.8-2-k7 - Ndiswrapper linux kernel module
ndiswrapper-modules-2.6.8-2-k7-smp - Ndiswrapper linux kernel module
kernel-image-2.6.7-1-686 - Linux kernel image for version 2.6.7 on
PPro/Celeron/PII/PIII/PIV.



Don't know why 2.6.11 is listed before 2.6.8, nor why neither 2.6.9 nor
2.6.10 is listed.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:25 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com