<?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: Bad patch, corrupted software in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-patch-corrupted-software/m-p/3408346#M202111</link>
    <description>swremove will not remove a corrupted patch since a corrupted patch is not "installed" in the first place. swremoving a PHKL is dangerous.&lt;BR /&gt;&lt;BR /&gt;Since the supersede is already installed/configured, simply update the INDEX with swmodify to clean up the reference to the old patch.&lt;BR /&gt;# swmodify -a state=configured -a patch_state=superseded&lt;BR /&gt;PHKL_23853.CORE2-KRN&lt;BR /&gt;&lt;BR /&gt;Just keep in mind for any reason that you uninstall PHKL_29476 that PHKL_23853 will need to be installed again.  But how likely is this to occur?&lt;BR /&gt;&lt;BR /&gt;The other way to address this is if you wanted to learn the source of the corrupted fileset, open up a call to the response center and let them track that down.</description>
    <pubDate>Tue, 26 Oct 2004 14:49:15 GMT</pubDate>
    <dc:creator>Cheryl Griffin</dc:creator>
    <dc:date>2004-10-26T14:49:15Z</dc:date>
    <item>
      <title>Bad patch, corrupted software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-patch-corrupted-software/m-p/3408342#M202107</link>
      <description>Trying to commit patches on a particular machine results in this:&lt;BR /&gt;&lt;BR /&gt;# swmodify -x patch_commit=true '*.*'&lt;BR /&gt;ERROR:   Could not select the software "*.*".  This software is in a&lt;BR /&gt;         corrupt state and is not available for selection.  Corrupt&lt;BR /&gt;         software can be removed with the swremove command, or replaced&lt;BR /&gt;         with the swcopy command.&lt;BR /&gt;&lt;BR /&gt;Find the corrupt item:&lt;BR /&gt;&lt;BR /&gt;swlist -l fileset -a state | grep corrupt&lt;BR /&gt;  PHKL_23853.CORE2-KRN                  corrupt&lt;BR /&gt;&lt;BR /&gt;Unfortunately (or fortunately), the superceding patch PHKL_29476 is also installed.  If I try to swremove the corrupted patch it selects all kinds of dependant patches. &lt;BR /&gt;&lt;BR /&gt;How can I get rid of that one patch without reinstalling the whole OS?&lt;BR /&gt;&lt;BR /&gt;Help appreciated.</description>
      <pubDate>Tue, 26 Oct 2004 13:39:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-patch-corrupted-software/m-p/3408342#M202107</guid>
      <dc:creator>Eric Ladner</dc:creator>
      <dc:date>2004-10-26T13:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Bad patch, corrupted software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-patch-corrupted-software/m-p/3408343#M202108</link>
      <description>swremove -p -x enforce_dependecies=false PHKL_19476&lt;BR /&gt;&lt;BR /&gt;-p is for preview. If the above command runs OK, then run without -p options. Also before doing patch_comit, you may want to have a look at cleanup command.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 26 Oct 2004 13:46:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-patch-corrupted-software/m-p/3408343#M202108</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-10-26T13:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Bad patch, corrupted software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-patch-corrupted-software/m-p/3408344#M202109</link>
      <description>Getting close..  Performing the swremove as you suggested results in this:&lt;BR /&gt;&lt;BR /&gt;       * Beginning Selection&lt;BR /&gt;       * Target connection succeeded for "eseux3:/".&lt;BR /&gt;WARNING: The fileset "PHKL_23853.CORE2-KRN" has been automatically&lt;BR /&gt;         deselected because one or more of the filesets in the patch&lt;BR /&gt;         have been committed or superseded.&lt;BR /&gt;NOTE:    One or more patch filesets were automatically selected or&lt;BR /&gt;         deselected to maintain patch integrity. Please refer to the&lt;BR /&gt;         swremove.log logfile for details.&lt;BR /&gt;ERROR:   Cannot continue the "swremove" task.&lt;BR /&gt;       * Selection had errors.&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Oct 2004 13:52:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-patch-corrupted-software/m-p/3408344#M202109</guid>
      <dc:creator>Eric Ladner</dc:creator>
      <dc:date>2004-10-26T13:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Bad patch, corrupted software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-patch-corrupted-software/m-p/3408345#M202110</link>
      <description>Seems that some of the filesets have already been commited. One more thing would be checking the patch (the one that supercedes - PHKL_19476) is in configured state. If it is, then just do swremove -x enforce_dependencies=false PHKL_29476&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 26 Oct 2004 13:58:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-patch-corrupted-software/m-p/3408345#M202110</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-10-26T13:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bad patch, corrupted software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-patch-corrupted-software/m-p/3408346#M202111</link>
      <description>swremove will not remove a corrupted patch since a corrupted patch is not "installed" in the first place. swremoving a PHKL is dangerous.&lt;BR /&gt;&lt;BR /&gt;Since the supersede is already installed/configured, simply update the INDEX with swmodify to clean up the reference to the old patch.&lt;BR /&gt;# swmodify -a state=configured -a patch_state=superseded&lt;BR /&gt;PHKL_23853.CORE2-KRN&lt;BR /&gt;&lt;BR /&gt;Just keep in mind for any reason that you uninstall PHKL_29476 that PHKL_23853 will need to be installed again.  But how likely is this to occur?&lt;BR /&gt;&lt;BR /&gt;The other way to address this is if you wanted to learn the source of the corrupted fileset, open up a call to the response center and let them track that down.</description>
      <pubDate>Tue, 26 Oct 2004 14:49:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-patch-corrupted-software/m-p/3408346#M202111</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2004-10-26T14:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Bad patch, corrupted software</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-patch-corrupted-software/m-p/3408347#M202112</link>
      <description>Bingo!  Thanks!&lt;BR /&gt;&lt;BR /&gt;I'll keep in mind the 29476 uninstall isuue.</description>
      <pubDate>Tue, 26 Oct 2004 15:06:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-patch-corrupted-software/m-p/3408347#M202112</guid>
      <dc:creator>Eric Ladner</dc:creator>
      <dc:date>2004-10-26T15:06:38Z</dc:date>
    </item>
  </channel>
</rss>

