issue with patch 119107-03

Patch 119107-03 apparently is a download only patch for the Update Manager. Unfortunately, the readme states that patchadd is supposed to be used on the patch but I can not find a dir in /var called 119107-03. Instead I find: /var/sadm/spool/119107-03.jar. What am I supposed to do with this file?

[304 byte] By [Will_Fiveash] at [2007-11-26 6:03:37]
# 1
Will,Try running the following command (as root):smpatch add -i 119107-03This should install the patch and upgrade Update Manager.Frederic
LostInColorado at 2007-7-6 13:28:31 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2

I did as you suggested and this is what happened:

# smpatch add -i 119107-03

add patch 119107-03

Package SUNWswupcl from patch 119107-03 is not installed on the system.

The original package SUNWswupcl that 119107-03 is attempting to install to does not exist on this system.

Patch 119107-03 has been successfully installed.

Validating patches...

Loading patches installed on the system...

Done!

Loading patches requested to install.

Done!

Checking patches that you specified for installation.

Done!

Approved patches will be installed in this order:

119107-03

/var/sadm/pkg/SUNWdc/save/119107-03/undo: -- file unchanged

compress(1) returned error code 2

The SUNWdc backout package will not be compressed.

Continuing to process backout package.

/var/sadm/pkg/SUNWpprou/save/119107-03/undo: -- file unchanged

compress(1) returned error code 2

The SUNWpprou backout package will not be compressed.

Continuing to process backout package.

/var/sadm/pkg/SUNWupdatemgru/save/119107-03/undo: -- file unchanged

compress(1) returned error code 2

The SUNWupdatemgru backout package will not be compressed.

Continuing to process backout package.

================================

All the above did not give me a warm fuzzy. When I look at showrev -p output I do see:

Patch: 119107-03 Obsoletes: Requires: 119574-02 Incompatibles: Packages: SUNWp

pror, SUNWpprou, SUNWppro-plugin-sunos-base, SUNWccccr, SUNWcsu, SUNWcsr, SUNWcc

ccrr, SUNWccsign, SUNWcsmauth, SUNWccfw, SUNWdc, SUNWbreg, SUNWcctpx, SUNWccccfg

, SUNWccfwctrl, SUNWccinv, SUNWupdatemgrr, SUNWupdatemgru

So can I assume the patch was applied successfully?

Will_Fiveash at 2007-7-6 13:28:31 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3
It certainly appears this way. It just appears that the backout information (used when you backout the patch) didn't get compressed. The same happened when I installed it on my workstation.Frederic
LostInColorado at 2007-7-6 13:28:31 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4
Oh, and I just ran UM again and it still shows patch 119107-03 as available and installed. Could this be because the 119107-03.jar is still in /var/sadm/spool?Also, UM shows version 1.0 in the About window. Is this correct?
Will_Fiveash at 2007-7-6 13:28:31 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 5
Remove the jarball and run:/usr/lib/cc-cfw/platform/invagent/bin/cc-invagent
dyoung2 at 2007-7-6 13:28:31 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 6
And yes, 1.0 is the correct version number. Before the upgrade it would've been 1.0 PR (Pre-release).
ForumModerator at 2007-7-6 13:28:31 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 7

You can ignore the post saying to run cc-invagent. Nothing this agent does is reflected in the Update Manager.

The reason you still saw 119107-03 in the Update Manager is because the UM uses cached analysis data and isn't yet smart enough to know that it should invalidate its cache when something is installed outside of Update Manager. It will be smarter in a future release. Anyway, if you do another "Check for Updates" in UM it will update your cache and 119107 should disappear from your available updates tab.

BTW, 119107-03 is not a download only patch. Why did you think it was?

-Dave

rave@sun at 2007-7-6 13:28:31 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 8
I thought 119107-03 was download only because the UM was showing the download only icon next to it and initially I had selected all available patches and clicked install and that one was not installed.
Will_Fiveash at 2007-7-6 13:28:31 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 9
Ok, its coming back to me now. This was a recent change to make this download only in the hopes that people would no longer accidently install the Sun Update Connection client and then be surprised when a registration was required for smpatch to continue working.-Dave
rave@sun at 2007-7-6 13:28:31 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 10

