Technical article 127999

Can I use patchck when my system is not connected to the internet?

OpenServer Definitive 2018UnixWare 7 Definitive 2018OpenServer 6UnixWare 7

Written · Last revised

Problem

I have a system which is offline and not connected to the internet, is it possible to use patchck to update this system?

NOTE:     Offline ISOs for Definitive releases now available for download at:
https://download.xinuos.com/patchck/

Solution

There are options in patchck to build an ISO image which includes all available patches for your release, so you can update a system which is not connected to the internet.

The 'mkiso' option will download all patches for your release (even if already installed) and then build an ISO image. This step needs to be performed on a system which is connected to the internet that has enough space (~500MB) to hold all packages.

patchck mkiso
NOTE:     If you want to include skunkware packages, use `patchck skunkware`
          to download those packages, and quit without clearing downloads,
          prior to running `patchck mkiso`.
After all packages are downloaded an ISO image is created in
/var/spool/patchck.  It should report something similar to:
Preparing ISO image /var/spool/patchck/patchck_6D2M1_19110602.iso...
Created ISO image /var/spool/patchck/patchck_6D2M1_19110602.iso

This ISO image can be burned to disc or copied to other media and taken to the offline system.

Once you have this in your offline system, you can either
mount the DVD or `marry` & mount the ISO image.
Mount a DVD on OpenServer:
mount /dev/cd0 /mnt
Mount a DVD on UnixWare:
mount /dev/cdrom/cdrom1 /mnt
-or-
If using the ISO image:
marry -a /tmp/patchck_6D2M1_19110602.iso
mount /dev/marry/tmp/patchck_6D2M1_19110602.iso  /mnt
Once mounted, install patchck using:
/mnt/install.sh

This will install the patchck tool and use the patches stored in the ./packages directory included in the ISO.

If you would like to re-run patchck you can use the syntax:

/etc/patchck offline /mnt/packages
NOTE:     It is important that you use the version of patchck that goes
          with the packages in the ISO, or some updates could be missed.
          This can be accomplished by running /mnt/install.sh again, when
          using a newer ISO image.

See also

http://osr600doc.xinuos.com/cgi-bin/man?mansearchword=cdrecord
TA126125 - What is `patchck` - the patch management tool?

From the Xinuos technical article database, record 127999. Reproduced with permission. The original is at www.sco.com/ta/127999, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

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.