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:
Any help in this direction will be most appreciated. I've not had a successful search so far...
-Amazator
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