LinuxQuestions.org
Visit Jeremy's Blog.

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 access 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.

Are you new to LinuxQuestions.org? Visit the following links:
Site Howto | Site FAQ | Sitemap | Register Now

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.

Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Reply
 
Thread Tools
Old 04-21-2004, 10:21 PM   #1
pmurnane
Newbie
 
Registered: Apr 2004
Distribution: Mandrake 9.2
Posts: 3
Mandrake 9.2 Kernel Source RPM Weirdness


[Log in to get rid of this advertisement]
Can someone please help me understand this:

[root@localhost cdrom]# ls
kernel-2.4.22.10mdk-1-1mdk.i586.rpm* ndiswrapper-0.6.tar.gz*
[root@localhost cdrom]# rpm -V ./kernel-2.4.22.10mdk-1-1mdk.i586.rpm
package ./kernel-2.4.22.10mdk-1-1mdk.i586.rpm is not installed
[root@localhost cdrom]# rpm -Uvh ./kernel-2.4.22.10mdk-1-1mdk.i586.rpm
Preparing... ########################################### [100%]
package kernel-2.4.22.10mdk-1-1mdk is already installed
[root@localhost cdrom]#

Immediately after a fresh install of Mandrake 9.2, I'm trying to install the kernel source. It's not listed by rpmdrake in the RPMs on the 3 CDs I downloaded. I ran uname -a to get the kernel version, and checked Mandrake's web site to get the right RPM to download, which is kernel-2.4.22.10mdk-1-1mdk.i586.rpm, from what I can tell.

When I run rpm -V ./kernel-2.4.22.10mdk-1-1mdk.i586.rpm , it says the package is not installed.

When I run rpm -Uvh ./kernel-2.4.22.10mdk-1-1mdk.i586.rpm , it says the package is already installed.

I searched the existing posts, and found nothing except other people with the same problem.

???
--Phil
pmurnane is offline     Reply With Quote
Old 04-22-2004, 12:53 AM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836
what you have is a precompiled binary kernel package.

look for kernel-source*.rpm's or something like kernel-2.4.22*.src.rpm.

focusing on the "kernel-source" or "*src.i386.rpm" .
AutOPSY is offline     Reply With Quote
Old 04-22-2004, 06:47 PM   #3
pmurnane
Newbie
 
Registered: Apr 2004
Distribution: Mandrake 9.2
Posts: 3
AutOPSY:

Thanks for pointing that out (duh).

I guess the contradictory messages from rpm are just a personality quirk. A helpful one in this case, since I'm sure I would have blown the install otherwise. )

Thanks Again,
--Phil
pmurnane is offline     Reply With Quote
Old 05-04-2004, 11:15 AM   #4
eduif
Newbie
 
Registered: May 2004
Location: Netherlands
Posts: 3
do not put .rpm with rpm -q

use rpm -q package name, in your case:
rpm -q kernel-2.4.22.10mdk-1-1mdk
or maybe
rpm -q kernel-2.4.22.10mdk-1-1mdk.i586
but not
rpm -q kernel-2.4.22.10mdk-1-1mdk.i586.rpm
eduif is offline     Reply With Quote

Reply

Submit thread to Digg | Submit thread to del.icio.us | Submit to LQ Bookmarks

« Back to Top »

Thread Tools

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake 10.1 - kernel weirdness Malibyte Mandriva 5 03-16-2005 08:50 PM
kernel-source-2.6.5-7.src.rpm requires kernel-dummy to build!? fizzdandantilus Suse/Novell 5 12-02-2004 12:48 PM
kernel-source rpm itywygms Linux - Newbie 1 08-21-2004 12:51 PM
Problem installing Mandrake kernel source rpm Gibson Linux - Newbie 4 07-30-2004 01:42 PM
Kernel source RPM carlosjjang Linux - Software 1 05-06-2004 10:11 AM



Add LQ To Your Yahoo Add LQ To Your Google Add LQ To Your MSN Add LQ To Your Blog
All times are GMT -5. The time now is 05:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Open Source Consulting | Domain Registration