Configure RPM

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Configure RPM
# 1  
Old 11-27-2012
Configure RPM

Hi..i need to install package (*.rpm) on RHEL 6.2 . I have those patches available in RPM disc. When i try using below command

Code:
rpm -ivh <package name>

it give me following error

Code:
no key 
warning:user mockbuild does not exist - using root
warning:group mockbuild does not exist - using root

and it shows 100% as well but when i try using below command it shows nothing

Code:
rpm -qa <package name>

It is has some other process to do this.

Rgds

Last edited by Scott; 11-27-2012 at 03:26 AM.. Reason: CODE TAGS
# 2  
Old 11-27-2012
Can you check if the package is installed properly? rpm -qlp package_name.rpm will give you the list of files to be installed by the rpm file. Then, you have to verify if those files are really installed properly on the system.

Seems like somehow the RPM database is not getting updated. If it's the issue with a particular RPM file, I would say that there is certainly an issue the way the RPM was packaged.
# 3  
Old 11-28-2012
Hi..do i need to create repository for this or we just copy this file to linux server and then run the following command.

Code:
rpm -ivr <package name>


Rgds

Last edited by Scott; 11-28-2012 at 01:32 AM.. Reason: Code tags
# 4  
Old 11-28-2012
You can install a downloaded RPM using:
Code:
rpm -ivhp <full_pathname>

Note the use of the -p option together with the use of the full pathname to the RPM and not just the package name.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Install and configure ntp rpm on Ubuntu 13.10 version

Hello, I am new to ubuntu Server OS and so trying to setup and ntp service on couple of servers. I see ntp rpm is not installed. # dpkg --get-selections | grep -v deinstall | grep ntp ntpdate install # so I tried to installed ntp rpm using... (5 Replies)
Discussion started by: bobby320
5 Replies

2. AIX

Rpm issue with autoconf-2.63-1.AIX6.1.noarch.rpm

dears i am trying to install the autoconf-2.63-1.aix6.1.noarch.rpm but its shows the below error message . P700_dev/svn/dependencies>rpm -i autoconf-2.63-1.aix6.1.noarch.rpm error: failed dependencies: m4 is needed by autoconf-2.63-1 P700_dev/svn/dependencies> (6 Replies)
Discussion started by: thecobra151
6 Replies

3. Red Hat

RPM

Hello, From All of you GURU i have one query kindly tell me difference between below two rpm oracleasmlib-2.0.4-1.el5.i386.rpm oracleasm-support-2.0.3-1.i386.rpm I am waiting for your promt and brief reply Thanks & Regards, Umair (1 Reply)
Discussion started by: umair
1 Replies

4. Red Hat

rpm?

Dear All Can you please let me know where to obtain the rpm package of RADIUS for my RedHat Enterprise Linux ES release 3 (Taroon)? Thank you (1 Reply)
Discussion started by: hadimotamedi
1 Replies

5. Shell Programming and Scripting

How to make RPM not write to RPM database if RPM fails to deploy?

How to make RPM not write to RPM database if RPM fails to deploy? IE I create an rpm spec file that contains the following if then exit 1 fi My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies

6. Shell Programming and Scripting

Extract RPM name from path to .rpm file

It's the end of the day and I just can't get my head around this. I'm trying to extract just the name of the RPM from the path to a .rpm file. So from: /home/me/rpm/RPMS/i386/nagios-our-plugins-1.2-6.i386.rpmI need to extract 'nagios-our-plugins'. I can't get the awk syntax right: awk '{... (5 Replies)
Discussion started by: aussieos
5 Replies

7. SuSE

How to install .src.rpm ? ( source rpm )

Hi, I have got few RPM's from rpmfind.net ( mainly gcc ). But it seems to be src files instead of the image. so I think we have to build the src files according to target machine using rpmbuild. Can any one help me with 1) Various options of rpm build that have to be taken care 2)... (3 Replies)
Discussion started by: Sivaswami
3 Replies

8. Linux

Converting source rpm to binary rpm

Hi, I need to install an rpm file,but I only have '.src.rpm' version of it. I want to convert it to a binary rpm. so I tried this rpm --rebuild somethin.src.rpm But I am gettin '--rebuild:Invalid option' as output Is there another way to rebuild source rpm.? Thanks in... (2 Replies)
Discussion started by: eamani_sun
2 Replies

9. Linux

Failed dependencies of rpm / how does RPM check for ?

Hey, I've a problem installing a package. rpm -ivh brings the errors: libjvm.so is needed by libverify.so is needed by But I have installed the Java SDK like requested and the files are on the disk. But I have no idea how to find out, why rpm cann't find them. I have also... (2 Replies)
Discussion started by: mod
2 Replies

10. Shell Programming and Scripting

how to use RPM to biuld *.rpm

I have an application for linux writen by me. and before use it, I have to install it. I 've writen a shell program to install it. Now how can I turn it to the *.rpm ? Is this can done by shell command rpm? How to do it? thanks (1 Reply)
Discussion started by: murataht
1 Replies
Login or Register to Ask a Question