Friday, October 21, 2005

Question about Sun patch: How to find out what patches I've just installed

Subject: SUMMARY: Question about Sun patch: How to find out what
patches I've just installed

Many thanks to everybody who replied. You know who
you are :-)

Original quesiton:
I need to install a bunch of Sun patches into a
Solaris 8 system. How do I find out the list of Sun
patches I just installed (using patchadd patch#)

Answers:
1. #ls -ltr /var/sadm/patch|tail -xx
where xx is the # of patches I've just installed
(ie if I installed 20 patches, then the xx number
will be 20; for example)

2. #showrev -p|egrep 'patch #1|patch #2|patch #3'
etc..
where patch #1,2,3 are the 3 patches I've just
installed

"showrev -p" alone won't cut it (but otherwise is
technically correct) because the output
includes too many previous patches. It will be kind
of hard to verify which one.

0 Comments:

Post a Comment

<< Home