Operating System - HP-UX
1748073 Members
4489 Online
108758 Solutions
New Discussion юеВ

Verify if patches will install?

 
Joe Despres
Advisor

Verify if patches will install?

I would like to verify 10 systems if patches from a patch depot would work. That is the patches would install and that there is plenty of drive space available. Do all this without installing. And do this using the commandline....

Tanks...
8 REPLIES 8
Jeff Schussele
Honored Contributor

Re: Verify if patches will install?

Hi Joe,

Use swinstall -p
to preview only. This will run analysis only & NOT the actual install.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
James R. Ferguson
Acclaimed Contributor

Re: Verify if patches will install?

Hi Joe:

Simply add the '-p' option to 'swinstall' if you want to use the commandline. This will perform the analysis phase *only* and give you the information you seek.

Regards!

...JRF...
Helen French
Honored Contributor

Re: Verify if patches will install?

Hi Joe:

You can do this with '-p' (preview only, no install process) option along with swinstall command. This will not install the patch/bundle to the system; instead run only the analysis phase. From the analysis phase, you will get all information about space requirement, patch level, errors, warnings etc.

See this for more details:

# man swinstall
# swinstall -p -s source_depot

HTH,
Shiju
Life is a promise, fulfill it!
ashish nanjiani
Frequent Advisor

Re: Verify if patches will install?

swinstall -p should do the job
Sukant Naik
Trusted Contributor

Re: Verify if patches will install?

Hi Joe,

We need to use the -p option of the swinstall and then this will just take care of your needs.

-Sukant
Who dares he wins
Joe Despres
Advisor

Re: Verify if patches will install?

The -p was a great idea... I'm looking into doing a non-interactive check on atleast 20 patches within the same depot on atleast10-15 systems...
Helen French
Honored Contributor

Re: Verify if patches will install?

Hi Joe:

The swinstall with options given and without '-i' option will invoke the non-interactive mode for you. You need to give the command line options along with that. Check the swinstall(1M) man pages and read the Interactive/Non-Interactive methods.

If you want to check multiple options in multiple systems, then you can write a script for doing the same.

HTH,
Shiju
Life is a promise, fulfill it!
Victor_5
Trusted Contributor

Re: Verify if patches will install?

use preview mode with switch -p.

swinstall -p