patchadd fails to apply a patch


 
Thread Tools Search this Thread
Operating Systems Solaris patchadd fails to apply a patch
# 1  
Old 04-10-2008
patchadd fails to apply a patch

Hello,
I'm trying to apply the patch on Solaris 9 :

Code:
$/jac/update$  patchadd ./112945-46
Checking installed patches...
One or more patch packages included in
112945-46 are not installed on this system.

Patchadd is terminating.

The error message is not really talkative so I had a look and the patchadd script and it looks like it checks if any of the softwares that need to be patched are installed. If none of them is installed, it prints this error.

The packages patched by the patch are:

Code:
SUNWdclnt
SUNWlvma
SUNWmc
SUNWmcc
SUNWmccom
SUNWmga
SUNWpmgr
SUNWwbapi
SUNWwbcor
SUNWwbcou
SUNWwbdev
SUNWwbmc
SUNWwbpro

Non of them is installed in my system. The problem is that I need this patch to be installed cos it is a dependency for Sun Update Manager

... what shall I do ?

Thanks in advance for your help,
Tex
# 2  
Old 04-10-2008
you have to install the mentioned packages...

Code:
#pkginfo | grep -i wbem
system      SUNWdmgtr                        Solaris Data Management WBEM/CIM API (root)
system      SUNWdmgtu                        Solaris Data Management WBEM/CIM API (Usr)
system      SUNWmgapp                        WBEM Management Applications
system      SUNWrmwbr                        Resource Management WBEM Instrumentation (root)
system      SUNWrmwbu                        Resource Management WBEM Instrumentation (usr)
application SUNWwbapi                        WBEM API
system      SUNWwbcor                        WBEM Services (root)
system      SUNWwbcou                        WBEM Services (usr)
application SUNWwbdev                        Sun WBEM SDK
application SUNWwbdoc                        Sun WBEM SDK - Documentation
application SUNWwbmc                         Solaris Management Console 2.1 (WBEM Components)
system      SUNWwbpro                        WBEM Providers (usr)

try to install SUNWmc and then look for dependencies...

btw. the above output is from solaris 10! i don't have a sol9 machine to test....
# 3  
Old 04-10-2008
Quote:
Originally Posted by DukeNuke2
you have to install the mentioned packages...

try to install SUNWmc and then look for dependencies...

btw. the above output is from solaris 10! i don't have a sol9 machine to test....
Ok, how can I install SUN packaged ? I've been using only packages from blastwave so far ...

tex
# 4  
Old 04-10-2008
the packages are on the install media. use "pkgadd -d packagename" to install them.
# 5  
Old 04-10-2008
Hi,
I copied the SUNWmc directory from the Solaris Software CD to the harddisk and then run:

Code:
root$ ls -l
total 2
drwxr-xr-x   5 root     other        512 Apr 10 15:20 SUNWmc

root$ pkgadd -d SUNWmc
pkgadd: ERROR: no packages were found in </root/jac/SUN/SUNWmc>

EDIT:

Code:
root$ pkgadd -d .

works better Smilie
...

Last edited by Tex-Twil; 04-10-2008 at 10:31 AM..
# 6  
Old 04-10-2008
Quote:
Originally Posted by Tex-Twil

Code:
root$ pkgadd -d .

works better Smilie
...
Is there a way to deal with the dependencies .. i.e. that pkgadd install automatically the dependecies if they are available ?

T.
# 7  
Old 04-10-2008
ok I solved the 112945-46 problem by installing the SUNWmccom package but now ...

I have the same issue with the 126982-01 patch

Code:
Installing patch 126982-01

Checking installed patches...
One or more patch packages included in
126982-01 are not installed on this system.

Patchadd is terminating.
Installing 126982-01 failed. Exiting

so do I have to look again the package this patch is supposed to patch and install it ... ???

It's not really a smart way to install the Update Manager ... Smilie

tex
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sed fails to apply substitute commands

I've made a shell script for archiving HTML pages, i.e. making them work offline plus add some features. Here is it: #!/bin/sh if || +/res/+") = "" ]; then echo "Usage: `basename $0` <4chan thread url> <>" exit 0 fi echo "4chan downloader" LOC=$(echo "$1" | sed... (23 Replies)
Discussion started by: Adolf1994
23 Replies

2. Solaris

Apply Patch 119963-21 to Solaris 10 Sparc

Hi, One of the pre requirements o upgrade Netbackup 6.5.4 to 7.1 is to apply Patch 119963-21 to all media servers. My media servers are Oracle Databases ( e-business suite and for other 3rd party app ). I read the Patch 119963-21's README and there is no Install Requirements for this... (10 Replies)
Discussion started by: HishamN
10 Replies

3. AIX

Failed to apply the IZ86736 patch in TL6 SP1

while i was trying to apply the patch IZ86736 in TL6_SP1 its give me the below error instfix -d . -p -f /tmp/.instfix_selections.20512908 > File installp -acgNqXd . -f File File: bos.rte.control 06.01.0006.0003 ... (3 Replies)
Discussion started by: thecobra151
3 Replies

4. Solaris

patchadd command

# patchadd /Desktop/117837-08.jar Validating patches... Loading patches installed on the system... Done! Loading patches requested to install. Done! The following requested patches have packages not installed on the system Package SPROcc from directory SPROcc in patch 117837-08 is... (19 Replies)
Discussion started by: seyiisq
19 Replies

5. Solaris

patchadd error

Greetings All- I ran into this problem today and was curious if anyone else had seen it. I am attempting to add patch 137402-02 on a v890 running Sol9. Here's the error I get: #> patchadd 137402-02 Checking installed patches... Verifying sufficient filesystem capacity (dry run... (7 Replies)
Discussion started by: bluescreen
7 Replies

6. Solaris

Patchadd error

Hi, I have a Sun fire V280R server and when i updated the kernel patch i got this error. mdb not found: patchadd not safe. /kernel/dacf/sparcv9/usb_ac_dacf: undefined symbol 'am_attach' /kernel/dacf/sparcv9/usb_ac_dacf: undefined symbol 'am_src2' /kernel/dacf/sparcv9/usb_ac_dacf: undefined... (3 Replies)
Discussion started by: Jartan
3 Replies

7. Programming

Apply patch for make file.

I just downloaded a updating make file to build Ethereal to .dll file, but I don't know how to update the old make file with this new one. Please help.. thnx a lot. (1 Reply)
Discussion started by: blueblood
1 Replies

8. Solaris

patchadd/patchrm

Ok, I attempted to apply a patch to a V440 and it bailed part way through. When I tried to patchrm the patch (after booting from CD), patchrm said that I had to fully install the failed patch before I could delete it. Since installing it killed the system forcing a boot from CD, it sounds like a... (4 Replies)
Discussion started by: BOFH
4 Replies

9. IP Networking

Patch-o-matic (patch for iptable) for linux2.4.08 & iptable1.2.7a

Hello friends I'm running Redhat 9.0 with linux kernel 2.4.20-8 & have iptables version 1.2.7a & encountering a problem that I narrate down. I need to apply patch to my iptable and netfilter for connection tracking and load balancing that are available in patch-o-matic distribution by netfilter.... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies
Login or Register to Ask a Question