Technical article 118708

How do I find and install the OSRcompat 7.1.1b package onto my OpenServer 5 system?

OpenServer 5.0.5OpenServer 5.0.6OpenServer 5.0.7

Written · Last revised

Problem

The latest version of OSRcompat that I can find on CD or on the ftp
servers is 7.1.1.  How do I find and install the OSRcompat 7.1.1b
package onto my OpenServer 5 system?

Solution

1. Point your browser to
https://ftp.scoexpert.com/download/405-000-000DL/udkfs.image.Z

to download the UnixWare and OpenServer Development Kit Feature Supplement 7.1.1b

2. Assuming you have copied the image to /tmp/udkfs.image.Z then install it using:

zcat /tmp/udkfs.image.Z | pkgadd -d - OSRcompat
3. The command
pkginfo -l OSRcompat

should show that it is fully installed.

You do not need to enter a license to install the OSRcompat package.

NOTES:    OSRcompat 7.1.1b only supports OpenServer 5.0.6 and 5.0.5.

The "Binary Compatibility Module 7.1.1 for SCO OpenServer (for UDK Compatibility)" also on the Download site is an earlier version.

NOTES:    Before applying the package it is recommended to remove any existing
          versions first.  This has seen to be a problem for servers configured
          in the French locale.
You may see:

executing preremove script /usr/adm/pkg/OSRcompat/install/preremove: test: unknown operator 3.2v5.0.4 pkgremove: error: preremove script was not successful Removal of <OSRcompat> failed

A "pkginfo -l" shows OSRcompat:
status partially installed.

Follow the steps below to remove the existing version prior to a upgrade:

1)  Within "custom" we need to remove the current UDK references in
    "custom".
2)  As the pkgrm isn't working then there must be some corruption
    present.

Rather than simply removing UDK we should just rename it first:

# mv /udk /udk.old

Move the OSRcompat package manually out of the way:

# mkdir -p /local/tmp/usr/adm/pkg
# mv /usr/adm/pkg/OSRcompat /local/tmp/usr/adm/pkg/OSRcompat

The above is linked to /var/adm but we will need to:

# cp /var/adm/install/contents /local/tmp

Manually edit the file and remove all the UDK and OSRcompat references using your favorite editor.

This is effectively what pkgrm does so it shouldn't be listed in "pkginfo -l".

3)  Once you have remove the package and the custom entry then you
    should be able to add the latest OSRcompat as above.
4)  Assuming this then works fine, then we will need to remove the
    copies that we made previously in step 2 to get back the disk
    space.

We can also use the following script to identify what files belong to what packages should the need arise:

#!/bin/ksh
# @(#) displays pkgname a given file (pattern) comes from
# pkgchk -l -p  also works (except for symlinks)
[ $# = 0 ] && {
    p=$(basename $0)
    print -u2 $"$p - displays pkgname a file comes from\nusage: $p
pathnamePattern"
    exit 1
}
f=$1
#display first and last field, fields space separated
iF="/var/sadm/install/contents"
[ -f $iF ] || iF="/var/adm/install/contents"
grep $f $iF | sed 's/\(.[^ ]\) .* \(.*\)$/\1 \2/'
NOTE:   For example, to load the latest UDK onto an OpenServer 5.0.6 server to
        run Java 1.3.1_20:

I notice that the 5.0.7 Media Kit has a later UW7.1.4 UDK in it.

So:
# mount /dev/cd0 /mnt
# pkgadd -d /mnt OSRcompat

And selected the UDK Compatibility Module from N to Y

# pkgadd -d /mnt uwrfonts

The JRE for 1.3.1_20 is in VOLUME format which differs from the Release Note instructions and can be installed via "custom".

From the Xinuos technical article database, record 118708. Reproduced with permission. The original is at www.sco.com/ta/118708, 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.