1835230 Members
2506 Online
110078 Solutions
New Discussion

leftover patch files...

 
Erik Voelker_3
Contributor

leftover patch files...

After installing the latest HP Support patch bundle on my 10.20 system, one of
my filesystems is nearly full. I noticed the original patch files were
consuming a good portion of the filesystem, after successfully installing these
patches, do I really need the old, original patch files to remain on the system
(especially since they are so easily attainable through this site)? And if
not, what is the best way to remove these files from my system?

Thanks in advance for any help...

Erik
7 REPLIES 7
Chris Anoruo_1
Frequent Advisor

Re: leftover patch files...

It is not advisable to delete the original software beacuse by default
swinstall will archive the original software in /var/adm/sw/patch/PH**_*****.
If you do not wish to retain a copy of the original software, you can create an
empty filenamed /var/adm/sw/patch/PATCH_NOSAVE.
If this file exists when a patch is installed, the
patch cannot be deinstalled. Please be careful when using this
feature.
You can remove your log files to free up space eg wtmp and btmp or
/var/preserve files.

Regards
Erik Voelker_3
Contributor

Re: leftover patch files...

When looking at the files located in /var/adm/sw/patch, there are quite a few
that have a % before the filename, example: %PNNE_17097, does this mean that
particular patch has been superceded or can be removed?

thanks,
Erik
Chris Anoruo_1
Frequent Advisor

Re: leftover patch files...

YES
Chris Anoruo_1
Frequent Advisor

Re: leftover patch files...

YES, YOU CAN REMOVE THEM TO GAIN SOME SPACE.
Erik Voelker_3
Contributor

Re: leftover patch files...

Can I just rm the files %PH##_#### like I would any other file or should I use
sw?

thanks...
Melvyn Burnard_1
Regular Advisor

Re: leftover patch files...

Use the cleanup command, supplied in patch PHCO_12140 for HP-UX 10.20
This will free up the space occupied by the superseded patches.
Erik Voelker_3
Contributor

Re: leftover patch files...

thank you much... that was exactly what I was looking for.

Erik