Re: Remove bad patch from Quality Pack PRIOR to installing. (112 Views)
Reply
Trusted Contributor
Steve Post
Posts: 1,058
Registered: ‎09-13-1998
Message 1 of 7 (112 Views)

Remove bad patch from Quality Pack PRIOR to installing.

HP9000, V2500 running with hpux11.00

I want to put in patches onto the box. I ran the custom patch assessment. It made a hostname.fs file. I loaded that in, and got a set of patches.

One of the patches selected is the Mar2004 Quality Pack. B.11.00.64.4. (I have that on CD).

At the bottom of the patch assessment is says:
"The following issue(s) have no recommendations:", and it lists some patches.

One of the patches listed is PHCO_27369. Based on what I saw in the readme
file for QPK1100, I really do not want this patch installed.

1. How can I install the Mar2004 Quality pack without installing the set of
patches listed:

in qpk bundle
PHCO_23652 non-crit warning
PHCO_27369 critical warning
PHCO_27375 non-crit warning<--bad patch for me.
PHCO_28630 critical warning

thanks. steve
Honored Contributor
Jeff_Traigle
Posts: 1,354
Registered: ‎03-04-2004
Message 2 of 7 (112 Views)

Re: Remove bad patch from Quality Pack PRIOR to installing.

You should be able to use the TUI/GUI for swinstall for this. Once you select the entire bundle, you can then drill down in the interface and deselect the patches that you don't want to include. I don't know that there's an easy way to do this from the command line.
--
Jeff Traigle
Honored Contributor
Eric Antunes
Posts: 1,931
Registered: ‎06-15-2003
Message 3 of 7 (112 Views)

Re: Remove bad patch from Quality Pack PRIOR to installing.

Hi Steve,

The only way you can do that is listing the patches on the Quality Pack CD and downloading only those you want here, on ITRC! That's what I'm doing...

Each and every day is a good day to learn.
Frequent Advisor
Steve Kruger
Posts: 27
Registered: ‎03-17-2004
Message 4 of 7 (112 Views)

Re: Remove bad patch from Quality Pack PRIOR to installing.

Another alternative:
Since all of the patches do not require a system reboot, the complete Quality pack could be installed first. After the Quality Pack is installed, the "patches with warnings" could be removed and replaced with the applicable replacements or previous versions.

Note: When removing "patches with warnings" you need to make sure that the particular patch that you are removing is not a dependency for another patch.
Trusted Contributor
Steve Post
Posts: 1,058
Registered: ‎09-13-1998
Message 5 of 7 (112 Views)

Re: Remove bad patch from Quality Pack PRIOR to installing.

I called hp support and got an answer. Thanks for your suggestions. I think this is a better way. But points are coming.

...their solution which I'll use:

I need a big, empty disk to copy the QPK1100 from the CDROM to.

1. I use swcopy to copy the QPK1100 from the cdrom to /dsk/QPK1100.
2. I use swremove to take out the two patches that will destroy the computer (i.e. I REALLY do NOT want to install them).
I take the patches out of /dsk/QPK1100, a depot.
3. I use swcopy to add more patches I need to /dsk/QPK1100.

4. Then instead of installing QPK from the CD, I install (ahem swinstall) from /dsk/QPK1100.

the commands for the same steps.
1. swcopy -s /SD_CDROM/QPK1100 \* @ /dsk/QPK1100

2. swremove -d PHCO_27369 @ /dsk/QPK1100

3. swcopy -s /dsk/other/PHCO_24437.depot @ /dsk/QPK1100

4. swinstall -s /dsk/QPK1100

I would examine the dependencies in the analysis portion of the installation.

steve
Honored Contributor
Eric Antunes
Posts: 1,931
Registered: ‎06-15-2003
Message 6 of 7 (112 Views)

Re: Remove bad patch from Quality Pack PRIOR to installing.

Hi Steve,

That's a good solution and I'll may need it since there are some huge patches that I can't download until the end...
Each and every day is a good day to learn.
Trusted Contributor
Steve Post
Posts: 1,058
Registered: ‎09-13-1998
Message 7 of 7 (112 Views)

Re: Remove bad patch from Quality Pack PRIOR to installing.

It looks almost ok. There are two things I don't like.

1. When I run swinstall -s /dsk/QPK1100, I run it interactively. I see the title is still a "quality pack." But I would rather rename it "qpk mar2004, modded for system X."
The command "swmodify" will change it? NOT.
It modified a line in an index file buried in the depot. But the name is same.

(I ran swverify -d \* @ /dsk/QPK1100 to make sure it wasn't screwed up. It's not).

2. I added 11 patches to the depot. That great. But when I run swinstall, I see 11 patches and one quality pack. I'd rather see one thing: Steve's modifed QPK Mar2004.

sigh. At least I can use what I have. And it is not too painful.

steve
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.