Upgrade to SP8 fails on package ca-cs-utils-11.2.16336-0000.i386.rpm
search cancel

Upgrade to SP8 fails on package ca-cs-utils-11.2.16336-0000.i386.rpm

book

Article ID: 190835

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent CA Workload Automation AE

Issue/Introduction

Upgrade of SP7Cum1 to SP8 fails with following error message in the CAWorkloadAutomationAE.update_27042020 log

16:24:13 Installation product "ca-cs-utils", version "11.2.16336.0"
===================================================================
error: open of --percent failed: No such file or directory
error: open of --prefix failed: No such file or directory
error: /home/logiciel/CA/SharedComponents: not an rpm package (or package manifest): 
Script or command "rpm -i "/media/autosys_upgrade/Linux/CCS/RPM/ca-cs-utils-11.2.16336-0000.i386.rpm"" failed with exit code 3.
Reason:  The script or command encountered a problem.
Action:  Find further details in the installation log file
  /home/logiciel/CA/SharedComponents/installer/log/CAWorkloadAutomationAE.log.
16:24:14 
Terminating install. Reverting changes.
16:24:15 Job executed with error: 7

Environment

Release : 11.3.6

Component : CA Workload Automation AE (AutoSys)

Cause

Installation and/or upgrade process makes usage of rpm command.

When installing the product in another location than the default option (= /opt/CA) then it will add --prefix with the new location you gave during installation time on the rpm commands that are being executed.
The process adds --prefix and --percent at the end of the rpm command. Rpm command fails recognizing these parameters. When these parameters are defined before the package name, then rpm recognizes the parameters and rpm installation will succeed.

The root cause is related to following environmental variable POSIXLY_CORRECT being set to 1.
When this is the case, this variable forces to respect the POSIX formats which is more stricted than the GNU format allowing to put the options in any order.

This environmental variable is set in $CASHCOMP/CADirectory/.dxprofile.

Resolution

unset POSIXLY_CORRECT

Relaunch installation or upgrade process.