Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error installing ANY patch on Solaris 10 1

Status
Not open for further replies.

JazzGeek

IS-IT--Management
Jun 23, 2002
165
US
Hi All

Every time I try to install patches by using the patchadd command, it will not install, but instead gives these errors:

the system. Changes for package SUNWdrr will not be applied to the system.
Package SUNWefc from directory SUNWefc.u in patch 118833-36 is not installed on the system. Changes for package SUNWefc will not be applied to the system.
Package SUNWfruip from directory SUNWfruip.u in patch 118833-36 is not installed on the system. Changes for package SUNWfruip will not be applied to the system.
Package SUNWidn from directory SUNWidn.u in patch 118833-36 is not installed on the system. Changes for package SUNWidn will not be applied to the system.
Package SUNWsckmu from directory SUNWsckmu.u in patch 118833-36 is not installed on the system. Changes for package SUNWsckmu will not be applied to the system.
Package SUNWwrsd from directory SUNWwrsd.u in patch 118833-36 is not installed on the system. Changes for package SUNWwrsd will not be applied to the system.
Package SUNWwrsm from directory SUNWwrsm.u in patch 118833-36 is not installed on the system. Changes for package SUNWwrsm will not be applied to the system.
<br>
The following requested patches will not be installed because
no patches required by the patch are installed on this system.

0 For patch 118833-36, required patch 119578-30 does not exist.


It appears that the patchadd command cannot find some file it needs to check the patches on the system. Or perhaps I'm wrong.

I'm running "Solaris 10 6/06 s10s_u2wos_09a SPARC"

Thank you for your help!

SJ

Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
A patch is to update something you have installed. You are trying to apply patches to things you don't have installed. You can't patch something that doesn't exist.

So, you can probably safely ignore these errors. Unless you want to research each one to make sure.
 
Perhaps though I should use "pkgadd" instead? Because this a package of 200 updates or so...

It appears after I use pkgadd, it's working... (I do have all of those installed...)

"Patchadd" was the wrong command to use with this? What's the difference?

Thank you

SJ

Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
patches look like 12345-01
pkg's look like SUNWptc
(note this is for Sun pkgs, there are other creators, thus different prefixes are used)

pkgadd is used to add as it stated pkgs,the first command you used, patchadd, does patches, which are a cluster of pkgs all rolled up into one patch. I assume, you are cding into the patch and running pkgadd against the pkg's listed. That really is not the proper way of doing it.

Another reason for a patch, it takes care of dependency issues that may come up. Sometimes other patches are needed before the patch you are attempting to install will function properly. As your posting shows, it is looking for a required patch that is not installed on the server.



If you want to take it further, research each of the pkgs that it states are not getting installed


Usually these kernel patch as the you have listed 18833-36 are usually part of a cluster patch you can get from Sun's website.

You should be downloading the patch cluster from Sun (10_Recommended.zip ), and using the 'install_cluster' utility. Doing it this way takes care of the dependency issues.


If you do insist on patchadding the kernel patch by itself, do not use the '-d' option, this will make it so you can not revert out of it if there is an issue.

look at this Sun Alert:

 
Thank you for the help, this make a lot of sense.

One issue though. You stated:

" As your posting shows, it is looking for a required patch that is not installed on the server. "

However, that's not the case here. When I try to install that patch, it says that NONE of the pkg's are installed and won't proceed even installing one of it's pkg's in the patch. It then stops running and I can't install anything. It appears to be looking someplace for a patch listing on my system, but it can't find it. Very odd! So, I'm stuck and cannot install the patch and can't get approval from the system for security.

Any ideas on why installing that patch thinks it doesn't have any patches to upgrade on the system. Like for instance, it's says, "Package SUNWfruip from directory SUNWfruip.u in patch 118833-36 is not installed on the system. Changes for package SUNWfruip will not be applied to the system."

However, that patch is on my system.

Is there anyway to have it skip over pkg's that are not installed and just install upgrade the pkg's that are? It appears to be doing an upgrade only, not a clean install... is it supposed to do that?

Thank you again for your valuable help.

SJ



Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
Does pkginfo -l SUNWfruip output something sensible? How about showrev -p?

Annihilannic.
 
what are you actually trying to achieve?

and how do you know SUNWfruip is really on your server.


As Annihilannic said, pkginfo -l and showrev -p will give you the final answer if a pkg or patch is installed on your system.

Until we know what you are trying to do, it is hard to point you in a good direction.

As far as patches or pkgs are concerned, it is important to read the README's on them, they will tell you of dependencies or special requirements. Do not ever try to hack it to make it work, if you do then your server my become unstable. It really sounds like you are trying to install and upgraded patch for something you never had on your system in the first place, thus, it is failing.


David


 
Annihilannic and David

Thank you much for your valuable help.

RunningL: "pkginfo -l SUNWfruip" and I get "
ERROR: information for "SUNWfruip" was not found"

So, in this case, I do not have it. However, the patch is supposed to install NEW packages so that I have additional functionality. But it doesn't install anything at all.

Here's what I'm trying to do:

I'm trying to install this patch (first): 120011-14

