Updatemanager shows patches already installed

Hiii !

I'm using the updatemanager on Solaris 10 x86.

Recently I installed the kernel patch 118855-36 (you have to do that manually).

( By the way: the patch was not signed. How come ? )

After reboot the updatemanager comes up with a lot of patches, around 90.

When I try to install those, most of them (if not all) fail, because they are already installed.

How do I get rid of them ? Where can I tell the manager that tey are already installed ?

On other computers we have similar problems since years ;-)

Updatemanager comes up with patches for packages that are not even installed.

Thanks in advance, felix

[671 byte] By [felixhofmanna] at [2007-11-26 16:59:34]
# 1

Hi

Please provide us with the output of :

# cat /etc/release

# uname -a

This will allow us to check the release of Solaris. Sometime what happens is a release will contain more up to date patches than are available on Sunsolve , say ones which obsolete those available on SunSolve. Unfortunately Update Manager will then recommend something erroneously.

Generally, newer patches are then released to resolve this conflict.

Regarding the patches being reccommended for products which you do not have installed this may be a patch metadata issue. Would you please provide us with some log file excerpts regarding the wrongly reccommed patches. Again generally this is annoying but not harmful.

Mod.

ForumModeratora at 2007-7-8 23:27:21 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2

What is the output of showrev -p?

Also does patchadd -p work?

If patchadd -p works and showrev does not you can try to set the smpatch command property to use patchadd.

smpatch set SunOS.command.get.patch.data="/usr/sbin/patchadd -p"

Alternatively you can edit the default command in /usr/lib/patch/com/sun/patchpro/conf

Replace SunOS.command.get.patch.data.default=/usr/bin/showrev -p

with

SunOS.command.get.patch.data.default=/usr/sbin/patchadd -p

There a few bugs related to this:

6519422 Describes this issue.

6519815 (the workaround above is from that one).

Best Regards

-ethan

ejridera at 2007-7-8 23:27:21 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3

See my posting re 118855-36 - it breaks showrev -p.

You need to download and install patch 124631-03. Use "smpatch download -f -i 124631-03" otherwise smpatch seems to think it depends on 118855-36, checks if that is intsalled (which fails due to the showrev bug) then starts downloading 118855-36 again. Oddly enough I didn't need to do this yesterday on one system, but today I did on a different one.

Message was edited by:

davidholmes

davidholmesa at 2007-7-8 23:27:21 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4
Dear AllIn each of the cases mentioned in this thread which release are we dealing with please :# uname -a# cat /etc/releaseThank youMod.
ForumModeratora at 2007-7-8 23:27:21 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 5

Dear ejrider ethan and davidholmes,

thanks a lot for your quick and good answers.

Using patchadd -p might be a good workaround but not a "real" solution for the bug.

smpatch download -f -i 124631-03worked fine for me.

Of course you have to add the patch afterwards, for example: smpatch add -i 124631-03

My machine asked for patch 119082-25, which I had to install before the steps above.

felix

felixhofmanna at 2007-7-8 23:27:21 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 6
GentlemenDo I understand from this latest that the issue has been resolved in the short term and you are able to wait for a root cause fix?Please be assured we are doing everything we can to irradicate these complexities.Mod.
ForumModeratora at 2007-7-8 23:27:21 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 7

Since the others won't answer, I will for my system

#uname -a

SunOS solmac 5.10 Generic_118855-36 i86pc i386 i86pc

#cat /etc/release

Solaris 10 6/06 s10x_u2wos_09a X86

(copyright notice)

Assembled 09 June 2006

I have 87 updates listed, all of which are already installed (afaik).

Pinky3a at 2007-7-8 23:27:21 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 8
Recent versions of the kernel have broken showrev, which results in updatemanager reporting all available patches from the current.zip file.There is however a patch that resolves this issue:124630-03 for sparc systems124631-03 for x86 systemsMod.
ForumModeratora at 2007-7-8 23:27:21 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 9

> Recent versions of the kernel have broken showrev,

> which results in updatemanager reporting all

> available patches from the current.zip file.

>

> There is however a patch that resolves this issue:

>

> 124630-03 for sparc systems

> 124631-03 for x86 systems

Could have sworn that was what I said three days ago. ;-)

BTW as far as I am aware the problem only affects the x86 kernel patch.

Message was edited by:

davidholmes

davidholmesa at 2007-7-8 23:27:21 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 10
Hi AllHow did you get on with these 2 patches to correct the showrev issue ?Mod.
ForumModeratora at 2007-7-8 23:27:21 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 11

First, I am a hobbyist running Solaris 10 within Parallels on an intel Macbook.

When I tried to patchadd 124631-03, the result was

The following requested patches will not be installed because

no patches required by the patch are installed on this system.

0 For patch 124631-03, required patch 119082-25 does not exist.

consistent with what felix wrote in reply 5. Unfortunately, I am not a paying customer and was not allowed to download 119082-25 (although I was allowed to download 124631-03).

I can only hope that both patches will show up in update manager so that I can install them from within update manager .

Al

Pinky3a at 2007-7-8 23:27:21 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 12
My mistake. I couldn't download 119082-25 from the support website, but smpatch download just got me the patch. Now to try and install both.Al
Pinky3a at 2007-7-8 23:27:21 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 13
Done. 0 updates available (down from 87) Before the patch, installed updates were 0, now they are 397.Al
Pinky3a at 2007-7-8 23:27:21 > top of Java-index,Administration Tools,Sun Update Connection-System...