[CentOS] Nagios 3.4.1 on CentOS 5.8

Joseph L. Casale

jcasale at activenetwerx.com
Mon Jun 18 03:08:14 UTC 2012

>+ /bin/gzip -dc /usr/src/redhat/SOURCES/nagios-3.4.1.tar.gz
>+ tar -xf -

Ok, it unpacked.

>+ '[' 0 -ne 0 ']'
>+ cd nagios-3.4.1
>/var/tmp/rpm-tmp.36485: line 31: cd: nagios-3.4.1: No such file or directory
>error: Bad exit status from /var/tmp/rpm-tmp.36485 (%prep)

But now it cant cd into the *expected* directory.

Either fix the tar file, or amend the spec with the facilities provided that allow
for this very circumstance.


More information about the CentOS mailing list