1838703 Members
3397 Online
110128 Solutions
New Discussion

Re: Removing sw

 
SOLVED
Go to solution
Vince Klingler
Occasional Contributor

Removing sw

After I install a patch can I remove the SW point I created and is there a specific method to removing it or should I just delete it?
7 REPLIES 7
Helen French
Honored Contributor

Re: Removing sw

If you are talking about the source (downloaded files) that was used for installing the patch, you can just delete it manually from the directory. There is no additional steps needed to remove it.

If you want to remove an installed software depot or patch, use 'swremove' command.
Life is a promise, fulfill it!
Robert-Jan Goossens
Honored Contributor

Re: Removing sw

Hi,

Download patch /tmp
install patch swinstall
remove /tmp/patch source

You mean above steps.

Kind regards
Robert-Jan
Vince Klingler
Occasional Contributor

Re: Removing sw

Does removing the software depot affect the patch it applied?
thanks
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Removing sw

Hi,

If it is in patch.depot format, you can simply delete it with 'rm' command.

If it is in swdepot format (swlist -l depot), then you need to use 'swremove -d' to remove it.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
MarkSyder
Honored Contributor

Re: Removing sw

No - it's safe to remove the depot file. It will not remove the software you have installed.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Robert-Jan Goossens
Honored Contributor

Re: Removing sw

Vince,

swremove will remove the installed patch.

removing /tmp/patch will not have any effect on the installed patch. patches are saved in the /var/adm/sw directory.

Robert-Jan
Helen French
Honored Contributor

Re: Removing sw

For the last question:

Removing your original source depot (installation depot) will not affect your installed softwares or patches. When you install the patch or a software it's actually get installed in SD-UX form and in appropriate directories (like /var/adm/sw, /opt etc)

Read more:

# man swinstall
# man swagentd
Life is a promise, fulfill it!