Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RPM build errors

Status
Not open for further replies.

Amazator

Programmer
Mar 8, 2006
13
IN
Hi folks,

1 of our company's products is packaged using an RPM command in the build script. Quite randomly, the RPM package gets corrupted on the build server during or after the build script terminates. I don't know why this is happening, but I am not doing anything hi-fi using RPMs, I'm just calling am rpmbuild command to build an RPM for me.

The error exactly reads:

Code:
[root@IMITS078 ~]# rpm -q  --queryformat "%{ARCH}" rpm
error: cannot open Packages database in /var/lib/rpm
package rpm is not installed

Any help in this direction will be most appreciated. I've not had a successful search so far...

-Amazator
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top