FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-15-2010, 12:53 AM
Jim Pazarena
 
Default kernel update

is there a CLI command (or commands) which can update
the kernel, similar to apt-get ?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4B78A907.30401@paz.bz">http://lists.debian.org/4B78A907.30401@paz.bz
 
Old 02-15-2010, 01:50 AM
Stephen Powell
 
Default kernel update

On Sun, 14 Feb 2010 20:53:11 -0500 (EST), Jim Pazarena wrote:
>
> is there a CLI command (or commands) which can update
> the kernel, similar to apt-get ?

I'm not sure what you're asking. The kernel is just another package, as far
as the package management system is concerned. It is updated the same way
all packages are:

aptitude update
aptitude full-ugrade

This of course assumes that you have internet and security sources defined
in /etc/apt/sources.list. (And, for the stable release, the volatile
source as well.)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1280106420.12485971266202201713.JavaMail.root@md01 .wow.synacor.com">http://lists.debian.org/1280106420.12485971266202201713.JavaMail.root@md01 .wow.synacor.com
 
Old 02-15-2010, 04:42 AM
Stan Hoeppner
 
Default kernel update

Stephen Powell put forth on 2/14/2010 8:50 PM:
> On Sun, 14 Feb 2010 20:53:11 -0500 (EST), Jim Pazarena wrote:
>>
>> is there a CLI command (or commands) which can update
>> the kernel, similar to apt-get ?
>
> I'm not sure what you're asking. The kernel is just another package, as far
> as the package management system is concerned. It is updated the same way
> all packages are:
>
> aptitude update
> aptitude full-ugrade
>
> This of course assumes that you have internet and security sources defined
> in /etc/apt/sources.list. (And, for the stable release, the volatile
> source as well.)

It also assumes, I believe, that you're running a stock kernel. If you're
running a custom kernel compiled from source, I don't believe aptitude upgrades
will replace your kernel. They've never replaced my kernels anyway, including
distribution upgrades.

--
Stan


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4B78DEDB.4030000@hardwarefreak.com">http://lists.debian.org/4B78DEDB.4030000@hardwarefreak.com
 
Old 02-15-2010, 11:14 AM
Stephen Powell
 
Default kernel update

On Mon, 15 Feb 2010 00:42:51 -0500 (EST), Stan Hoeppner wrote:
> Stephen Powell put forth on 2/14/2010 8:50 PM:
>> On Sun, 14 Feb 2010 20:53:11 -0500 (EST), Jim Pazarena wrote:
>>>
>>> is there a CLI command (or commands) which can update
>>> the kernel, similar to apt-get ?
>>
>> I'm not sure what you're asking. The kernel is just another package, as far
>> as the package management system is concerned. It is updated the same way
>> all packages are:
>>
>> aptitude update
>> aptitude full-ugrade
>>
>> This of course assumes that you have internet and security sources defined
>> in /etc/apt/sources.list. (And, for the stable release, the volatile
>> source as well.)
>
> It also assumes, I believe, that you're running a stock kernel. If you're
> running a custom kernel compiled from source, I don't believe aptitude upgrades
> will replace your kernel. They've never replaced my kernels anyway, including
> distribution upgrades.

The

aptitude update
aptitude full-upgrade

sequence does not replace a binary kernel directly, no. But it will download
the new kernel source package. For example, on a Lenny system, if you earlier
did an

aptitude install linux-source-2.6.26

and then compiled a custom kernel from that source, then later a security
update was made to the kernel, the above sequence of two aptitude commands
will cause a new .deb package for linux-source-2.6.26 to be downloaded to
/var/cache/apt/archives and the package will be "installed" in the sense that
a new tarball will be unpacked from the package file by the name of
/usr/src/linux-source-2.6.26.tar.bz2.

It is up to you to take over from there. You have to notice that a new kernel
source package was downloaded and do something about it.

Of course, if you obtained your kernel source code in the first place from a
non-Debian source, then the package management system knows nothing about it.
You are totally on your own in this case.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 371659801.12511641266236052068.JavaMail.root@md01. wow.synacor.com">http://lists.debian.org/371659801.12511641266236052068.JavaMail.root@md01. wow.synacor.com
 
Old 02-15-2010, 11:28 AM
Stephen Powell
 
Default kernel update

On Mon, 15 Feb 2010 07:14:12 -0500 (EST), Stephen Powell wrote:
> The
>
> aptitude update
> aptitude full-upgrade
>
> sequence does not replace a binary kernel directly, no.

I should clarify that point, lest someone quote me out of context.
It *will* replace a binary *stock* kernel directly. It *will not*
replace a binary *custom* kernel directly, *unless* you gave it a
name that exactly matches a stock kernel package name and a version
that is less than the new version to be downloaded. That is not
usually done, but if you do it it is possible for the above sequence
of commands to replace a custom kernel with a stock kernel,
which is probably not what you want. You should either change the
package name slightly, which I recommend for a number of reasons,
including keeping a good backout around, or give it a version number
that will always compare high with whatever gets downloaded.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1517538233.12512981266236905512.JavaMail.root@md01 .wow.synacor.com">http://lists.debian.org/1517538233.12512981266236905512.JavaMail.root@md01 .wow.synacor.com
 
