1846907 Members
4298 Online
110256 Solutions
New Discussion

Patch Problem

 
Tom Jackson
Valued Contributor

Patch Problem

Hi:

I tried installing several patches using the patch database, but it didn't work. I downloaded the patches, ran the create_depot script, ran swinstall, then rebooted. During the reboot I got a "Failed" while "configuring all unconfigured filesets". Here's what the log says:

ERROR: The dependencies for fileset "PHKL_25729.CORE2-KRN,l=/,r=1.0"
cannot be resolved (see previous lines).
You must resolve the above dependencies before operating on
this fileset or change the "enforce_dependencies" option to
"false".
The corequisite "PHKL_27294.CORE2-KRN,fa=HP-UX_B.11.11_64" for
fileset "PHKL_27091.CORE2-KRN,l=/,r=1.0" cannot be
successfully resolved.
The corequisite "PHKL_27093.CORE2-KRN,fa=HP-UX_B.11.11_64" for
fileset "PHKL_27091.CORE2-KRN,l=/,r=1.0" cannot be
successfully resolved.
ERROR: The dependencies for fileset "PHKL_27091.CORE2-KRN,l=/,r=1.0"
cannot be resolved (see previous lines).
You must resolve the above dependencies before operating on
this fileset or change the "enforce_dependencies" option to
"false".
* The software "PHKL_25729.CORE2-KRN,l=/,r=1.0" is not in the
correct state (AVAILABLE, INSTALLED, or CONFIGURED). You will
need to recopy, reinstall or configure this software before
operating on software that depends on it.
The corequisite "PHKL_25729.CORE2-KRN,fa=HP-UX_B.11.11_64" for
fileset "PHKL_27317.CORE2-KRN,l=/,r=1.0" cannot be
successfully resolved.
ERROR: The dependencies for fileset "PHKL_27317.CORE2-KRN,l=/,r=1.0"
cannot be resolved (see previous lines).
You must resolve the above dependencies before operating on
this fileset or change the "enforce_dependencies" option to
"false".

* Summary of Analysis Phase:
ERROR: Exclude PHKL_25729.CORE2-KRN,l=/,r=1.0
ERROR: Exclude PHKL_27091.CORE2-KRN,l=/,r=1.0
ERROR: Exclude PHKL_27317.CORE2-KRN,l=/,r=1.0
ERROR: 3 of 30 filesets had Errors.
* 27 of 30 filesets had no Errors or Warnings.
ERROR: The Analysis Phase had errors. See the above output for
details.

For some reason the patch database did not down one of my dependancies.

Should I download and swinstall PHKL_25728? Will a reboot try to configure the three patches that depend on PHKL_25728?

Tom
8 REPLIES 8
Tom Jackson
Valued Contributor

Re: Patch Problem

Hi again:

ISorry I left out the most important part of the error. This displayed before the error in my previous post. Sorry for the confusion.

NOTE: The filesystems in the filesystem table will not be checked
against those currently mounted because the
"mount_all_filesystems" option is set to "false".
The corequisite "PHKL_25728.CORE2-KRN,fa=HP-UX_B.11.11_64" for
fileset "PHKL_25729.CORE2-KRN,l=/,r=1.0" cannot be
successfully resolved.
Armin Feller
Honored Contributor

Re: Patch Problem

Hi,

you should download following patches:

PHKL_25729 PHKL_27091 PHKL_27094 PHKL_27096 PHKL_27317

and re-install them.


Since swinstall wants the filesets from PHKL_25729, PHKL_27091, PHKL_27317 to be present for this installation, try adding PHKL_25729, PHKL_27091, PHKL_27317 to your depot and run swinstall once again. This should clear the dependency errors that the system is throwing out to you.

Go ahead and download PHKL_25729, PHKL_27091, PHKL_27317 by itself to your system to somewhere outside
of your depot. Then do the following:

sh PHKL_27317.depot --> This will unshar the patch and leave you with two files. (PHKL_depot and a .txt file). Then run this command to add this patch to your depot directory with the rest of the patches:

swcopy -x enforce_dependencies=false -s /tmp/PHKL_27317.depot \* @ /mydepot

Now, when you run swinstall, be sure you don't change the default settings to REINSTALL file sets:

swinstall -s /mydepot



Best regards,
Armin
Ravi_8
Honored Contributor

Re: Patch Problem

Hi,

boot from the previous kernel file if you have.
while installing use the option '-x enforce_dependencies=false'
never give up
Armin Feller
Honored Contributor

Re: Patch Problem

run

# swverify \*

and check for more hints in

/.sw/sessions/swverify.last

regards,
Armin
Steven E. Protter
Exalted Contributor

Re: Patch Problem

Go to itrc.hp.com

click individual patches, and search for and select for download every patch you need and those recommended above.

It will build you a download that will include dependencies.

Download it.

Put it on your box.

unzip patches.zip

rund the create depot script with a -d /name of depot command.

This builds a single run patch depot.

Then run the swinstall as follows:

swinstall -x autoreboot=true -x reinstall=false (plus those special install options) -s /name of depot \*

This will hook you up and avoid the problems, unless there are problems with the patches themselves. That's happened to me yesterday. In the case of that patch, I removed it and forgot about it. HP will eventually supersede it anyway.

Steve
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
G. Vrijhoeven
Honored Contributor

Re: Patch Problem

Hi Tom,

I hope you made an ignite tape before instalation.

The solution could be installing PHKL_25728, It looks like the installation never took place since the dependencies could not be resolved in the analise phase of the installation.

Did you manualy reboot the system?


Gideon
Tom Jackson
Valued Contributor

Re: Patch Problem

Hi:

Yesterday, I posted a message because I was confused about patch dependancies. The HP Patch DB was the recommended solution. Before Using the Patch DB, I looked into patch dependancies myself. There are three patches that did not get selected, bundled, and downloaded when I used the patch DB: PHKL_25728, PHKL_27294 and PHKL_27093. All three missing patches generated an errorduring thte reboot after swinstall. None of the three patches have dependancies. Can If I download and install each patch will the patches that depend on the three patches be configured and installed correctly?

Gideon:

No ignote tape (no tape drive), but I have a mirror backup. I run a cron job nightly to mirror my system disk.

Tom
Tom Jackson
Valued Contributor

Re: Patch Problem

Hi:

i tried installing PHKL_25728, PHKL_27294, and PHKL_27093 but it wouldn't install PHKL_25728 because it was superseded by PHKL_27317.

I rebooted from my mirror disk and will try again tomorrow morning.

Any other suggestions???

Tom :^