How to tell Update Manager to ignore a patch

Folk'ses,

the use and functioning of Update Manager seems to be getting better now. Today I was able to do an install of 80+ patches without an error msg ;)

however, I have the problem, that update manager always shows me a number of patches which I don't need or want, eg for drivers of devices which I don't have. before I start the installation I always have to go through the whole list and deselect them, because they would cause a failure of the whole procedure.

now my question: is there a way to specify/configure that certain updates/patches should be ignored? (even Msoft can do that :)

thomas

[637 byte] By [kloebera] at [2007-11-27 4:26:06]
# 1
Yes, I'd also be interested in that. We are currently using files for smpatch instead due to this.Thanks for the information,Tony
Anthony_Maslowskia at 2007-7-12 9:34:29 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

Normally solaris included drivers for all devices even if you don't have them.

So patches for devices you don't have will normally still install.

Unless you customised the solaris install and deliberately didnt install the drivers.

Even then, a patch failing to install won't cause any problems for the patch install as a whole. Its just annoying.

But no, as far as I am aware update manager doesnt have any way to mark a patch as "do not install".

I normally just let it try to install everything and live with the occasional fail.

robert.cohena at 2007-7-12 9:34:29 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3
yes we did that for a while also, but for error free upgrades we've moved to generating a patch list with smpatch and removing the known patches jthat come through each time that we don't want.Being able to do this via the gui would be a nice touch.Tony
Anthony_Maslowskia at 2007-7-12 9:34:29 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4

Robert,

> Even then, a patch failing to install won't cause any problems for the patch install as a whole. Its just annoying.

not quite. this is certainly true for drivers, but I have problems with Mozilla patches which, when installed, screw up my Mozilla setup, which is more than annoying!

Anthony,

how do you set up the smpatch? i have never used it, i thought the GUI is much better from an admin perspective.

thomas

kloebera at 2007-7-12 9:34:29 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 5

No need to set anything up. Simply run:

#Get list of patches - just like GUI does, and redirect to list file

smpatch analyze > patchlist.lst

#Edit patchlist.lst to remove unwanted patches - this can be automated with sed, etc

#Apply patches - just like GU does

smpatch update -x idlist=patchlist.lst

you can also download the patches first and then add them at a later date to save time during outages (download in the day, add during the outage)

EXAMPLE:

root@sunlight # smpatch analyze > patchlist.lst

#Edited the output down to 2 patches...

root@sunlight # smpatch update -x idlist=patchlist.lst

119115-26 has been validated.

122212-18 has been validated.

Installing patches from /var/sadm/spool...

119115-26 has been applied.

122212-18 has been applied.

/var/sadm/spool/patchpro_dnld_2007.05.16@11:40:21:MDT.txt has been moved to /var/sadm/spool/patchproSequester/patchpro_dnld_2007.05.16@11:40:21:MDT.txt

HTH,

Tony

Anthony_Maslowskia at 2007-7-12 9:34:29 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 6
thanx, Tony.
kloebera at 2007-7-12 9:34:29 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 7
Anytime, hope that works out for you.Tony
Anthony_Maslowskia at 2007-7-12 9:34:29 > top of Java-index,Solaris Operating System,Solaris 10 Features...