Old 02-15-2010, 02:03 PM
Sjoerd Hardeman
 
Default kernel update

Stephen Powell schreef:

On Mon, 15 Feb 2010 07:14:12 -0500 (EST), Stephen Powell wrote:

The

aptitude update
aptitude full-upgrade

sequence does not replace a binary kernel directly, no.


I should clarify that point, lest someone quote me out of context.
It *will* replace a binary *stock* kernel directly.
Sorry, but this is just untrue. Older stock kernels will remain bootable
(and having a lilo or grub menu entry) until you remove or purge them.
Currently I've the 2.6.26, the 2.6.30 and the 2.6.32 stock kernels
installed.
Only security updated kernels replace the old kernel. In that case
you'll be notified by the message that a running kernel is being
replaced, and a reboot should be done asap as the process of updating is
completed.


Sjoerd
 
Old 02-15-2010, 02:52 PM
Stephen Powell
 
Default kernel update

On Mon, 15 Feb 2010 10:03:56 -0500 (EST), Sjoerd Hardeman wrote:
> On Mon, 15 Feb 2010 07:14:12 -0500 (EST), Stephen Powell wrote:
>> The
>>
>> aptitude update
>> aptitude full-upgrade
>>
>> sequence does not replace a binary kernel directly, no.
>>
>> ...
>>
>> I should clarify that point, lest someone quote me out of context.
>> It *will* replace a binary *stock* kernel directly.
>
> Sorry, but this is just untrue. Older stock kernels will remain bootable
> (and having a lilo or grub menu entry) until you remove or purge them.
> Currently I've the 2.6.26, the 2.6.30 and the 2.6.32 stock kernels
> installed.
> Only security updated kernels replace the old kernel. In that case
> you'll be notified by the message that a running kernel is being
> replaced, and a reboot should be done asap as the process of updating is
> completed.

I was referring to the case where the package name is the same but the
version is different. For example, a 2.6.26 kernel will not replace a
2.6.18 kernel. But, for example, linux-image-2.6.26-2-686 version 2.6.26-19lenny2
will be replaced by linux-image-2.6.26-2-686 version 2.6.26-21. I believe that
is clear from the context, if you read the entire post. In the specific
case above we have a new stable point release kernel replacing a security-
updated kernel, which actually occurred a few weeks ago. This contradicts
your statement that "only security updated kernels replace the old kernel".


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1871241584.12563441266249146762.JavaMail.root@md01 .wow.synacor.com">http://lists.debian.org/1871241584.12563441266249146762.JavaMail.root@md01 .wow.synacor.com
 
Old 01-24-2011, 08:57 PM
mahmoud mansy
 
Default kernel update

hey guys,
i wanna update the kernel of thw centos 5.5,to the 2.6.32 version!
is there any compatablity issues with stuff like glibc or otheres!
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-24-2011, 09:15 PM
"Brunner, Brian T."
 
Default kernel update

> -----Original Message-----
> From: centos-bounces@centos.org
> [mailto:centos-bounces@centos.org] On Behalf Of mahmoud mansy
> Sent: Monday, January 24, 2011 4:57 PM
> To: CentOS mailing list
> Subject: [CentOS] kernel update
>
> hey guys,
> i wanna update the kernel of thw centos 5.5,to the 2.6.32 version!
> is there any compatablity issues with stuff like glibc or otheres!

1: Why? Whatever risks exist in changing kernel versions might be
obviated by meeting your need another way. Example: Using Fedora 14 or
so; RHEL6; or waiting on CentOS 6

2: You are not clear whether you think to replace the CentOS 5.5 kernel
(currently 2.6.18-194.26.1.el5) with the kernels.org 2.6.32 version, or
do you mean the RHEL6 2.6.32-14.el6.

3: Generally, upgrading ONE part of a MULTI-PART package (i.e. upgrading
the kernel, but not the modules, libraries, headers, etc) is on the
high-risk list.

=> Whereas CentOS (and this list) thinks more of long-term stability
than of bleeding-edge innovation, your curiosity about stepping up to
the newest kernel suggests your interests are more in Fedora-land than
in RHEL/CentOS land. If Stability is critical, my suggestion is wait
for CentOS6.


/me
************************************************** *****************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 01-24-2011, 09:26 PM
mahmoud mansy
 
Default kernel update

well,i meant to upgrade to the RHEL kernel and its module
,libraries,headers if found of course but what i meant is there any
issue with that i.e no piece of software work with that module or
library>>etc,

and the main problem is that i wanna take the RHCE and the best
suggested OS is centos not fedora and i wanna run it on my laptop
which i tried to do so with the centos 5.5 but there was so many
miisings like the wireless card driverr and the display card drivers
so i am back to fedora 14 which i am using now and i wanna run
oracle databse over linux which has some issues with fedora!
such a dillama???
i think i make a clear picture now!
any suggestions?
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 03:02 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org