1837921 Members
6586 Online
110124 Solutions
New Discussion

Installing Patches

 
SOLVED
Go to solution
Patrick_129
Advisor

Installing Patches

Hi guys,

I just downloaded some patches in .tar format.
I know i can install using 'swinstall' command, but what is the correct syntax?

If i need to uninstall, what the command and syntax i should use?

Thank for all the helps

patrick
9 REPLIES 9
G. Vrijhoeven
Honored Contributor
Solution

Re: Installing Patches

Patrick,

With normal software i would say swremove. But with (kernel) patches, i always prefer putting back an ignite tape. Just to make sure you do not get an unstable system.

Gideon
MarkSyder
Honored Contributor

Re: Installing Patches

The page you downloaded them from should show the correct syntax for each individual patch.

Personally, I always use the gui (swinstall on its own loads gui) as it automatically gets the syntax right without me having to worry about it.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Karthik S S
Honored Contributor

Re: Installing Patches

Untar the package that yo have downloaded. Or if it is a Shell Archive do a "sh filename". This will create a .depot and a .txt file.

For installing,

swinstall -s /path/file_name.depot \*

For removing,

swremove PATCH_ID


Regards,
-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Patrick_129
Advisor

Re: Installing Patches

The patches i downloaded do not have a .depot extension behind, but it have a "create_depot_hp-ux_11" file.
I believed i need to create a depot file first before running the "swinstall"

Am i correct to say,

1)untar the package.

2)run the "ceate_depot_hp-ux_11" file, it will automatically create the depot file for me

3) Run swinstall -s /xx/xxx.depot

right ???

patrick

Thanks guys
G. Vrijhoeven
Honored Contributor

Re: Installing Patches

Patrick,

That right, but if you untar the software, there will be a README if i am correct with extra installation options if needed.

Gideon

MarkSyder
Honored Contributor

Re: Installing Patches

The create depot file is for if you want to create a bundle of patches to install in one go. Are the patches you're installing dependent on each other? If not, it is just as easy to install them individually.

Mark
The triumph of evil requires only that good men do nothing
Patrick_129
Advisor

Re: Installing Patches

Thanks guys :)
Michael Tully
Honored Contributor

Re: Installing Patches

That's right.

You can run swinstall interactively (swinstall with no options) or

# swinstall -s /xx/xxx.depot \*

Just be careful if there are rebootable patches. Suggest you use interactive mode (fully menu driven)
Anyone for a Mutiny ?
Suresh Patoria
Super Advisor

Re: Installing Patches

HI,

After untar u will get the two file

#tar xvf <>

create the depot

#sh PHXX_xxxx

it will extract the two file one is depot and other is text readme file

For installation of patch

#swinstall -s <>

Thanx