Problems patching up my system

I have my Solaris 10 01/06 up and running on a P4 HT with 64 bit support.

The kernel patch is 118844_26 (if I remind me well) and it runs smoothly.

I use the update manager's gui to update the system and most of the patches are installed without any trouble.

There are, however, some patches I am unable to install due to a lack of space at /var.

It seems that the backout data is consuming all the space in the device.

After some search on the internet I came across a solution: to remove the backout data.

I found out, that if I remove all the directories at /var/sadm/pkg the update manager stops working. It stalls in when I try to analyze the system. If I put the directories back, the update manager works just fine again.

Now the question: is it possible to dispose of the backout data? how is it done?

[859 byte] By [LeoRodriguesa] at [2007-11-27 0:27:22]
# 1

Don't remove /var/sadm/pkg.

Instead, remove /var/sadm/pkg/<PKGname>/save/*

The save directory for each package contains one

backout script for each patch that has been applied

to that package.

NB.

This will mean you can't create zones, unless you

check that you remove *only* the undo.Z file, not the pspool,

likes this:

# find /var/spool/pkg -type f -name undo.Z -ok rm {} \;

NB2.

Are you absolutely certain none of the patches will need to

be backed out?

kidari..a at 2007-7-11 22:27:03 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
I am planning on removing the "undo" files only after verifying that the patches I have applied are working properly.
LeoRodriguesa at 2007-7-11 22:27:03 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...