<?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 cant swremove in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-swremove/m-p/2440326#M7116</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;ive got an entry showing in swlist (10.20) but I cant seem to be able to swremove it. It simply says ERROR without any reason why. Is there a way to forceably remove it ?</description>
    <pubDate>Mon, 28 Aug 2000 06:10:25 GMT</pubDate>
    <dc:creator>Michael Dalanek</dc:creator>
    <dc:date>2000-08-28T06:10:25Z</dc:date>
    <item>
      <title>cant swremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-swremove/m-p/2440326#M7116</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;ive got an entry showing in swlist (10.20) but I cant seem to be able to swremove it. It simply says ERROR without any reason why. Is there a way to forceably remove it ?</description>
      <pubDate>Mon, 28 Aug 2000 06:10:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-swremove/m-p/2440326#M7116</guid>
      <dc:creator>Michael Dalanek</dc:creator>
      <dc:date>2000-08-28T06:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: cant swremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-swremove/m-p/2440327#M7117</link>
      <description>&lt;BR /&gt;Try swremove &lt;PRODUCT&gt;.    Thats a fullstop/period at the end of the product/bundle/fileset, eg;  trying to remove a patch;&lt;BR /&gt;&lt;BR /&gt;swremove PHKL_xxxx. &lt;BR /&gt;&lt;BR /&gt;This will remove the entry from the IPD but wont actually remove any files.&lt;/PRODUCT&gt;</description>
      <pubDate>Mon, 28 Aug 2000 06:21:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-swremove/m-p/2440327#M7117</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2000-08-28T06:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: cant swremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-swremove/m-p/2440328#M7118</link>
      <description>Michael,&lt;BR /&gt;&lt;BR /&gt;You can manually remove the entry by editing the IPD INDEX file using vi.  The IPD INDEX file is /var/adm/sw/products/INDEX.  This is true for 10.X as well as 11.0.  To remove the entry from the file, edit it with vi or some other editor.  Then search for the line&lt;BR /&gt;&lt;BR /&gt;tag patch_name where patch name is the name of your patch.  For example, if you are searching for patch PHSS_10000, then you would search for&lt;BR /&gt;&lt;BR /&gt;tag PHSS_10000&lt;BR /&gt;&lt;BR /&gt;When you find this line, the line immediately preceeding it should be&lt;BR /&gt;&lt;BR /&gt;product&lt;BR /&gt;&lt;BR /&gt;so you should have the following two lines&lt;BR /&gt;&lt;BR /&gt;product&lt;BR /&gt;tag PHSS_10000&lt;BR /&gt;&lt;BR /&gt;Start removing lines starting at product until the next product line.  DO NOT REMOVE the next product line.&lt;BR /&gt;&lt;BR /&gt;Be very, very careful if you edit the INDEX file, you can easily hose the IPD.  I would save a copy of the INDEX before editing it.&lt;BR /&gt;&lt;BR /&gt;After editing the IPD, remove the directory and all subdirectories and files with the name of the patch in /var/adm/sw/products.  Do this as well in /var/adm/sw/patch in 10.20 or /var/adm/sw/save in 11.0.  The patch directory is where the restore files are saved and are restored when you do an swremove.  Actually, you may want to move the files saved in the patch directory back before removing the directory structure.  Keep in mind that if any unconfigurations would be done with a swremove, you will not have that done with this procedure.  You could look through /var/adm/sw/products/patch_name at the scripts if there are any for each fileset.  You can run these your self if you want.  These are the scripts swremove runs.&lt;BR /&gt;It runs the scripts in this order for each fileset:&lt;BR /&gt;&lt;BR /&gt;checkremove&lt;BR /&gt;unconfigure&lt;BR /&gt;preremove&lt;BR /&gt;postremove&lt;BR /&gt;&lt;BR /&gt;Some or none of theses scripts may exist under each fileset.&lt;BR /&gt;&lt;BR /&gt;Do not run the install scripts.  These are the scrips swinstall runs.&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Aug 2000 12:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-swremove/m-p/2440328#M7118</guid>
      <dc:creator>Doug Sperle</dc:creator>
      <dc:date>2000-08-30T12:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: cant swremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-swremove/m-p/2440329#M7119</link>
      <description>Try cleanup -i, this will remove all superseeded patches from the IPD.</description>
      <pubDate>Wed, 30 Aug 2000 12:40:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-swremove/m-p/2440329#M7119</guid>
      <dc:creator>Tracey</dc:creator>
      <dc:date>2000-08-30T12:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: cant swremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-swremove/m-p/2440330#M7120</link>
      <description>Check /var/adm/sw/products and if it is &lt;BR /&gt;not listed there, the index may be corrupted, try:&lt;BR /&gt;swmodify -u PHxx_xxxxx.*&lt;BR /&gt;(replace the x's with the appropriate&lt;BR /&gt;patch number of course)that should clean&lt;BR /&gt;up the mismatch between swlist and swremove.&lt;BR /&gt;&lt;BR /&gt;S.</description>
      <pubDate>Wed, 30 Aug 2000 16:33:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-swremove/m-p/2440330#M7120</guid>
      <dc:creator>alberto vasquez</dc:creator>
      <dc:date>2000-08-30T16:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: cant swremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-swremove/m-p/2440331#M7121</link>
      <description>Check /var/adm/sw/products and if it is &lt;BR /&gt;not listed there, the index may be corrupted, try:&lt;BR /&gt;swmodify -u PHxx_xxxxx.*&lt;BR /&gt;(replace the x's with the appropriate&lt;BR /&gt;patch number of course)that should clean&lt;BR /&gt;up the mismatch between swlist and swremove.&lt;BR /&gt;&lt;BR /&gt;S.</description>
      <pubDate>Wed, 30 Aug 2000 16:33:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-swremove/m-p/2440331#M7121</guid>
      <dc:creator>alberto vasquez</dc:creator>
      <dc:date>2000-08-30T16:33:22Z</dc:date>
    </item>
  </channel>
</rss>

