1832348 Members
2843 Online
110041 Solutions
New Discussion

cleanup of patches

 
SOLVED
Go to solution
Daniel Ubeda
Frequent Advisor

cleanup of patches

Hi,

I will try to commit patches with:
cleanup -d /var/adm/sw/save
and I get :

ERROR: The expected depot or root does not exist at
"/var/adm/sw/save".
ERROR: There is currently no depot software on host "syrah" at
location "/var/adm/sw/save". Make sure that an
absolute pathname is specified for location (beginning with
"/").

which is the correct sintax of ??
thanks
Daniel
6 REPLIES 6
Darrell Allen
Honored Contributor
Solution

Re: cleanup of patches

Hi,

If committing installed patches, omit the "-d" argument. man cleanup for more information.

I suggest you use the "-p" option the first time to preview what cleanup is going to do.

I further suggest you only commit patches that have been superceded 2 or more times by using "-c 2". If disk space is very limited, you could use "-c 1".

The command line I recommend you use first is:
cleanup -p -c 2

And before you do anything, create an Ignite backup of your system.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Telia BackOffice
Valued Contributor

Re: cleanup of patches

You should use the command:

cleanup -c 1

The cleanup -c command can be executed to commit all patches that have been superseded specified number of times. The only benefit from committing patches is that disk space will be recovered in the /var/adm/sw/save directory.

BR,
Jannik
Helen French
Honored Contributor

Re: cleanup of patches

While doing a patch cleanup, try this command:
# cleanup -c 1

This will commit patches which has been superceded atleast 1 time.
Life is a promise, fulfill it!
Daniel Ubeda
Frequent Advisor

Re: cleanup of patches

Thank !!!
I will run cleanup -c 1 !!!

thanks again
Daniel
Joaquin Gil de Vergara
Respected Contributor

Re: cleanup of patches

Daniel

Deberias asignar puntos a toda esta gente que te ha ayudado.

Son las normas del foro y podr??an dejar de ayudarte en futuras consultas

Saludos!
Teach is the best way to learn
Daniel Ubeda
Frequent Advisor

Re: cleanup of patches

Joaquin,

sorry, lo habia hecho pero al hacer commit se ve que no se actualiz?? la pagina.

saludos
Daniel