Operating System - HP-UX
1745782 Members
3446 Online
108722 Solutions
New Discussion юеВ

Re: swinstall - marking multiple patches for install

 
SOLVED
Go to solution
Mike Brown_3
Frequent Advisor

swinstall - marking multiple patches for install

Hi folks,
This is an odd one because I can't understand why there's not a simple answer to this, (that I can find anyway).

I have a patches tarfile entitled PATCHES.depot.
If I run `swinstall -s` against it, I see all 250+ patches listed. That's good but I want to mark them all for install - do I really have to go through each, one by one, to do this, or is there another way of "selecting all" and marking them all in one go?
Hope that's clear. Thanks.
There's no substitute for experience
5 REPLIES 5
Steven E. Protter
Exalted Contributor
Solution

Re: swinstall - marking multiple patches for install

Shalom,

swinstall -s full path \*

example

swinstall -s /tmp/PATCHES.depot \*

Add the -x reinstall=false -x autoreboot=true to deal with patches that need a boot.

This will not select all, it will install all that are compatible with the system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mike Brown_3
Frequent Advisor

Re: swinstall - marking multiple patches for install

So there was I wondering how you mark several patches when all along I don't actually need to.
I won't be able to test this until the weekend but I feel a lot better now knowing that a 2-star Olympian is helping me out :-)
There's no substitute for experience
Torsten.
Acclaimed Contributor

Re: swinstall - marking multiple patches for install

Hi,

the system can help you to select the patches, see Actions->match-was-target-has in swinstall.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Mike Brown_3
Frequent Advisor

Re: swinstall - marking multiple patches for install

Hi Torsten,
That's not my problem, I was going to let the system decide which patches I'm going to load in the analysis phase. The key issue I was trying to address was how to mark 250+ patches for install in one go. SEP's method suggests I was overlooking the bigger picture which takes care of that.
There's no substitute for experience
Mike Brown_3
Frequent Advisor

Re: swinstall - marking multiple patches for install

Thanks SEP - worked a treat!
Got a feeling I should have known this but never too proud to take advice :-) Thanks for your input.
There's no substitute for experience