<?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: Patch removal problems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/patch-removal-problems/m-p/2415741#M764640</link>
    <description>The easiest way is probably to free up a little space in /var/adm/sw/patch, &lt;BR /&gt;remove the PATCH_NOSAVE file, reinstall the patch (reinstall_filesets = true) &lt;BR /&gt;and then remove it.</description>
    <pubDate>Mon, 01 Nov 1999 10:19:38 GMT</pubDate>
    <dc:creator>Alan Riggs_1</dc:creator>
    <dc:date>1999-11-01T10:19:38Z</dc:date>
    <item>
      <title>Patch removal problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/patch-removal-problems/m-p/2415740#M764639</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I've patched my HP-UX 10-20 to up_to_date.&lt;BR /&gt;Because of lack of free diskspace I touched file &lt;BR /&gt;/var/adm/sw/patch/PATCH_NOSAVE.&lt;BR /&gt;The installed patches are not saved in '/var/adm/sw/patch/'&lt;BR /&gt;Since there is a recall for this patch 'PHKL_20057', i tried to uninstall this &lt;BR /&gt;one.&lt;BR /&gt;The error as mentioned below popped up, but does that mean that I'll keep this &lt;BR /&gt;patch&lt;BR /&gt;in length of years?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;x x ERROR:   Couldn't locate &lt;BR /&gt;'/var/adm/sw/patch/PHKL_20057/usr/conf/lib/rw_lock.o'.  x&lt;BR /&gt;x x          Since the file wasn't saved, the patch &lt;BR /&gt;'PHKL_20057'                     x&lt;BR /&gt;x x          cannot be backed off of the &lt;BR /&gt;system.                                     x&lt;BR /&gt;x x ERROR:   The "checkremove" script for "PHKL_20057" failed (exit &lt;BR /&gt;code             x&lt;BR /&gt;x x          "1"). The script location &lt;BR /&gt;was                                           x&lt;BR /&gt;x x          &lt;BR /&gt;"/var/adm/sw/products/PHKL_20057/pfiles/checkremove".                   x&lt;BR /&gt;x x        * This script had errors and the execution of this &lt;BR /&gt;product                x&lt;BR /&gt;x x          cannot proceed until the problem is fixed.  Check the &lt;BR /&gt;above             x&lt;BR /&gt;x x          output from the script for further &lt;BR /&gt;details.                             x&lt;BR /&gt;x x NOTE:    All filesets in the product &lt;BR /&gt;"PHKL_20057,l=/,r=B.10.00.00.AA"            x&lt;BR /&gt;x x          will be excluded because there was an error in this &lt;BR /&gt;product.            x&lt;BR /&gt;&lt;BR /&gt;My question now is; How to uninstall this patch?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your answer(s)&lt;BR /&gt;&lt;BR /&gt;Please mail to Frits.van.den.Heuvel@rivm.nl&lt;BR /&gt;&lt;BR /&gt;Frits.</description>
      <pubDate>Mon, 01 Nov 1999 03:32:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/patch-removal-problems/m-p/2415740#M764639</guid>
      <dc:creator>Frits VandenHeuvel_1</dc:creator>
      <dc:date>1999-11-01T03:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Patch removal problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/patch-removal-problems/m-p/2415741#M764640</link>
      <description>The easiest way is probably to free up a little space in /var/adm/sw/patch, &lt;BR /&gt;remove the PATCH_NOSAVE file, reinstall the patch (reinstall_filesets = true) &lt;BR /&gt;and then remove it.</description>
      <pubDate>Mon, 01 Nov 1999 10:19:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/patch-removal-problems/m-p/2415741#M764640</guid>
      <dc:creator>Alan Riggs_1</dc:creator>
      <dc:date>1999-11-01T10:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Patch removal problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/patch-removal-problems/m-p/2415742#M764641</link>
      <description>should be reinstall_files=true.  Mea culpa</description>
      <pubDate>Mon, 01 Nov 1999 10:21:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/patch-removal-problems/m-p/2415742#M764641</guid>
      <dc:creator>Alan Riggs_1</dc:creator>
      <dc:date>1999-11-01T10:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Patch removal problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/patch-removal-problems/m-p/2415743#M764642</link>
      <description>Alan,&lt;BR /&gt;&lt;BR /&gt;Thanks for your advice. That's what I tought about earlier too. But since there &lt;BR /&gt;is a recall on patch PHKL_20057 HP has removed it from any system, so I &lt;BR /&gt;couldn't work this out.&lt;BR /&gt;&lt;BR /&gt;Frits</description>
      <pubDate>Mon, 01 Nov 1999 23:42:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/patch-removal-problems/m-p/2415743#M764642</guid>
      <dc:creator>Frits VandenHeuvel_1</dc:creator>
      <dc:date>1999-11-01T23:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Patch removal problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/patch-removal-problems/m-p/2415744#M764643</link>
      <description>The problem I see with Alan's suggestion is that when&lt;BR /&gt;a patch is installed the files that are going to be modified are stored in &lt;BR /&gt;/var/adm/sw/patch/&lt;PATCH name=""&gt;.&lt;BR /&gt;The purpose for this is to have the original files should the patch need to be &lt;BR /&gt;removed. When you use the patch nosave option you have discarded the original &lt;BR /&gt;files and when you install the patch now (not using the nosave option) you are &lt;BR /&gt;making a backup of the filesets before the patch is installed (in this case &lt;BR /&gt;they ARE the patched filesets) so when you swremove the&lt;BR /&gt;patch now it doesn't complain but you are actually not&lt;BR /&gt;replacing the filesets with the originals but the ones you saved when you &lt;BR /&gt;reinstalled the patch. You can verify this by using the text of the patch and &lt;BR /&gt;comparing that with a "what" on the file that were patched. Check out the info &lt;BR /&gt;in /usr/share/doc/patch_pgrm.txt (on your system) for more info. A section in &lt;BR /&gt;that doc says:&lt;BR /&gt;&lt;BR /&gt;This directory should be treated with the same care extended any system &lt;BR /&gt;directory.  Files in this directory may be examined at any time, but no&lt;BR /&gt;file in this directory should ever be modified or removed, especially if you &lt;BR /&gt;want to be able to back out patches.&lt;BR /&gt;&lt;BR /&gt;The only "HP-Supported" resolution is for you to reinstall the system, although &lt;BR /&gt;you may be able to install the patch on a system that has not had the patch &lt;BR /&gt;(the one you want to remove on this system) installed yet, install the patch &lt;BR /&gt;(don't use patch nosave) then retrieve /var/adm/sw/patch/&lt;PATCH name=""&gt;.&lt;BR /&gt;I would never remove anyhing under that directory without having a backup on &lt;BR /&gt;tape.&lt;BR /&gt;&lt;BR /&gt;Stacey&lt;/PATCH&gt;&lt;/PATCH&gt;</description>
      <pubDate>Tue, 02 Nov 1999 07:22:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/patch-removal-problems/m-p/2415744#M764643</guid>
      <dc:creator>Stacey Rippetoe_1</dc:creator>
      <dc:date>1999-11-02T07:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Patch removal problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/patch-removal-problems/m-p/2415745#M764644</link>
      <description>Stacy is correct, the state of /var/adm/sw is crucial here.  I assumed that the &lt;BR /&gt;patch had been superseded, and that you simply wanted to remove the recalled &lt;BR /&gt;patch before applying the new one (to ease future patch maintenance, etc.)  If &lt;BR /&gt;this is not the case, then "removing" the patch, even after you reinstall it, &lt;BR /&gt;will not necessarily solve your problem.  Depending on how critical the patch &lt;BR /&gt;defects are, you may need to get really nuts and bolts here.  Determine what &lt;BR /&gt;files the patch has updated, trace back to the last recommended stable &lt;BR /&gt;configurations for those files.  Cross your fingers, pray to your favorite &lt;BR /&gt;diety, and patch "backward" to ahciev same.  And PLEASE use a test system &lt;BR /&gt;first.</description>
      <pubDate>Tue, 02 Nov 1999 07:48:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/patch-removal-problems/m-p/2415745#M764644</guid>
      <dc:creator>Alan Riggs_1</dc:creator>
      <dc:date>1999-11-02T07:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Patch removal problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/patch-removal-problems/m-p/2415746#M764645</link>
      <description>Looking at all the previous responses, it appears&lt;BR /&gt;that you are just out of luck on removing this particular patch from the &lt;BR /&gt;system, since you no longer have the previous versions of the affected &lt;BR /&gt;filesets.&lt;BR /&gt;Unless I actually have a problem with a particular patch, I do not remove it, &lt;BR /&gt;even if it is recalled.&lt;BR /&gt;I would always like to go forward, rather than backward.  While I am not sure, &lt;BR /&gt;HP has never recalled a patch that does not have a corresponding new version, &lt;BR /&gt;or a re-posting of the previous patch.  I would suggest that the "latest" patch &lt;BR /&gt;referenced in the recall be applied, and go forward.  Since we are talking &lt;BR /&gt;patches here, depending on your disk size,&lt;BR /&gt;we put a mountpoint for /var/adm/sw onto a different&lt;BR /&gt;disk that has space on it.  We patch each system(30+)&lt;BR /&gt;K and V servers at least 3 times a year, and never have&lt;BR /&gt;had to do a patch cleanup.  We have set the /var/adm/sw lv to 1 gig.  You could &lt;BR /&gt;also mount the /var/adm/sw onto a nfs mountpoint, but you have to be careful &lt;BR /&gt;about applying maintenance in a non-documented environment. We have used this &lt;BR /&gt;method on some of our workstations where disk space is limited.</description>
      <pubDate>Thu, 04 Nov 1999 12:43:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/patch-removal-problems/m-p/2415746#M764645</guid>
      <dc:creator>Jeffrey  Huff</dc:creator>
      <dc:date>1999-11-04T12:43:32Z</dc:date>
    </item>
  </channel>
</rss>

