- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Patching dependancies - the chase
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 02:37 PM
08-14-2002 02:37 PM
Patching dependancies - the chase
Then I begin getting errors about dependancies but I know when I went to the site to download the patches that the dependancies were included.
I've got over 20 patches here.
1) Is there a "global" swcopy for XXX.depot patch files?
2) If I did in fact download the the dependancies (and I did - I checked) then why do I still get errors like the following?
"usimagen:/downloads/hppatches/netpatchdepot".
NOTE: The software "PHKL_24729" was successfully marked, but it
depends on the following software items which could not be
found in the source. However, these items may already be in
the target. This will be checked during the Analysis Phase:
PHKL_18543.CORE2-KRN,fr=*,fa=HP-UX_B.11.00_32,v=HP
PHKL_18543.CORE2-KRN,fr=*,fa=HP-UX_B.11.00_64,v=HP
* Source: /downloads/hppatches/PHKL_24729.depot
* Targets:
usimagen:/downloads/hppatches/netpatchdepot
* Software selections:
PHKL_24729.CORE2-KRN,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fr=1.0,fa=HP-
UX_B.11.00_32
PHKL_24729.CORE2-KRN,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fr=1.0,fa=HP-
UX_B.11.00_64
* Selection succeeded.
* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swcopy.last".
ERROR: "usimagen:/downloads/hppatches/netpatchdepot": The software
dependencies for 2 products or filesets cannot be resolved.
* The analysis phase failed for
"usimagen:/downloads/hppatches/netpatchdepot".
* Analysis had errors.
NOTE: More information may be found in the agent logfile (location
is usimagen:/downloads/hppatches/netpatchdepot/swagent.log).
======= 08/14/02 17:36:05 CDT END swcopy SESSION (non-interactive)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 02:58 PM
08-14-2002 02:58 PM
Re: Patching dependancies - the chase
for PATCH in `ls *.depot`
do
PATCH_NAME="`echo $PATCH | awk -F'.' '{print $1}'`"
swcopy -s ...DIR_PATH../$PATCH $PATCH_NAME @ .../DEPOT_PATH OPTION_TO_IGNORE_DEPENDENCIES
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 11:04 PM
08-14-2002 11:04 PM
Re: Patching dependancies - the chase
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2002 11:22 PM
08-14-2002 11:22 PM
Re: Patching dependancies - the chase
Here is an example.
# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2002 12:12 AM
08-15-2002 12:12 AM
Re: Patching dependancies - the chase
While running a swcopy, I get an error regarding dependencies. How do I fix?
Well as it is asking about PHKL_18543, you must ensure this IS on your system.
However, to do the copy, just mark the enforce_dependencies to be equal to false.
When you come to do the swinstall, ensure the enforce_dependencies is set to true, and the patch should then check for PHKL_18543 , find it and install ok.
But as said previously, ensure you have a good backup before proceeding. "A stitch in time saves nine" as the old proverb goes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2002 01:16 AM
08-15-2002 01:16 AM
Re: Patching dependancies - the chase
I have expereinced the exact same problem as yourself before. I think it was actually with the same patch (PHKL_18543).
I use swcopy as follows, for example:
swcopy ???s /tmp/Patches/PHKL_XXXX.depot -x enforce_dependencies=false \* @ /var/spool/patchdepot
swcopy command does not check which patches are already installed on the server when checking for resolved patch dependencies. It checks which other patches are in the depot for dependencies. If your patch dependencies are already installed on the system (and therefore not required in the depot), set the enforce_dependencies parameter to false.
Hope this is of help,
Cheers,
Gordon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2002 05:11 AM
08-15-2002 05:11 AM
Re: Patching dependancies - the chase
As already noted, you can add the option '-x enforce_dependencies=false' to your 'swcopy' to allow the patch collection to be bundled even if all patch dependencies are not met.
You may elect to 'swcopy' patches that you already have installed merely to affect a successful 'swcopy' and subsequently allow 'swinstall' to skip them if they are already installed.
The choice is yours, given that you *do* enforce dependencies during the 'swinstall' session. In that case, any dependencies satisfied by their presence as installed and configured entities on the server yield as successful installation.
Regards!
...JRF...
The new ITRC patch interface greatly improves dependency collection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 10:23 AM
08-16-2002 10:23 AM
Re: Patching dependancies - the chase
You likely already have PHKL_18543 installed on the system on which you plan to apply these patches. However, under some circumstances, you may find that you need to reapply this patch. This is because PHKL_18543 (aka "the LITS patch) affects many filesets that comprise core portions of the operating system, as well as optional software filesets.
If this is the only patch about which you are receiving complaints (very possible), I would go ahead and download this patch and add it to the depot.
The important thing to do is to make sure that when you run swinstall, you DO NOT alter the default options of reinstall=false or reinstall files=false. If you set either of these =true, you stand a very good chance of rendering your system unbootable (particularly if your root filesystem is configured to use VxFS, but still possible otherwise).
As long as the reinstall options are left at the default setting of false, this patch is safe to reapply (and may be necessary to reapply). This is because it's possible to have installed some optional system software that should be patched by the LITS patch, after this patch was applied. In this case, those filesets would be unpatched, since they weren't available to be patched when the LITS patch was first installed. (That got kind of wordy, but it's a confusing situation for many!)
I hope this helps!
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 01:58 PM
08-16-2002 01:58 PM
Re: Patching dependancies - the chase
You should use the CUSTOM PATCH MANAGER, which will eliminate this issue! Just follow the instructions.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 04:35 PM
08-16-2002 04:35 PM
Re: Patching dependancies - the chase
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x96b70bce6f33d6118fff0090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x316efd3f91d3d5118ff40090279cd0f9,00.html
Great help in finding them:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1e6f84534efbd5118ff40090279cd0f9,00.html
live free or die
harry