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

rpm -ivh <package name>

it give me following error

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

rpm -qa <package name>

It is has some other process to do this.

Rgds

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.

Hi..do i need to create repository for this or we just copy this file to linux server and then run the following command.

rpm -ivr <package name>

Rgds

You can install a downloaded RPM using:

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.