Linux - NewbieThis 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
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.
[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.
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. )
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.