Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I'm trying to install the kernel source rpm for kernel 2.4.20-20.9 and am having some problems. I have already installed the binary version of the kernel. I install the rpm, it gives me a warning, appears to install, and then is not installed. I upgraded from the 2.4.20-8 kernel and am also trying to upgrade the source, but it is not working. Thanks for any help. Here are the commands I'm using:
Code:
# cd /usr/src
# ls
debug
linux-2.4
kernel-2.4.20-20.9.src.rpm
redhat
# rpm -ivh kernel-2.4.20-20.9.src.rpm
warning: kernel-2.4.20-20.9.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
1:kernel ################################################### [100%]
# ls
debug
linux-2.4
kernel-2.4.20-20.9.src.rpm
redhat
# rpm -qa | grep kernel-source
kernel-source-2.4.20-8
#
Although, my machine isn't picking up having a kernel-source installed at all. I'm running Redat 9 but found out when I tried to install the drivers for my video card something's not linking right or doesn't exist because it tells me I need to have a kernel-source installed before it can do it's thing. When I try to usel the kernel-source rpm off the install cd for RH9, it gets about halfway through checking for package dependencies (where it's says 'reading individual package headers') and dead-ends. Up2Date says everything's there and updated to the most current versions, but I can't grep, whereis, or slocate it. I'm currently looking for a d/l of the 2.4.20-20.9 rpm independent of the Up2Date, but I have a feeling I'm going to get the same "already installed" errors. Any insight?
try rpm -e <package name> to uninstall. Then go to the Red Hat Network and select downloads and search for the rpm - you should then be able to d/l and install it. I have noticed it hangs on the installation, but if you leave it it continues eventually.
I'm on my lunch break now, not a huge amount of time to mess with it (at least, not as much as I'd like), but I'll definitely try that. Thanks a bunch!
Hannah
Don't confuse the kernel-source binary rpm (i.e. i386.rpm) with the kernel src.rpm. You want the former. The latter is not installed, but extracted like an archive (by default to /usr/src/redhat). It is used to build the binary rpm packages which is not what you want.
Get the kernel-source-2.4.20-20.9.i386.rpm, not the src.rpm.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.