LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2003, 01:44 AM   #1
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Rep: Reputation: 30
How to tell if a rpm is installed


I have installed kernel-source-2.4.20-18.9.i386.rpm so that I can install the Nvidia IA32 driver. How can I tell if it installed correctly? and is that the right rpm for the driver to view the kernel source and kernel headers?cuz that is my kernel version
 
Old 07-28-2003, 01:52 AM   #2
jgombos
Member
 
Registered: Jul 2003
Posts: 256

Rep: Reputation: 32
I would execute the following commands:
Code:
rpm -qi kernel-source
rpm -ql kernel-source
 
Old 07-28-2003, 01:58 AM   #3
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
It just said somethin about how rpms were powerful and then gave me a list of files but before and after it it said package kernel-source not installed. I have run the rpm now wut do i do?
 
Old 07-28-2003, 02:06 AM   #4
jgombos
Member
 
Registered: Jul 2003
Posts: 256

Rep: Reputation: 32
That's interesting. The -ql switch was commanding it to list all the files that were installed for that package. I don't know why it would list files, then say that the thing is not installed. That's strange. Sorry I can't be any more help.
 
Old 07-28-2003, 02:27 AM   #5
jackyopensrc
LQ Newbie
 
Registered: Jul 2003
Location: Kuala Lumpur,Malaysia.
Distribution: Red Hat 7.3
Posts: 16

Rep: Reputation: 0
Smile Re: Hoe to tell if a rpm is installed.

Hi jgombos!

Do you mind to tell me where your *.rpm file located in.

If your file located in /apps directory,go to that directory

/apps

Type "rpm -i <packagesname.rpm> | less" -is to install the specified packages.

 
Old 07-28-2003, 02:34 AM   #6
balaji2001com
Member
 
Registered: Jun 2003
Location: Chennai,India
Distribution: Almost all the flavours of linux
Posts: 39

Rep: Reputation: 15
Lightbulb

try the
rpm -qa <rpm>|grep <the rpm you have installed>
this gives u whether the rpm is installed or not.
Otherwise try this
try to force the rpm once more using the
rpm -ivh <the rpm to be intalled> --force
this forces the rpm once more
if this doesn't work then there's a problem with the setup somewhere

Get back to me if this works
 
Old 07-28-2003, 03:07 PM   #7
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
Thanks it wasnt installed and that --force thing worked. Thanks again
 
Old 07-29-2003, 01:53 AM   #8
jackyopensrc
LQ Newbie
 
Registered: Jul 2003
Location: Kuala Lumpur,Malaysia.
Distribution: Red Hat 7.3
Posts: 16

Rep: Reputation: 0
How to tell if a rpm is installed?

Okay, What about the error message "packages depencies" appears?

I have encountered these problems many times .

Last edited by jackyopensrc; 07-29-2003 at 01:58 AM.
 
Old 07-29-2003, 02:15 AM   #9
aizkorri
Member
 
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 432
Blog Entries: 1

Rep: Reputation: 45
that means you have to install some other package(s) before you install the one you want to, cause it needs something else to be installed before.

e.g you want to install some app that uses graphical interface, it will check if the gui's packages are installed, if they are not it will say there is a dependency and you have to install this or that package(s)
 
Old 07-29-2003, 02:49 AM   #10
balaji2001com
Member
 
Registered: Jun 2003
Location: Chennai,India
Distribution: Almost all the flavours of linux
Posts: 39

Rep: Reputation: 15
the force option is generally used to force an rpm to be installed.this can be also used when we cannot uninstall an rpm,we force install it and remove it after it is installed the second time.the dependencies has nothing to do with the force option.the --nodeps deals with the dependencies.

Pls correct me if iam wrong.
 
Old 07-30-2003, 03:01 AM   #11
jackyopensrc
LQ Newbie
 
Registered: Jul 2003
Location: Kuala Lumpur,Malaysia.
Distribution: Red Hat 7.3
Posts: 16

Rep: Reputation: 0
Good Day Aizkorri,

Previously, I have ever installed that menationed related packages on my linux box, but it just denied my installation. It gave me that errors messages such as: glibc3_2 interdepencies by .... ba ba ba

My Scenario is I need the Qt lib to program my works,so I have the following simple quesion:

a) Do I have to download all the other related packages ?
b) What packages shall I download with ?
c) How can I find the remove the previous packages and install the needed packages ?
d)Will it conflit with other current packages ?

Thanks ! Have a nice Day !
 
Old 07-30-2003, 06:11 AM   #12
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
If you get a glibc error you need to recompile the program or find an RPM for the exact version of your distro.
 
  


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
rpm -ivh says installed rpm -e says not installed ??? skog Fedora 3 12-22-2004 04:52 PM
rpm -q not shows installed rpm mla Linux - Software 4 10-31-2004 03:49 PM
RPM is saying installed packages aren't installed ticky87 Linux - Newbie 4 07-26-2004 02:17 AM
Already installed rpm js72 Fedora 2 03-22-2004 05:25 AM
rpm: installed or not installed... c0c0deuz Linux - General 4 07-12-2003 07:38 PM


All times are GMT -5. The time now is 02:28 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration