Operating System - HP-UX
1833005 Members
2839 Online
110048 Solutions
New Discussion

[ Silent uninstallation with swremove ]

 
SOLVED
Go to solution
madhavabk
Regular Advisor

[ Silent uninstallation with swremove ]

Hi ,

Thanks in advance .

I would like to know is there any option or way to uninstall products on HP with out any interface ( i mean GUI ) and swremove should not put any out output on to screen. ( silent mode. )

4 REPLIES 4
Ravi_8
Honored Contributor

Re: [ Silent uninstallation with swremove ]

Hi

swremove -r

product name --> 1st column in the o/p of swlist
version --> 2nd column in the o/p of swlist
never give up
madhavabk
Regular Advisor

Re: [ Silent uninstallation with swremove ]

Hello I am not clear with the solution that u have suggested,

As i know -r option is for alternate root support.

My question is : - when i try to uninstall a product through a script i dont want the out put messages on to the screen. It should uninstall with out giving any output.

Thanks
Peter Leddy_1
Esteemed Contributor
Solution

Re: [ Silent uninstallation with swremove ]

Hi,

You can use the -x option with the verbose option which turns output on/off.

swremove -x verbose=0 ....

Check the man page for swremove it gives more details.

Regards,

Peter
madhavabk
Regular Advisor

Re: [ Silent uninstallation with swremove ]

Yes we can run with verbose=0 level it will not put any out put.

Thanks