HP UX Patch Management manual Removing software from a directory depot, Verification succeeded

Page 74

"/.sw/sessions/swverify.last".

*The analysis phase succeeded for

"my_system:/my_depots/new_directory_depot".

*Verification succeeded.

NOTE: More information may be found in the agent logfile using the command "swjob -a log my_system-0831 @ my_system:/my_depots/new_directory_depot".

======= 05/03/04 12:28:51 MDT END swverify SESSION (non-interactive) (jobid=my_system-0831)

The following example verifies the directory depot /my_depots/PHSS_30278_depot/. This depot contains one patch, PHSS_30278. This patch is dependent on patch PHSS_29657, which is not included in the depot. Because of this, the verification failed. The command output indicates how you can obtain more information about the failure. In this case, if patch PHSS_29657 is already installed on the target system, you can use depot PHSS_30278_depot for installation of patch PHSS_30278, even though the depot failed verification.

For example:

$ swverify -d \* @ /my_depots/PHSS_30278_depot

======= 05/03/04 13:04:00 MDT BEGIN swverify SESSION (non-interactive) (jobid=my_system-0841)

*Session started for user "some_user@my_system".

*Beginning Selection

*Target connection succeeded for

"my_system:/my_depots/PHSS_30278_depot".

NOTE: The software "PHSS_30278" 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: PHSS_29657.LANG-AUX,fa=HP-UX_B.11.23_IA

*Software selections:

PHSS_30278.F90-JPN-E-MAN,r=1.0,a=HP-UX_B.11.23_IA/PA, v=HP,fr=1.0, fa=HP-UX_B.11.23_IA/PA PHSS_30278.F90-JPN-S-MAN,r=1.0,a=HP-UX_B.11.23_IA/PA, v=HP,fr=1.0, fa=HP-UX_B.11.23_IA/PA PHSS_30278.F90-RELNOTES,r=1.0,a=HP-UX_B.11.23_IA/PA, v=HP,fr=1.0, fa=HP-UX_B.11.23_IA PHSS_30278.FORT90-MAN,r=1.0,a=HP-UX_B.11.23_IA/PA, v=HP,fr=1.0, fa=HP-UX_B.11.23_IA/PA PHSS_30278.FORT90-PRG,r=1.0,a=HP-UX_B.11.23_IA/PA, v=HP,fr=1.0, fa=HP-UX_B.11.23_IA

*Selection succeeded.

*Beginning Analysis

*Session selections have been saved in the file "/.sw/sessions/swverify.last".

ERROR: "my_system:/my_depots/PHSS_30278_depot": The software dependencies for 1 products or filesets cannot be resolved.

*The analysis phase failed for

"my_system:/my_depots/PHSS_30278_depot".

*Verification had errors.

NOTE: More information may be found in the agent logfile using the command "swjob -a log my_system-0841 @ my_system:/my_depots/PHSS_30278_depot".

======= 05/03/04 13:04:01 MDT END swverify SESSION (non-interactive) (jobid=my_system-0841)

Removing software from a directory depot

If you need to remove patches from a directory depot, you can do so by using the swremove command.

74 Using software depots for patch management

