Operating System - HP-UX
1838105 Members
3629 Online
110124 Solutions
New Discussion

Re: Unistalling patches...

 
SOLVED
Go to solution
Navin_3
Advisor

Unistalling patches...

Hi all,

Two weeks back i installed Hp-ux dld deadlock patch PHSS_30970 for fixing dld bug. The patch got installed successfully. But now our users are facing problem while compiling c programs. When i look into the files under /usr & /usr/lib, all the header files got overwritten. Is there any other way we can uninstall the patch & make the header files as previous.

If so, pls let me the procudures.



6 REPLIES 6
Ranjith_5
Honored Contributor

Re: Unistalling patches...

Hi Navin,

Use swremove and select the patch and remove.

or use #swremove < product name>

regards,
Syam
Ravi_8
Honored Contributor
Solution

Re: Unistalling patches...


Hi

yes it's possible

#swremove -->options-->list all products

choose the patch Action-->remove
never give up
Navin_3
Advisor

Re: Unistalling patches...

Guys,

I tried with the following comd & it rerurned with some errors.

# swremove PHSS_30970

======= 02/15/05 13:40:49 IST BEGIN swremove SESSION
(non-interactive) (jobid=peterpan-0067)

* Session started for user "root@peterpan".

* Beginning Selection
* Target connection succeeded for "peterpan:/".
* Software selections:
+ BUNDLE,r=B.11.11,a=HP-UX_B.11.11_32/64,v=HP
PHSS_30970.C-ENG-A-MAN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
PHSS_30970.C-INC,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-



* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swremove.last".
ERROR: "peterpan:/": One or more filesystems that appear in the
filesystem table are not mounted and cannot be mounted.
* The analysis phase failed for "peterpan:/".
* Analysis had errors.


NOTE: More information may be found in the agent logfile using the
command "swjob -a log peterpan-0067 @ peterpan:/".

======= 02/15/05 13:41:12 IST END swremove SESSION (non-interactive)
(jobid=peterpan-0067)

I can understand what is the error. We can ignore this error if we do a swremove thru SAM
by unchecking the option "Mount filesystem in /etc/fstab".

Can anyone let me know how to run in command line to remove the patch by ignoring the above error.

Re: Unistalling patches...

Very dangerious operation because the dld.sl library seems to be in the center of HPUX.

I had this kind of pbs and tried to uninstall the patch for dld.sl. It scratched the system and it was impossible to restore by manual operations => Ignite "you 're well come".

So look at a week-end to try to uninstall the patch .
- If it 's Ok you 'r lucky :-)
- Else it's a "known nornal bug" and you can reinstall you computer. :-))

B.R.
Ranjith_5
Honored Contributor

Re: Unistalling patches...

Hi Navin,

Use swremove -x with the following option.

mount_all_filesystems=false
---------------------------

By default, the swremove command attempts to automatically mount all filesystems in the /etc/fstab
file at the beginning of the analysis phase, to ensure that all listed filesystems are mounted before
proceeding. This policy helps to ensure that files which may be on mounted filesystems are available to be removed.If set to false, the mount operation is not attempted,and no check of the current mounts is performed.

you can also add this entry to the /var/adm/sw/defaults file to make this option by default.

regards,
Syam
Navin_3
Advisor

Re: Unistalling patches...

Thanks syam..Thanks all. It's working now

Regards,
Navin