DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

patchck(ADM)


patchck -- check patch status, download and install patches and packages

Syntax

patchck

patchck auto

patchck check

patchck clear

patchck develop

patchck download [all|uw7|osr5|osr6]

patchck logs [prev|{VERSION_STAMP}]

patchck missing

patchck update

patchck offline[/path/to/packages/]

patchck mkiso

patchck version

patchck [-u|-o|-s]

patchck skunkware

patchck list

patchck PACKAGE PACKAGE PACKAGE ...

Description

Without any options, patchck will provide a list of installed patches and checks that list against the static patch list that came with the utility. If any patches are missing then a download menu is provided. If any patches are downloaded then an install menu is provided. And after the install phase the user is prompted to clean-up any of the downloaded patches.

patchck accepts the following options:


auto
missing patches are downloaded and installed without user interaction. NOTE: Not all patches can be auto installed


check
only the check phase is done, providing a list of installed and missing patches


clear
provides a menu to remove previously downloaded patches


develop
include development packages, same as --dev or setting INSTALLDEV=Y


download [all|uw7|osr5|osr6]
download packages even if they are already installed.

with no sub-option downloads all of the patches in the patchlist for release of the running system.

all - all patches in each patchlist for all releases and versions will be downloaded

uw7|osr5|osr6 - download the patches from the patchlist for all versions of the specified platform


logs [prev|{VERSION_STAMP}]
displays the most recent patchck logs from /var/spool/patchck/logs

prev - will display all of the previous logs for the current version of patchck

VERSION_STAMP - will display all of the logs for a specific version of patchck from /var/spool/patchck/logs


missing
the check phase is done, providing a list missing patches only


update
check for a newer version of patchck


offline
install packages from /var/spool/patchck/offline, if path not provided


offline [/path/to/packages/]
install packages from provided path


mkiso
builds an ISO image with all available packages for running release, suitable for installation on offline system of the same release

ISO images created in /var/spool/patchck


version
displays the current version information


-u
self-update to the latest version of patchck


-o
include optional patches even if INSTALLOPT is not set


--dev
include development patches even if INSTALLDEV is not set


-s
include security patches even if INSTALLSEC is not set


skunkware
provide a list of skunkware packages available for install


list
list packages maintained by this version of patchck


PACKAGE PACKAGE PACKAGE ...
automatically download and install packages listed

patchck creates and uses these directories on your system:
/var/spool/patchck/logs-location of log files
/var/spool/patchck/downloads/-patch download area
/var/spool/patchck/READMEs/-patch readme files
/usr/lib/patchck.d-config,sample files and utils
/usr/lib/patchck.d/patchlists-patchlist directory

Envirnment Variables

These variables can be set in /usr/lib/patchck.d/patchck.conf or in a system specific config file, named
/usr/lib/patchck.d/`uname -n`.patchck.conf

SELFUPDATE=[N|Y]
When enabled patchck will try to update itself before checking for missing patchces. This is enabled by default. (-u)

INSTALLOPT=[N|Y]
When enabled patchck will install patches marked as optional (-o)

INSTALLDEV=[N|Y]
When enabled patchck will install patches marked as development (--dev)

INSTALLSEC=[N|Y]
When enabled patchck will install the latest security fixes (-s)

INSTALL_DEPENDENCIES=[Y|N]
When enabled patchck will download any dependent packages not chosen by the user. This is enabled by default.

USE_CURL=[N|Y]
When enabled patchck will use curl to download instead of ftp. This will still use the ftp protocol unless CURL_HTTP is also set.

CURL_HTTP=[N|Y]
When enabled patchck will download packages over http via curl. This is helpful if your firewall blocks ftp traffic.

GETREADMES=[N|Y]
When enabled patchck will download any readme files that are associated with the patch.

SHOWREADME=[N|Y]
When enabled patchck will display any downloaded readme files before installing the patch.

CLEAR_DOWNLOADS=[N|Y]
If set to N, patches are not removed from the download area

MAIL_LOGS=[ALL|ERR]
ALL - email all logs to the address specified in MAIL_LOGS_TO
ERR - email all logs to the address specified in MAIL_LOGS_TO only if errors were encountered

MAIL_LOGS_TO=email@domain.com
email address that logs are sent to when MAIL_LOGS is also set

FTPmirror=123.123.123.123
Set an optional mirror IP address for downloading patches

FTPmirrorPath=/pub/mirror
Set root path for FTP mirror

SKUNKmirror=123.123.123.123
Set an optional mirror IP address for downloading skunkware packages

SKUNKmirrorPath=/pub/mirror/skunkware
Set root path for skunkware mirror

An additional system specific config file can be used, and will be read in if named /usr/lib/patchck.d/{NODENAME}.patchck.conf. This has the advantage of not being overwritten when updating patchck.

Disclaimer

patchck checks the currently installed Base OS patches against a static list of ESSENTIAL BASE OS PATCHES ONLY, This version of patchck is using a static list dated from the time that it was initially downloaded.

The latest version of patchck is available at: ftp://ftpput.sco.com/pub/tools/patchck.tar.Z

You should always use the most recent version, and to avoid the use of stale copies, patchck has a 4 month expiration.

patchck does not check for outdated drivers which could also be available for your system.

Check the Support Downloads page at:

http://www.sco.com/support/update/download/

for more current information on Patches, Drivers and other packages available for your system.

Limitations

In order to be able to download patches from ftp://ftp.sco.com/, the system needs to be connected to the internet with the ability to ftp out through any firewalls.

The system needs to have space available and meet any other requirements that the patches normally require. For more information about the patches check the Downloads page at:

http://www.sco.com/support/update/download/


© 2014 Xinuos, Inc. All rights reserved.