- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to run cleanup due to patch being in corrup...
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
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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-27-2005 01:42 AM
тАО10-27-2005 01:42 AM
I have a patch which has been superseded which is in a corrupt state. When I run cleanup I am unable to commit my existing patches due to this patch. I am also unable to remove the patch using swremove. Can I change the state of the patch so it is ignored or something as I desperately need to clear down some space. There is no actual error in any of the sw logs it just says unable to remove patch.
Cheers
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2005 01:56 AM
тАО10-27-2005 01:56 AM
Re: Unable to run cleanup due to patch being in corrupt state
I don't think you can. how did this patch get corrupted ?
Could you check the dirextory permissions in /var/adm/save/PHNE_xxxx.
Please post patch-number.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2005 01:59 AM
тАО10-27-2005 01:59 AM
Re: Unable to run cleanup due to patch being in corrupt state
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2005 02:02 AM
тАО10-27-2005 02:02 AM
Re: Unable to run cleanup due to patch being in corrupt state
swremove PHXX_19XXX
swverify \*
Does it confirm the corrupt analysis:
Is this 11.00?
Is PHKL_18543 installed but only ONE time?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2005 02:05 AM
тАО10-27-2005 02:05 AM
Re: Unable to run cleanup due to patch being in corrupt state
======= 10/27/05 15:04:12 BST BEGIN swremove SESSION
(non-interactive)
* Session started for user "root@orafin2".
* Beginning Selection
* Target connection succeeded for "orafin2:/".
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.
======= 10/27/05 15:04:20 BST END swremove SESSION (non-interactive)
#
As you can see it can't be removed. When I do a verify it comes up with errors regarding mtime etc on files. Can't I somehow get it to ignore this particular patch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2005 03:08 AM
тАО10-27-2005 03:08 AM
Re: Unable to run cleanup due to patch being in corrupt state
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2005 03:14 AM
тАО10-27-2005 03:14 AM
Re: Unable to run cleanup due to patch being in corrupt state
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2005 03:34 AM
тАО10-27-2005 03:34 AM
Re: Unable to run cleanup due to patch being in corrupt state
Do be shure download the reccomended PHCO_21187 or the latest PHCO_31879 also, just in case you need to reinstall one after you have removed 19047.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2005 03:35 AM
тАО10-27-2005 03:35 AM
Re: Unable to run cleanup due to patch being in corrupt state
Try this:
If you ever get an error like this:
cleanup -c 1
Would you still like to commit these patches? y
Committing patches superseded at least 1 time(s) ...
ERROR: swmodify(1M) encountered problems committing the
superseded patches:
ERROR: Could not select the software "PHCO_25723.*". 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.
ERROR: Could not select the software "PHSS_26577.*". 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.
All information has been logged to /var/adm/cleanup.log.
Then do this:
swmodify -a state=configured -a patch_state=superseded PHCO_25723.*
swmodify -a state=configured -a patch_state=superseded PHSS_26577.*
Rgds...geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2005 03:44 AM
тАО10-27-2005 03:44 AM
Re: Unable to run cleanup due to patch being in corrupt state
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2005 03:47 AM
тАО10-27-2005 03:47 AM
Solutionswmodify -a state=configured -a patch_state=superseded PHCO_19047.*
and that failed?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2005 03:53 AM
тАО10-27-2005 03:53 AM