<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: cleanup command. HP-UX patch cleanup utility in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-command-hp-ux-patch-cleanup-utility/m-p/2531724#M25283</link>
    <description>Isn't cleanup only available as a Patch which you have to download and install seperately.&lt;BR /&gt;&lt;BR /&gt;Of course i might be wrong, but i would check the available patches first.&lt;BR /&gt;&lt;BR /&gt;Stefan</description>
    <pubDate>Wed, 23 May 2001 07:58:34 GMT</pubDate>
    <dc:creator>Stefan Schulz</dc:creator>
    <dc:date>2001-05-23T07:58:34Z</dc:date>
    <item>
      <title>cleanup command. HP-UX patch cleanup utility</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-command-hp-ux-patch-cleanup-utility/m-p/2531723#M25282</link>
      <description>Why this command is not with HP-UX 11.11? Is there a command that replace it?&lt;BR /&gt;Thanks &amp;amp; Good fish (for points)</description>
      <pubDate>Wed, 23 May 2001 06:34:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-command-hp-ux-patch-cleanup-utility/m-p/2531723#M25282</guid>
      <dc:creator>Manuel P. Ron</dc:creator>
      <dc:date>2001-05-23T06:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: cleanup command. HP-UX patch cleanup utility</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-command-hp-ux-patch-cleanup-utility/m-p/2531724#M25283</link>
      <description>Isn't cleanup only available as a Patch which you have to download and install seperately.&lt;BR /&gt;&lt;BR /&gt;Of course i might be wrong, but i would check the available patches first.&lt;BR /&gt;&lt;BR /&gt;Stefan</description>
      <pubDate>Wed, 23 May 2001 07:58:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-command-hp-ux-patch-cleanup-utility/m-p/2531724#M25283</guid>
      <dc:creator>Stefan Schulz</dc:creator>
      <dc:date>2001-05-23T07:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: cleanup command. HP-UX patch cleanup utility</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-command-hp-ux-patch-cleanup-utility/m-p/2531725#M25284</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;i check for a until in 11.11 to clean up patches like cleanup but i think there isnt .&lt;BR /&gt;&lt;BR /&gt;i check all the docs that i have and also the sys_admin for 11.11 and there isnt any docs .&lt;BR /&gt;&lt;BR /&gt;in 11.00 you need to install patch phco_19550 to have the option to use cleanup but i tried also to find a patch in 11.11 that will do it &lt;BR /&gt;didnt found .&lt;BR /&gt;&lt;BR /&gt;think that you have found a bug in the 11.11 &lt;BR /&gt;&lt;BR /&gt;i m giving you a less nice way to cleanup patches ( i know that there isnt a lot of patches in 11.11 ) &lt;BR /&gt;&lt;BR /&gt;here is it : &lt;BR /&gt;To remove all superseded patch files from /var/adm/sw/save:&lt;BR /&gt;&lt;BR /&gt;     1. View the list of superseded patches:&lt;BR /&gt;&lt;BR /&gt;        swlist -l patch -a patch_state |grep superseded &amp;gt; /tmp/file&lt;BR /&gt;&lt;BR /&gt;     2. Modify /tmp/file (via vi, awk, or cut commands):&lt;BR /&gt;&lt;BR /&gt;        A.  Remove all lines except each PHXX.XXXXX listed only once.&lt;BR /&gt;&lt;BR /&gt;        B.  Remove the # in front of the PHXX.XXXXX.&lt;BR /&gt;&lt;BR /&gt;        C.  Replace everything after the PHXX_XXXXX with .*&lt;BR /&gt;&lt;BR /&gt;            For example, after you edit the edit, the file should look&lt;BR /&gt;            similar to the following:&lt;BR /&gt;&lt;BR /&gt;     # more /tmp/file&lt;BR /&gt;            PHCO_13811.*&lt;BR /&gt;            PHCO_16345.*&lt;BR /&gt;&lt;BR /&gt;     3. Commit the patches:&lt;BR /&gt;&lt;BR /&gt;        swmodify -x patch_commit=true -f /tmp/file&lt;BR /&gt;&lt;BR /&gt;        --OR--&lt;BR /&gt;&lt;BR /&gt;        Remove a single patch.&lt;BR /&gt;&lt;BR /&gt;        This is an example of removing superseded patch  [PHCO_16405/PACHRDME/English] :&lt;BR /&gt;&lt;BR /&gt;        A.  Execute the swlist -l patch -a patch_state |grep 16405&lt;BR /&gt;            command to produce this output:&lt;BR /&gt;&lt;BR /&gt;        PHCO_16405.ADMN-ENG-A-MAN,l=/,r=1.0,a=HP-UX_B.11.00_32/64,&lt;BR /&gt;                v=HP,fa=HP-UX_B.11.00_32/64 superseded&lt;BR /&gt;&lt;BR /&gt;        PHCO_16405.SYS-ADMIN,l=/,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,&lt;BR /&gt;                fa=HP-UX_B.11.00_32/64 superseded&lt;BR /&gt;&lt;BR /&gt;        PHCO_16405.UX-CORE,l=/,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,&lt;BR /&gt;                fa=HP-UX_B.11.00_32/64  superseded&lt;BR /&gt;&lt;BR /&gt;        #PHCO_16405&lt;BR /&gt;        #PHCO_16405.ADMN-ENG-A-MAN superseded&lt;BR /&gt;        #PHCO_16405.SYS-ADMIN superseded&lt;BR /&gt;        #PHCO_16405.UX-CORE superseded&lt;BR /&gt;&lt;BR /&gt;        B.  Execute swmodify -x patch_commit=true PHCO_16405.*&lt;BR /&gt;            to change the patch_state to committed, as can be seen with&lt;BR /&gt;            the swlist command:&lt;BR /&gt;&lt;BR /&gt;            swlist -l patch -a patch_state | grep 16405&lt;BR /&gt;&lt;BR /&gt;            PHCO_16405.ADMN-ENG-A-MAN,l=/,r=1.0,a=HP-UX_B.11.00_32/64,&lt;BR /&gt;                  v=HP,fa=HP-UX_B.11.00_32/64committed&lt;BR /&gt;            PHCO_16405.SYS-ADMIN,l=/,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,&lt;BR /&gt;                  fa=HP-UX_B.11.00_32/64 committed&lt;BR /&gt;            PHCO_16405.UX-CORE,l=/,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,&lt;BR /&gt;                  fa=HP-UX_B.11.00_32/64 committed&lt;BR /&gt;            #PHCO_16405&lt;BR /&gt;            #PHCO_16405.ADMN-ENG-A-MAN committed&lt;BR /&gt;            #PHCO_16405.SYS-ADMIN committed&lt;BR /&gt;            #PHCO_16405.UX-CORE committed&lt;BR /&gt;&lt;BR /&gt;After the swmodify command is issued, the entire directory&lt;BR /&gt;/var/adm/sw/save/PHCO_16405 no longer exists, which explains why the&lt;BR /&gt;system can never be rolled back to that patch.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 May 2001 08:05:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-command-hp-ux-patch-cleanup-utility/m-p/2531725#M25284</guid>
      <dc:creator>eran maor</dc:creator>
      <dc:date>2001-05-23T08:05:38Z</dc:date>
    </item>
  </channel>
</rss>

