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 mkisoNOTE: 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.isoThis 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 /mntMount 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 /mntOnce mounted, install patchck using:/mnt/install.shThis 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/packagesNOTE: 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=cdrecordTA126125 - What is `patchck` - the patch management tool?