UPDATE SUMMARY Re: unique patch-ID's?

From: Timo Aaltonen (tjaalton@cc.hut.fi)
Date: Wed Sep 11 2002 - 07:56:33 EDT


> Thanks, John Jorgensen, Yaacov Fenster and Bob Vickers for your answers.
>
>
> It seems that the documentation is not up to date.. The patch-ID's are
> unique, if you realize that in batch mode the patch-ID should use the
> notation Cxxxx.yy, not plain xxxx.yy.
>
> something like:
>
> "setld -i | grep OSFPATC | grep -v not | sed -e 's/OSFPATC0/C/' | sed -e \
> 's/[0-9][0-9]520.*//' | gsed -e ':a;N;$!ba;s/\n/ /g'"
>
> should do the trick in getting the ID's on one line in 5.1A (easy to put
> in the dupatch-datafile)...
>
> so, at least the man-page of dupatch should be updated, and possibly also
> the manual at
> http://www.tru64unix.compaq.com/docs/patch/install/HTML/TITLE.HTM
>
> the latter should contain instructions using dupatch not only
> interactively, but also in batch mode (Hompaq, you listening?-) )

It seems that even if I specify the 'C' in patch-ID's to be removed, it
still deletes release-patches:

/var/adm/patch/log/session.log.x:

Wed Sep 11 13:59:34 EEST 2002
DUPATCH_REV>36-01
CUR_DIR>/
CMDLINE>/tmp/root/patch_kit/dupatch -delete -data
/root/PATCHES_TO_BE_REMOVED
DATAFILE># generated by patchme
># for Customer Specific Patch-removal
>name = Mr A. B. Force
>note = automagic
>product = TRU64_UNIX_V5.1A
>patch = C437 C446 C482 C483 C484 C493 C494 C495 C496 C497 C499 C527
C536 C537 C538 C541 C542
 C543 C544 C547 C549
>proceed
.
.
   *** You have selected 24 patches ***
-------------------------------------------------------------------------

 - Tru64_UNIX_V5.1A / Security Related Patches:
        Patch 00446.00 - Security (SSRT1-40U, SSRT1-41U, SSRT1-42U,
SSRT1-45U)

can not be deleted unless the following patches are also selected or
deleted first:

 - Tru64_UNIX_V5.1A / Security Related Patches:
        Patch 00716.00 - Security (SSRT1-40U, SSRT1-41U, SSRT1-42U,
SSRT1-45U)

-------------------------------------------------------------------------
-------------------------------------------------------------------------

 - Tru64_UNIX_V5.1A / Security Related Patches:
        Patch 00527.00 - Security (SSRT0779U)

can not be deleted unless the following patches are also selected or
deleted first:

 - Tru64_UNIX_V5.1A / Security Related Patches:
        Patch 00525.00 - Security (SSRT0779U)

-------------------------------------------------------------------------

   * The following 2 patch(es) failed in pre-deletion check:

 - Tru64_UNIX_V5.1A / Security Related Patches:
        Patch 00446.00 - Security (SSRT1-40U, SSRT1-41U, SSRT1-42U,
SSRT1-45U)
        Patch 00527.00 - Security (SSRT0779U)

Checking patch dependency once more...
  (depending upon the number of patches you select, this may take awhile)

   *** You have selected 22 patches ***
.
.
etc.

t:T
_______________/Timo Aaltonen <http://www.hut.fi/~tjaalton>
Work: HUT-Computing Centre - UNIX, GSM +358-40-5549 618



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:52 EDT