Ian Collins wrote:
> Dave Miner wrote:
> 
>> Ian Collins wrote:
>>
>>> I've just performed a live upgrade on a build 49 system to build 53.
>>> The following packages failed to install in the new BE:
>>>
>>> bash-3.00# more /mnt/var/sadm/system/data/upgrade_failed_pkgadds
>>> SUNWcacaort
>>> SUNWj5rtx
>>> SUNWj5dmx
>>> SUNWj5dvx
>>>
>>> Earlier in the week, I ran PCA to patch up my Studio tools and I see the
>>> following J2SE patches where installed as well:
>>>
>>> 118668 06 < 09 -S-  21 J2SE 5.0_x86: update 9 patch (5.0u9)
>>> 118669 06 < 09 -S-  20 J2SE 5.0_x86: update 9 patch (5.0u9), 64bit
>>>
>>> Could the two be related?
>>>
>> Maybe, but you'd need to look at the upgrade log
>> (/var/sadm/system/logs/upgrade_log) to understand what the specific
>> failures were.
>>
> OK, It looks like the patches were removed:
> 
> Removing package SUNWspeex-devel:
> 
> Removal of <SUNWspeex-devel> was successful.
> Removing patch 116303-02 from the system.
> Removing patch 116299-20 from the system.
> Removing patch 118669-09 from the system.
> Removing patch 118669-07 from the system.
> Removing patch 124466-02 from the system.
> Removing patch 118668-09 from the system.
> Removing patch 118668-07 from the system.
> 
> All the failures where of this form:
> 
> pkgadd: ERROR: The package <SUNWcacaort> is currently installed on the
> system in the
> global zone. To install the new instance of this package in the global
> zone only, you must specify the -G option. To install the new instance
> of this package in all zones you must first remove the existing instance
> of this package from the global zone first (via pkgrm) and then install
> the new instance of this package in all zones.
> pkgadd: ERROR: package <SUNWcacaort> cannot be installed on this system/zone
> pkgadd return code = 1
> 

This happens because packages get added to 
/var/sadm/install/gz-only-packages file and not removed; I think we've 
fixed the patch tools so this shouldn't happen now.  You should be able 
to just remove those packages from the file (in fact, you can remove all 
of them since you've uninstalled the zone) and run the upgrade again.

> The system had a zone, but it was removed prior to the upgrade (so the
> upgrade would run):
> 
> bash-3.00# zoneadm list
> global
> 

Next time you'll have the option of upgrading with the zone in place.

Dave

Reply via email to