LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux 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!

Notices

Reply
 
Search this Thread
Old 04-21-2004, 10:21 PM   #1
pmurnane
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 9.2
Posts: 3

Rep: Reputation: 0
Mandrake 9.2 Kernel Source RPM Weirdness


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
 
Old 04-22-2004, 12:53 AM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
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" .
 
Old 04-22-2004, 06:47 PM   #3
pmurnane
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 9.2
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 05-04-2004, 11:15 AM   #4
eduif
LQ Newbie
 
Registered: May 2004
Location: Netherlands
Posts: 3

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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


All times are GMT -5. The time now is 08:47 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration