- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: From command line, can I find out which patche...
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
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
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
08-01-2002 05:35 AM
08-01-2002 05:35 AM
From command line, can I find out which patches are superseded by a given patch?
For example, a DBA wants patch PHCO_23441. That patch has never been installed, but a patch that supersedes it (PHSS_26263) has. Right now, I have to manually search through ITRC and compare README files to what I have installed on the system. Ideally I'd like to only have to run a command that tells me what patches have been superseded by PHSS_26263.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 05:38 AM
08-01-2002 05:38 AM
Solutionswlist -v -l fileset > /tmp/swlist.report
view /tmp/swlist.report
Use the "search" feature of view, when you find that patch, scroll up and down, you will find the related details info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 05:39 AM
08-01-2002 05:39 AM
Re: From command line, can I find out which patches are superseded by a given patch?
swlist -l fileset -a title -a revision -a state -a patch_state -a superseded_by
This will cover the system and give you it all
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 05:41 AM
08-01-2002 05:41 AM
Re: From command line, can I find out which patches are superseded by a given patch?
swlist -v -l fileset |grep PH| grep superseded
And add on the end another | grep PHSS_26263
To list all those patches superceeded by it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 05:42 AM
08-01-2002 05:42 AM
Re: From command line, can I find out which patches are superseded by a given patch?
swlist -l patch -a install_date | more
(attention on sort)
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 05:45 AM
08-01-2002 05:45 AM
Re: From command line, can I find out which patches are superseded by a given patch?
Anyway, if your DBA is asking you to install a superseded patch then tell me not to be stupid - its already been replaced by a more uptodate patch from HP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 05:46 AM
08-01-2002 05:46 AM
Re: From command line, can I find out which patches are superseded by a given patch?
This will do the task:
# swlist -v -l fileset | grep PHSS_26263
If needed, add another grep for 'supersedes'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 05:49 AM
08-01-2002 05:49 AM
Re: From command line, can I find out which patches are superseded by a given patch?
cd /var/adm/sw/products/
grep supersedes */INDEX | sort -u
eg:
cd /var/adm/sw/products/PHSS_19866
grep supercedes */INDEX | sort -u
C-ENG-A-MAN/INDEX:supersedes PHSS_13415.C-ENG-A-MAN,fr=*
C-ENG-A-MAN/INDEX:supersedes PHSS_14245.C-ENG-A-MAN,fr=*
C-ENG-A-MAN/INDEX:supersedes PHSS_14580.C-ENG-A-MAN,fr=*
C-ENG-A-MAN/INDEX:supersedes PHSS_15252.C-ENG-A-MAN,fr=*
C-ENG-A-MAN/INDEX:supersedes PHSS_15316.C-ENG-A-MAN,fr=*
C-ENG-A-MAN/INDEX:supersedes PHSS_16181.C-ENG-A-MAN,fr=*
C-ENG-A-MAN/INDEX:supersedes PHSS_16404.C-ENG-A-MAN,fr=*
C-ENG-A-MAN/INDEX:supersedes PHSS_16540.C-ENG-A-MAN,fr=*
C-ENG-A-MAN/INDEX:supersedes PHSS_16841.C-ENG-A-MAN,fr=*
C-ENG-A-MAN/INDEX:supersedes PHSS_17571.C-ENG-A-MAN,fr=*
C-ENG-A-MAN/INDEX:supersedes PHSS_17825.C-ENG-A-MAN,fr=*
C-ENG-A-MAN/INDEX:supersedes PHSS_18072.C-ENG-A-MAN,fr=*
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 05:56 AM
08-01-2002 05:56 AM
Re: From command line, can I find out which patches are superseded by a given patch?
Thanks for the qucik help! The "swlist -v -l fileset" was exactly what I needed.