Hi folks,
One of our company's products is packaged using an RPM command in the build shell 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 (when I try to query for RPM architecture):
Any help in this direction will be most appreciated. I've not had a successful search so far...and this trend of RPM corruption is increasing day by day on our build machines. I don't know what could cause this.
BTW, the build scripts are scheduled to run through the cron scheduler.
-Amazator
One of our company's products is packaged using an RPM command in the build shell 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 (when I try to query for RPM architecture):
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...and this trend of RPM corruption is increasing day by day on our build machines. I don't know what could cause this.
BTW, the build scripts are scheduled to run through the cron scheduler.
-Amazator