Problem
Attempting to install Support Level Supplement (SLS) OSS495A, the OSRcompat Patch, using the command:
# pkgadd -d /tmp/oss495aresults in the error message:ERROR: oss495 - OSRcompat Supplement is intended for SCO OpenServer Release 5 systems. It cannot be installed on other systems.
Press enter to quit...
pkgadd: ERROR: request script did not complete successfullyInstallation of <oss495> failed. No changes were made to the system.
Cause
pkgadd(ADM) examines the output from "uname -v" and compares it
with the UWVERS variable in the package datastream to determine
if this SLS should be installed on this release of the operating
system. The package datastream has the value of UWVERS set to 2. Solution
This problem has been fixed in Support Level Supplement (SLS) OSS495c.
If needed, a workaround is to follow these instructions:
# cd /bin
# mv uname uname.origCreate the file /bin/uname with the following contents:
:
if [ %$1 = %"-v" ]
then
echo 2
else
exec /bin/uname.orig $*
fi# chmod +x unameCheck that the 'uname' shell script is working properly by executing:
# uname -v
2
# uname
SCO_SVInstall oss495a using pkgadd(ADM)# mv uname uname.sh
# mv uname.orig uname See also
ta109861, "What problems are addressed by OSS495C, the UDK Compatibility Module Supplement, and how is it installed?"