- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Removing old patches
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
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
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
тАО07-21-2003 06:00 AM
тАО07-21-2003 06:00 AM
what do I do to remove all the old patches.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 06:01 AM
тАО07-21-2003 06:01 AM
Re: Removing old patches
"cleanup -c 1"
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 06:04 AM
тАО07-21-2003 06:04 AM
Re: Removing old patches
cleanup -p -c 1
Then after looking at what will be removed.
cleanup -c 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 06:04 AM
тАО07-21-2003 06:04 AM
Re: Removing old patches
# cleanup -c 1
...will remove superseded patches but leave one level "back" available for rollback.
'cleanup' is the easiest and most appropriate way to regain space in '/var/adm/sw'. Never remove files manually from this directory.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 06:09 AM
тАО07-21-2003 06:09 AM
SolutionUnderstand that this commits old patches to the system and prevents you from rolling back more than one patch.
Example(fake numbers)
I install
PHCO_25100
It is superseded by
PHCO_26171
I install it
PHCO_27101
I install it.
run cleanup -1
I can back out
PHCO_27101 and
PHCO_26171 will be there but I can't go back to PHCO_25100
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
тАО07-21-2003 06:50 AM
тАО07-21-2003 06:50 AM
Re: Removing old patches
- before you do anything, create an Ignite backup of your system.
- use the "-p" option the first time to preview what cleanup is going to do.
- only commit patches that have been superceded 2 or more times by using "-c 2".
eg. # cleanup -p -c 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2003 12:56 PM
тАО07-21-2003 12:56 PM
Re: Removing old patches
cleanup -c 1
will remove all the upgrated patches
in the system.
Caesar