Sponsored Content
Full Discussion: kernel patch update how to
Operating Systems Linux kernel patch update how to Post 302212903 by itik on Tuesday 8th of July 2008 06:13:43 PM
Old 07-08-2008
kernel patch update how to

Hi All,

I need to update my redhatas4 kernel with kernel-2.6.9-67.0.20.EL.src.rpm.

When I run this

[root@localhost tmp]# rpm -ivh kernel-2.6.9-67.0.20.EL.src.rpm

warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
########################################### [100%]
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root

After reboot, I check my version with uname -a,

[root@localhost tmp]# uname -a
Linux localhost.localdomain 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64 x86_64 x86_64 GNU/Linux

there's nothing changes so I think I did not install the kernel properly and run it again but nothing changes.

What should I do to properly update it?

Thanks in advance.
 

7 More Discussions You Might Find Interesting

1. High Performance Computing

veritas cluster with kernel patch update

hi all, can someone please share their process on how to kernel patch a red hat ent 4 with veritas cluster 5? it's compose of a primary and backup node. the resources are db, disk, nic. it doesn't need to be detail, just give me the steps like: login to the backup node and update the... (0 Replies)
Discussion started by: itik
0 Replies

2. Solaris

How can i see kernel patch version?

Hello experts. How can i see kernel patch version? what are advantages applying that patch? Thanx in advance (5 Replies)
Discussion started by: younus_syed
5 Replies

3. Solaris

Issue with kernel patch installation...

I tried to install the kernel patch 118855-36 in my x86 machine which has Solaris 10 installed. Find below the error message.... #patchadd 118855-36 Checking patches that you specified for installation. Done! Approved patches will be installed in this order: 118855-36 Executing... (1 Reply)
Discussion started by: paventhan
1 Replies

4. Linux

How to get installed kernel patch info

Hi I want to get the info about which version of kernel patchs are installed in my system. I am using susu10. Rgds, ashokd009 (1 Reply)
Discussion started by: ashokd009
1 Replies

5. Solaris

Kernel Patch level of ABE.

Hi, Anyone able to advise on how to find the kernel patch level of an ABE? showrev and uname -a will provide kernel patch details of the running environment, but how can I run these commands against the ABE or where do these commands get their information from i.e. is the kernel patch level... (3 Replies)
Discussion started by: CiCa
3 Replies

6. UNIX for Dummies Questions & Answers

Appling Patch to kernel

Hello everybody, I have downloaded kernel version 3.10.21 and the same version of patch. the question is do I need to apply this patch which is the same version of kernel or is it intended for lower versions of kernel. thanks a lot (1 Reply)
Discussion started by: Vit0_Corleone
1 Replies

7. Ubuntu

Recompile the kernel after applying a patch in Ubuntu.

I have applied a patch using this command: patch -p1 < (file) then I did git commit -a. Now I want to recompile the kernel for making this patch live. Should I use make oldconfig or make localmodconfig After that, make -j$(grep -c "processor" /proc/cpuinfo) sudo make... (1 Reply)
Discussion started by: BHASKAR JUPUDI
1 Replies
RPM2(3) 						User Contributed Perl Documentation						   RPM2(3)

NAME
RPM2 - Perl bindings for the RPM Package Manager API SYNOPSIS
use RPM2; my $db = RPM2->open_rpm_db(); my $i = $db->find_all_iter(); print "The following packages are installed (aka, 'rpm -qa'): "; while (my $pkg = $i->next) { print $pkg->as_nvre, " "; } $i = $db->find_by_name_iter("kernel"); print "The following kernels are installed (aka, 'rpm -q kernel'): "; while (my $pkg = $i->next) { print $pkg->as_nvre, " ", int($pkg->size()/1024), "k "; } $i = $db->find_by_provides_iter("kernel"); print "The following packages provide 'kernel' (aka, 'rpm -q --whatprovides kernel'): "; while (my $pkg = $i->next) { print $pkg->as_nvre, " ", int($pkg->size()/1024), "k "; } print "The following packages are installed (aka, 'rpm -qa' once more): "; foreach my $pkg ($db->find_by_file("/bin/sh")) { print $pkg->as_nvre, " "; } my $pkg = RPM2->open_package("/tmp/XFree86-4.1.0-15.src.rpm"); print "Package opened: ", $pkg->as_nvre(), ", is source: ", $pkg->is_source_package, " "; DESCRIPTION
The RPM2 module provides an object-oriented interface to querying both the installed RPM database as well as files on the filesystem. CLASS METHODS
Pretty much all use of the class starts here. There are two main entrypoints into the package -- either through the database of installed rpms (aka the rpmdb) or through a file on the filesystem (such as kernel-2.4.9-31.src.rpm or kernel-2.4.9-31.i386.rpm You can have multiple RPM databases open at once, as well as running multiple queries on each. open_rpm_db(-path => "/path/to/db") As it sounds, it opens the RPM database, and returns it as an object. open_package("foo-1.1-14.noarch.rpm") Opens a specific package (RPM or SRPM). Returns a Header object. RPM DB object methods find_all_iter() Returns an iterator object that iterates over the entire database. find_all() Returns an list of all of the results of the find_all_iter() method. find_by_file_iter($filename) Returns an iterator that returns all packages that contain a given file. find_by_file($filename) Ditto, except it just returns the list find_by_name_iter($package_name) You get the idea. This one is for iterating by package name. find_by_name($package_name) Ditto, except it returns a list. find_by_provides_iter($provides_string) This one iterates over provides. find_by_provides($provides_string) Ditto, except it returns a list. find_by_requires_iter($requires_string) This one iterates over requires. find_by_requires($requires_string) Ditto, except it returns a list. RPM Header object methods stuff goes here TODO
Package installation and removal. Signature validation. HISTORY
0.01 Initial release AUTHOR
Chip Turner <cturner@redhat.com> SEE ALSO
perl. The original RPM module. perl v5.8.0 2002-11-08 RPM2(3)
All times are GMT -4. The time now is 10:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy