Operating System - HP-UX
1837650 Members
2681 Online
110117 Solutions
New Discussion

Re-install of HPUX after applying patches...

 
Robert Taylor_1
Occasional Contributor

Re-install of HPUX after applying patches...

Hi!

On a HP L-class running HPUX B.11.00, I recently installed the patches to take our aC++ compiler up to A.03.31. Unfortunately, being more Solaris minded than HPUX, I didn't use the option to store the back-out info for these patches.

It doesn't appear now that I can remove any of this stuff to take me back to an older version of the compiler (they want A.03.25).

I'm feeling that the only option is a re-install, which I would prefer not to do.

Anyone have any ideas? If I DO have to reinstall HPUX, what's the most painless way to go about it (ie. a simple re-install over the top of what's there, without haveing to reconfigure logical volumes etc.)

Thanks in advance for any help given

Rob
8 REPLIES 8
James R. Ferguson
Acclaimed Contributor

Re: Re-install of HPUX after applying patches...

Hi Robert:

There is no need to be brutal. You should be able to 'swremove' the product and 'swinstall' the version one you want.

Regards!

...JRF...
Michael Tully
Honored Contributor

Re: Re-install of HPUX after applying patches...

Hi Rob,

Did you cut an ignite tape prior to the
installation of the patches or take any form of backup?

If so these could used to recover depending on the type of backup. If not you could be stuffed and will have to do a cold install.

Please advise, so that we can help further.

-Michael
Anyone for a Mutiny ?
Sanjay_6
Honored Contributor

Re: Re-install of HPUX after applying patches...

Hi Robert,

Have you thought about de-installing the new version of compiler (use swremove) and reinstall the old version (swinstall). you need not reinstall the OS for that.

Hope this helps.

Regds
Santosh Nair_1
Honored Contributor

Re: Re-install of HPUX after applying patches...

By defaults HP's packaging tools keeps a backup of patched files. So just doing a swremove should revert the files back to their pre-patch state. In the worst case, you'd have to remove the aCC compiler and re-install it...you shouldn't have to re-install the whole OS to back out a compiler patch (this isn't Microsoft :-)

-Santosh
Life is what's happening while you're busy making other plans
Michael Tully
Honored Contributor

Re: Re-install of HPUX after applying patches...

Hi (again)

I should have read your question more
closely. If it is just a add-on product
you can remove it using the 'swremove'
program and install the version that is
appropriate using 'swinstall' One extra
pice of advice, ALWAYS cut an ignite
tape prior to any software installation.

To cut a tape do this:

# make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn

Be sure to use the no-rewind device.

-Michael
Anyone for a Mutiny ?
Uday_S_Ankolekar
Honored Contributor

Re: Re-install of HPUX after applying patches...

Hi,

If you installed a wrong patch then no need to install entire OS for that..!
Try removing patch by swremove. This will take care of your problem and then install the appropriate patch by running again swinstall

Goodluck
-USA..
Good Luck..
Robert Taylor_1
Occasional Contributor

Re: Re-install of HPUX after applying patches...

Thanks for the flood of responses...

I was trying to use swinstall, but keep getting these sorts of errors:

* Session started for user "root@laverne".

* Beginning Selection
* Target connection succeeded for "laverne:/".
WARNING: The fileset "PHSS_25170.ACXX" has been automatically
deselected because one or more of the filesets in the patch
have been commited or superseded.
NOTE: One or more patch filesets were automatically selected or
deselected to maintain patch integrity. Please refer to the
swremove.log logfile for details.
ERROR: Cannot continue the "swremove" task.
* Selection had errors.

I throught this meant that there is no backout for the patch...

Thanks
Rob
James R. Ferguson
Acclaimed Contributor

Re: Re-install of HPUX after applying patches...

Hi (again) Robert:

Try 'swremove' and specify the *product* -- B3901B, I believe. This is what I was trying to suggest in my first post. If this is successful, then reinstall just this product and any patches for it you want.

Michael's advice to always have an Ignite recovery tape *before* applying patches is good advice, too.

Regards!

...JRF...