My bad, I don't use the Update Manager. I use smpatch manually or the portal. However, here is what I have been doing to get that patch version installed on my systems. This is my current process for bringing up a new node in our research grid:

- fresh install of solaris 10 GA (jumpstart cluster SUNWCprog)

- some local customizations and software installs

- Sun Studio 8, some GNU packages, MPI-MICH, SAS, Splus, MATLAB, SPSS, Stata

- register the client with the portal

- do an smpatch update on the client

- let that finish than do an init 6

- portal shows 129 patches should be installed (2 hours after the restart)

- run the cc-invagent on the client in question

- portal now shows 1 patch should be installed and it's 119107-03

? - cc-invagent doesn't do what?

- contents of /var/sadm/spool:

root@gsbids1:[spool]$ ls -l

total 33640

-rw-r--r--1 rootroot17189938 Aug 10 15:16 119107-03.jar

drwxr-xr-x7 rootsys 512 Aug 10 21:27 cache

-rw-r--r--1 rootroot1952 Aug 10 21:23 disallowed_patch_list_report

drwxr-xr-x2 rootroot 512 Aug 10 19:51 patchproSequester

- have jarball, will install

- cd /var/sadm/spool

- jar xvf 119107-03.jar

..... jarball extracted

- chmod 0755 119107/prepatch

- chmod 0755 119107/postpatch

- patchadd 119107-03

- Log from patchadd:

root@gsbids1:[spool]$ patchadd 119107-03

Validating patches...

Loading patches installed on the system...

Done!

Loading patches requested to install.

Package SUNWswupcl from patch 119107-03 is not installed on the system.

Done!

Checking patches that you specified for installation.

Done!

Approved patches will be installed in this order:

119107-03

Checking installed patches...

The original package SUNWswupcl that 119107-03 is attempting to install to does not exist on this system.

Executing prepatch script...

Verifying sufficient filesystem capacity (dry run method)...

Installing patch packages...

Patch 119107-03 has been successfully installed.

See /var/sadm/patch/119107-03/log for details

Executing postpatch script...

Patch packages installed:

SUNWbreg

SUNWccccfg

SUNWccccr

SUNWccccrr

SUNWccfw

SUNWccfwctrl

SUNWccinv

SUNWccsign

SUNWcctpx

SUNWcsmauth

SUNWcsr

SUNWcsu

SUNWdc

SUNWppro-plugin-sunos-base

SUNWppror

SUNWpprou

SUNWupdatemgrr

SUNWupdatemgru

root@gsbids1:[spool]$

- go back to the portal, the same patch shows as needing an install. that's fine since I know I ran patchadd all by myself.

- run cc-invagent again on the client

- portal shows 0 updates for that client

- run scripted install of N1GE6 to make current host an execution node in the grid

I could care less why it works, all I know is that it does.

My .02

dyoung2 at 2007-7-6 13:28:31 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 11
There should be a bug opened against 119107-03 as it is not clear what to do when this patch is downloaded by UM.
Will_Fiveash at 2007-7-6 13:28:31 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 12

After reading the threads for 119107-03 patch questions, I tried the CLI approach and downloaded the patch, put it in a different location and ran the "patchadd" by hand. I rebooted afterwards. I then removed the temporary patch locations. I didn't see any anomalies in the patch install. I really haven't had problems with the upgrade manager runs.

I did notice that the patch manager still suggests that I can still download the 119107-03 patch in the graphical recommendations tabbed window.

I looked that the already installed windowed tabs and it also said that I could click on the box to uninstall the it.I think that the graphical recommendation window should no longer mention this patch.

jkharrison at 2007-7-6 13:28:31 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 13

The UM works from cached results of the last time it did an analysis. Since the install happened outside of UM it did not invalidate its cache and so you still see old data in the Available Updates tab until you do another "Check for Updates" or the nightly auto analysis is run. UM will soon be smart enough to recognize this case so this won't be an issue.

rave@sun at 2007-7-6 13:28:31 > top of Java-index,Administration Tools,Sun Update Connection-System...