This will install additional functionality, (not just upgrade existing patches) to the Solaris 10 box so that I can use "Exclusive IP" on my zones.

However, when I run the patchadd command on it, it says none of the patches are installed and it stops installing the patch all together. It won't install any of the new functionality patches. Is there a log somewhere I can look at?

When i try to install that 120011-14 patch (it's huge), I reside in the same directory I unzipped it to. I then run this command: "patchadd 120011-14 ."

And it comes back and says, Loading patches installed on the system...

Done!

Loading patches requested to install.

For multiple patch installation -M must be specified.
All patches must be in this directory.


And nothing is installed. UGH!

Any ideas on this? Should I just install an entire cluster? What cluster would I install? My Solaris version is:
Solaris 10 6/06 s10s_u2wos_09a SPARC

Thank you again for any help you can provide.

SJ






Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
I would suggest just installing the entire patch cluster, It is located here. ( you want the one that says 'Solaris 10 373.7m)



All you have to do is download it, save it locally to the server, maybe : /var/tmp, unzip it using 'unzip -q'

Make sure you are in single-user mode when install this cluster. So that means you need a console, or a laptop.

To install, just cd into the patch cluster: and run: ./install_cluster, and wait till it asks for a reboot (about 1hr)
 
Thanks! Is that known as Update 4?

Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
no if you want to update from where you are at which it looks like update 2, you are going to have to do a live upgrade.

By patching a system with the latest kernel(cluster patch), it does not bring the OS up to the latest update in Solaris which is now at Solaris10 Update 4 (08/07). Instead the patch clusters fix bugs,closes holes and adds functionality , but it will not jump you from update to update as you are intending to do.

I use live upgrade on our production servers to go from Solaris 10 u3 to solaris10 u4. I have done it more than 50 times, and I have never had an issue.

 
Unfortunatly, I cannot use "live update" because it requires a SunSolve Service Plan (which my company does not have). UGH.

What is the cluster that you recommended (Solaris 10 373.7m) to me?

Also, if I may ask you, how would I go about updating to Update 4 (not using Live Update)?

Thank you for you help!

SJ

Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
you do not need a contract with Sun to use LIVE UPGRADE


the 10 second how to on it is: you just install the latest live upgrade pkgs, run live upgrade, after completion you switch over to the new boot environment (which will be Solaris 10 u4), verify all is well, then you are done.

You will just need to download the latest Solaris10 from Sun (no contract needed, free)

The pkgs needed for live upgrade are located on the new DVD you create from the Solaris 10 download.

I mentioned what the recommended patch cluster is for in my last post.


live upgrade is the only process I know of that will take you 2hrs from start to finish and you are done. every other process is way more in depth. Some SA's do not particularly like live upgrade, I have been using it since it was in alpha and beta testing many many years ago. Of course now, many years later, it is fully recommended and supported by Sun, and has been that way for a while.



 
<<you do not need a contract with Sun to use LIVE UPGRADE>>

I tried this, using Live Update, and it said, "You must have a Sun Service Account" to download these patches.

I read an article on Sun.com that state that the only patches that are free are the "critical security." All other patches must come with a Sun Service Plan.

Can you believe it!? Must have just changed their rules! UGH. I'm stuck now.

Is there a way, if I can find a friend with a paid Sun Service Plan, that he/she can download the Update 4 for me and give to me on a CD or something?

Thanks again!

SJ

Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
<<you do not need a contract with Sun to use LIVE UPGRADE>>

I tried this, using Live Update, and it said, "You must have a Sun Service Account" to download these patches. There is nothing to download, if you know how to download Solaris 10 from Sun's website, that is all the downloading you will need to do.



Live upgrade is free, there is nothing to pay, it is integrated into Solaris. The only reason you will have to upgrade the live upgrade pkgs is because you need to install the live upgrade pkgs on your server of the update you intend to go to. So that means you need to install the live upgrade pkgs on your server that ARE LOCATED Solaris 10 update 4.(which is FREE, no contract is required).

i do not know where you keep getting confused about needing a contract. You DO NOT need a contract.

If you are still unsure, google 'live upgrade' to find the documentation on how to use it. you keep referring to it as live UPDATE, that is wrong.


 
Oh I see!!

sorry, I didn't know "live upgrade" was different. Actually, i did, but I had forgot. sorry about that.

It appears live upgrade is already installed. Can I just upgrade to upgrade 3 or 4 directly? Since I'm not U2 right now, I guess I can only go to U3?

Thanks!

SJ

Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
you can upgrade from Solaris10u2 directly to Solaris10u4.


 
thank you. It's great they give this away for free! I'm amazed. I'll have to do this in order to get IP Exclusive working with the Zones...

thanks again for you help.

SJ

Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
any idea how to do a Live Upgrade without a CDROM? None of my boxes have a CDROM, so it appears I can't do a live upgrade....

thanks

Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
you can create an install image on a NFS server using setup_install_server. Share that filesystem out so it can be seen by the host you intend on live upgrading.

once you have that, when you initiate the live upgrade, instead of ponting to the CDROM, you point to the NFS server that houses your Solaris10_u4 image.

This is actually how I do it, it beats having to deal with CD's
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top