Image 74
Contents Patch Management User Guide for HP-UX 11.x Systems Revision history Table of Contents What are standard HP-UX patch bundles? Using Dynamic Root Disk for patch management 104 107HP-UX patches and patch management Patch management strategiesHow to get patches Where to startBefore you begin Quick start guide for patching HP-UX systemsOverview Should you use standard HP-UX patch bundles?Acquiring the bundles Acquiring and installing standard HP-UX patch bundlesStandard HP-UX patch bundles Installing the bundles As root, run the createdepothp-ux11scriptAdvanced topic using Dynamic Root Disk DRD SwlistAcquiring and installing individual patches Acquiring the patchesQuick start guide for patching HP-UX systems Installing the patches Swverify -d \* @ /tmp/somepatchdirectory/depotAdvanced topic using Dynamic Root Disk DRD Patch identification HP-UX patch overviewPatch-related concepts HP-UX software structurePatch bundles Software depots and patch depotsPatch status Patch stateSwlist -l fileset -a state grep patchid StateCategory tags Which patches are on a system? Swlist -l product -a categorytag patchidExamples of the swlist command For example$ swlist -l product *,c=patch $ swlist -l product *,c=manualdependencies $ swlist -l bundle @ somesystem$ swlist -l fileset -a ancestor PHSS29183 Ancestors and supersessionAncestors $ swlist -a appliedpatches Xserver.AGRM SupersessionSwlist -a appliedpatches filesetname Swlist -l patch -x showsupersededpatches=true Showpatches -s$ swlist -l fileset -a supersedes PHSS28681 Swlist -a patchstate -x showsupersededpatches=true patchidPatch-related attributes HP-UX Patch Supersession ChainSee Category tags Corequisites and prerequisites Patch dependenciesTypes of dependencies Swlist -vl fileset -a dependencytype fileset Enforced and unenforced manual dependenciesImpact of dependencies on acquiring patches Patch commitment Patch rollback and commitmentPatch rollback HP-UX patch ratings Advanced topic patch cleanup utilityCleanup -p -c number HP patch rating Rating detailsPatch documentation Critical and noncritical patchesFinding information for a specific patch $ swlist -l product -a categorytag PHSS30011Subset of fields in patch text file and patch details Advanced topic the readme attribute Obtaining information using the ItrcPatch warnings Swlist -l product -a readme patchid moreCritical and noncritical warnings Advanced topic finding patches with warnings How to handle patch warningsQuestions to ask Backup and recovery ConsiderationsPatch management overview Patch management life cyclePatch management life cycle Patch management overview Establishing a software change management strategy Restrictive Conservative InnovativeRecommendations for software change management Operational factor and patch management strategy matrixConsideration of HP patch rating Patch management and software depotsProactive patching strategy Acquiring patches for proactive patchingReactive patching strategy Advanced topic HP-UX Software AssistantAdvanced topic security patching strategy Acquiring patches for reactive patchingTesting the patches to be installed Advanced topic scanning for security patchesStandard HP-UX patch bundles Key featuresWhat are standard HP-UX patch bundles? Obtaining standard HP-UX patch bundles Standard HP-UX patch bundle use and release datesQuick start guide for patching HP-UX systems Useful pages on the Itrc Using the IT Resource CenterObtaining an Itrc user account Find individual patchesKey features Accessing the patch database and finding an individual patchClick the add to selected patch list button Using the IT Resource Center Advanced topic checking for all patch dependencies Check for patches with dependenciesUsing the IT Resource Center Click the add to selected patch list button Support information digests Standard patch bundlesCustom patch bundles run a patch assessment Ask your peers in the forumsSearch knowledge base Using software depots for patch management Common software distributor commands for patchingDepot types Directory depotsUsing depots Tape depotsSwlist -l depot Viewing depotsChoosing depot type and depot location $ swlist -l depot @ swdepot.xyz.com $ swlist -l depotSwlist -l depot @ remotesystem Creating and adding to a directory depot Copying patches to depots Depot/patches/11.11Copying products with patch dependencies to depots Registering and unregistering directory depotsAdvanced topic HP-UX Software Assistant $ swreg -l depot /depot/patches/2003-07periodicdepot Advanced topic access control listsExamples of registering and unregistering depots $ swreg -u -l depot /depot/patches/2003-07periodicdepot$ swverify -d \* @ /mydepots/newdirectorydepot Verifying directory depotsExamples of verifying directory depots Verification succeeded Verification had errorsRemoving software from a directory depot $ swverify -d \* @ /mydepots/PHSS30278depotExecution succeeded $ swlist -l product -d @ /mydepots/patchdepot $ /usr/sbin/cleanup -d /mydepots/patchdepotAdvanced topic removing superseded patches from a depot $ swlist -l product @ /mydepots/patchdepot Installing patches from a depotRemoving a directory depot $ swreg -u -l depot /mydepots/PHCO27780depotReboots the system when required Examples of installing patches from a depot Analysis succeededAnalysis and Execution succeeded Installing products with patch dependencies from a depotCustom patch bundles Rev Bundle Description Examples of listing patches and bundlesRev Patch description Creating a custom bundle $ swlist -d @ /mydepots/temporarydepotAnalysis succeeded Finally, remove the temporary depot Using HP-UX Software Assistant for patch management For more informationUsing Dynamic Root Disk for patch management Drd1m Benefits of the Patch Assessment Tool Using the Patch Assessment ToolPatch Assessment Tool Example of running the Patch Assessment Tool Select upload new system information Related information Support and other resourcesContacting HP Non-HP websites Typographic conventionsHP websites Times Patch usage models Patch usage model 1 hardware/application software change Components in test Image Then productionDRD Begi n Product needs to be certified on HP-UX 11i v2/v3 Patch usage model 3 operating environment cold install Patch usage model 3 operating environment cold install Patch usage model 4 operating environment update Patch usage model 4 operating environment update Patch usage model 5 proactive patch Create clonePatch usage model 6 reactive patch Passed? SystemGlossary AncestorIPD SWA Index Index See also HWE Index