- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Bad patch, corrupted software
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 06:39 AM
10-26-2004 06:39 AM
# swmodify -x patch_commit=true '*.*'
ERROR: Could not select the software "*.*". This software is in a
corrupt state and is not available for selection. Corrupt
software can be removed with the swremove command, or replaced
with the swcopy command.
Find the corrupt item:
swlist -l fileset -a state | grep corrupt
PHKL_23853.CORE2-KRN corrupt
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.
How can I get rid of that one patch without reinstalling the whole OS?
Help appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 06:46 AM
10-26-2004 06:46 AM
Re: Bad patch, corrupted software
-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.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 06:52 AM
10-26-2004 06:52 AM
Re: Bad patch, corrupted software
* Beginning Selection
* Target connection succeeded for "eseux3:/".
WARNING: The fileset "PHKL_23853.CORE2-KRN" has been automatically
deselected because one or more of the filesets in the patch
have been committed or superseded.
NOTE: One or more patch filesets were automatically selected or
deselected to maintain patch integrity. Please refer to the
swremove.log logfile for details.
ERROR: Cannot continue the "swremove" task.
* Selection had errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 06:58 AM
10-26-2004 06:58 AM
Re: Bad patch, corrupted software
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 07:49 AM
10-26-2004 07:49 AM
SolutionSince the supersede is already installed/configured, simply update the INDEX with swmodify to clean up the reference to the old patch.
# swmodify -a state=configured -a patch_state=superseded
PHKL_23853.CORE2-KRN
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?
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 08:06 AM
10-26-2004 08:06 AM
Re: Bad patch, corrupted software
I'll keep in mind the 29476 uninstall isuue.