Technical article 109783

SLS OSS495A fails to install on SCO OpenServer 5.0.5.

OpenServer 5.0.5

Written · Last revised

Problem

Attempting to install Support Level Supplement (SLS) OSS495A, the OSRcompat Patch, using the command:

# pkgadd -d /tmp/oss495a
results 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 successfully

Installation 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.orig

Create the file /bin/uname with the following contents:

:
if [ %$1 = %"-v" ]
then
        echo 2
else
        exec /bin/uname.orig $*
fi
# chmod +x uname

Check that the 'uname' shell script is working properly by executing:

# uname -v
2
# uname
SCO_SV
Install 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?"

From the Xinuos technical article database, record 109783. Reproduced with permission. The original is at www.sco.com/ta/109783, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.