Volume Manager (VxVM) 5.1SP1RP3P2 patch and above fails to install if VxVM 5.1SP1RP3P1 patch is installed

book

Article ID: 100011144

calendar_today

Updated On:

Description

Error Message

If VxVM 5.1SP1RP3P1 (142630-17) is already installed on the system, patchadd command would fail with:
 

# patchadd 142630-19
Validating patches...
[...]
Checking installed patches...

Patch 142630-19 failed to install due to a failure produced by pkgadd.

See /var/sadm/patch/142630-19/log for details

Patchadd is terminating.
#


# cat /var/sadm/patch/142630-19/log

This appears to be an attempt to install the same architecture and
version of a package which is already installed.  This installation
will attempt to overwrite this package.

 Patch 5.1SP1RP3P1 (5.1.103.10[0-5]) is already installed on the system.
 Remove 5.1SP1RP3P1 (5.1.103.10[0-5]) prior to installing the current patch.

pkgadd: ERROR: checkinstall script did not complete successfully
Dryrun complete.
No changes were made to the system.

 

Cause

Due to a rollback issue with VxVM 5.1SP1RP3P1 (142630-17) patch, a check was introduced in the 'checkinstall' script of all the subsequent VxVM patches which would prevent installation of the superseded patch. This was to ensure that the new patch could be rolled back successfully if needed.

Following check was introduced in the 'checkinstall' script of the superseded patches:

 

p1patch_status=`pkginfo -l VRTSvxvm | grep PSTAMP | grep -c 5.1.103.10[0-5]`
if [ $p1patch_status -gt 0 ]; then
        echo " Patch 5.1SP1RP3P1 (5.1.103.10[0-5]) is already installed on the system."
        echo " Remove 5.1SP1RP3P1 (5.1.103.10[0-5]) prior to installing the current patch."
        echo
        exit 1
fi

 

 

This issue is tracked via Etrack incident # 3185250 mentioned in the Supplemental Materials section.

Resolution

Below procedure should be followed to install the superseded patches.

1) Remove VxVM 5.1SP1RP3P1 patch

# patchrm 142630-17

2) Install the superseded VxVM patch

# patchadd 142630-19

 


Applies To

This issue is applicable to systems running:

-Solaris x64 platform

-VxVM 5.1SP1RP3P1 (142630-17) installed

-VxVM 5.1SP1RP3P2 (142630-18) or above is being installed

 

Issue/Introduction

Volume Manager (VxVM) 5.1SP1RP3P2 patch (142630-18) and above fails to install if VxVM 5.1SP1RP3P1 (142630-17) patch is already installed on the system.

Additional Information

ETrack: 3185250