Confusing Redhat Patch installation status (Exit Code 18)

(imported topic written by AvijitPatra)

Guys,

We are facing strange issue while applying a Firefox Patch to an RHEL 5 box. It seems to download the patch and even showing a success message while installing the patches. But the overall path Actions shows as Failed.

At 13:36:51 +0530 - actionsite (http:
//<Server>:52311/cgi-bin/bfgather.exe/actionsite) Command succeeded (evaluated 

true) 

continue 

if 
{(size of it = 13491791 AND sha1 of it = 
"774d7f7025fb9e0ff21c68c8b3713ace9058f69b") of file 
"xulrunner-10.0.12-1.el5_9.x86_64.rpm" of folder 
"__Download"
} (fixlet 1421) Command succeeded appendfile nspr-4.9.1-6.el5.i386.rpm (fixlet 1421) Command succeeded (Using download manager collected file) download RedHatProtocol:
//nspr-4.9.1-6.el5.i386.rpm (fixlet 1421) Command succeeded (evaluated 

true) 

continue 

if 
{(size of it = 124819 AND sha1 of it = 
"3d4557b5103d22c84c58e7e55dc745c0cbc52086") of file 
"nspr-4.9.1-6.el5.i386.rpm" of folder 
"__Download"
} (fixlet 1421) Command started - wait rpm -U  __Download/xulrunner-devel-10.0.12-1.el5_9.i386.rpm __Download/firefox-10.0.12-1.el5_9.x86_64.rpm __Download/gnome-vfs2-devel-2.16.2-10.el5.x86_64.rpm __Download/xulrunner-devel-10.0.12-1.el5_9.x86_64.rpm __Download/firefox-10.0.12-1.el5_9.i386.rpm __Download/gnome-vfs2-2.16.2-10.el5.x86_64.rpm __Download/nss-devel-3.13.5-8.el5.x86_64.rpm __Download/xulrunner-10.0.12-1.el5_9.i386.rpm __Download/nspr-devel-4.9.1-6.el5.x86_64.rpm __Download/nss-3.13.5-8.el5.x86_64.rpm __Download/gtk2-devel-2.10.4-29.el5.x86_64.rpm __Download/e2fsprogs-libs-1.39-35.el5.x86_64.rpm __Download/zlib-devel-1.2.3-7.el5.x86_64.rpm __Download/e2fsprogs-devel-1.39-35.el5.x86_64.rpm __Download/zlib-1.2.3-7.el5.x86_64.rpm __Download/gtk2-2.10.4-29.el5.x86_64.rpm __Download/xulrunner-10.0.12-1.el5_9.x86_64.rpm __Download/nspr-4.9.1-6.el5.i386.rpm (fixlet 1421) Waiting 

for rpm completion. wait rpm -U 
{concatenation 
" __Download/" of lines of file 
"__appendfile"
} (fixlet 1421) At 13:36:59 +0530 - Report posted successfully. At 13:36:59 +0530 - actionsite (http:
//<Server>:52311/cgi-bin/bfgather.exe/actionsite) *Command succeeded (Exit Code=18)* wait rpm -U  __Download/xulrunner-devel-10.0.12-1.el5_9.i386.rpm __Download/firefox-10.0.12-1.el5_9.x86_64.rpm __Download/gnome-vfs2-devel-2.16.2-10.el5.x86_64.rpm __Download/xulrunner-devel-10.0.12-1.el5_9.x86_64.rpm __Download/firefox-10.0.12-1.el5_9.i386.rpm __Download/gnome-vfs2-2.16.2-10.el5.x86_64.rpm __Download/nss-devel-3.13.5-8.el5.x86_64.rpm __Download/xulrunner-10.0.12-1.el5_9.i386.rpm __Download/nspr-devel-4.9.1-6.el5.x86_64.rpm __Download/nss-3.13.5-8.el5.x86_64.rpm __Download/gtk2-devel-2.10.4-29.el5.x86_64.rpm __Download/e2fsprogs-libs-1.39-35.el5.x86_64.rpm __Download/zlib-devel-1.2.3-7.el5.x86_64.rpm __Download/e2fsprogs-devel-1.39-35.el5.x86_64.rpm __Download/zlib-1.2.3-7.el5.x86_64.rpm __Download/gtk2-2.10.4-29.el5.x86_64.rpm __Download/xulrunner-10.0.12-1.el5_9.x86_64.rpm __Download/nspr-4.9.1-6.el5.i386.rpm (fixlet 1421) At 13:37:01 +0530 - ActionLogMessage: (action 1421) ending action At 13:37:01 +0530 - actionsite (http:
//<Server>:52311/cgi-bin/bfgather.exe/actionsite) Not Relevant - RHSA-2013:0144 - Firefox Security Update - Red Hat Enterprise 5.0 (x86_64) (Superseded) (fixlet:1421)

Fixlet becomes Not Relevant, but the rpms are never upgraded.

(imported comment written by SystemAdmin)

I don’t know if it’s a factor, but I’m curious as to why you’re installing a superseded patch. Maybe it was superseded because

it doesn’t install correctly or there are other issues that cause a problem, hence releasing a later version of the patch/fixlet

to resolve them?

-Jim

(imported comment written by AvijitPatra)

Jim,

It is same for a non superseded patch. Just the exit code changes (to the number of rpm attempted for upgrade)

Waiting 

for rpm completion. wait rpm -U 
{concatenation 
" __Download/" of lines of file 
"__appendfile"
} (fixlet 1433) At 16:48:57 +0530 - actionsite (http:
//<Server>:52311/cgi-bin/bfgather.exe/actionsite) Command succeeded (Exit Code=5) wait rpm -U  __Download/freetype-2.2.1-32.el5_9.1.i386.rpm __Download/freetype-devel-2.2.1-32.el5_9.1.x86_64.rpm __Download/zlib-devel-1.2.3-7.el5.x86_64.rpm __Download/zlib-1.2.3-7.el5.x86_64.rpm __Download/freetype-2.2.1-32.el5_9.1.x86_64.rpm (fixlet 1433) At 16:48:58 +0530 - ActionLogMessage: (action 1433) ending action At 16:48:59 +0530 - actionsite (http:
//<Server>:52311/cgi-bin/bfgather.exe/actionsite) Not Relevant - RHSA-2013:0216 - Freetype Security Update - Red Hat Enterprise 5.0 (x86_64) (fixlet:1433)

Going to try manually to upgrade these by placing all these in a same directory and trying to see the outcome of “rpm -U *.rpm”.