Operating System - HP-UX
1819839 Members
2404 Online
109607 Solutions
New Discussion юеВ

Error removing s/w using sam on HPUX 11.0

 
Ian Timms
Advisor

Error removing s/w using sam on HPUX 11.0

When removing a previously marked bundle I get the attached message.

Can anyone help me?
Thanks
Ian Timms
16 REPLIES 16
Pete Randall
Outstanding Contributor

Re: Error removing s/w using sam on HPUX 11.0

Ian,

Can you attach the message, please?


Pete


Pete
Ian Timms
Advisor

Re: Error removing s/w using sam on HPUX 11.0

Sorry I thought I had.
T G Manikandan
Honored Contributor

Re: Error removing s/w using sam on HPUX 11.0


Can you do a

#mv /var/adm/sw/host_object /var/adm/sw/host_object.old

and re-run the removal process.

This file searches for the depot software locations.


REvert
T G Manikandan
Honored Contributor

Re: Error removing s/w using sam on HPUX 11.0

Also look at the usage of memory on the server

#swapinfo -ta

Pete Randall
Outstanding Contributor

Re: Error removing s/w using sam on HPUX 11.0

Ian,

That's very interesting. I usually interpret the phrase "SOL" as having something to do with "out of luck". Anyway, as a first attempt, I would recommend stopping and restarting swagentd:

/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start

Then retry.


Pete


Pete
T G Manikandan
Honored Contributor

Re: Error removing s/w using sam on HPUX 11.0

What software are you trying to remove?

CheckSparseDepsRemove

sparse to my understanding is pointing to the dependent filesets/base fileset still on the system.
Robert-Jan Goossens
Honored Contributor

Re: Error removing s/w using sam on HPUX 11.0

Ian Timms
Advisor

Re: Error removing s/w using sam on HPUX 11.0

All,

Tried the mv & stop/start - same error.

The s/w I'm trying to remove is:

IDEAS10Run for QP0203.

swapinfo -ta o/p attached.
Ian Timms
Advisor

Re: Error removing s/w using sam on HPUX 11.0

Robert-Jan,
I can't view the document: Tried your link & by document id USDUXKBRC00009766.
Any ideas?
Ian
Robert-Jan Goossens
Honored Contributor

Re: Error removing s/w using sam on HPUX 11.0

Hi Ian,

The doc suggest that one of the installed file sets is corrupt, resulting in your swremove error message.

Check
# swlist -l fileset -a state
if any fileset is not configured or corrupt.

Robert-Jan.
Ian Timms
Advisor

Re: Error removing s/w using sam on HPUX 11.0

Robert-Jan,

Did the swlist, all states either configured or installed except:

PHCO_25707 - state:transient

What's transient mean?

I tried remove this patch - same error.

It was installed with the IDEAS10Run for QP0203 bundle.
There is a checkremove executable for it, but I'm not sure what options etc to use.

Any more ideas?
Thanks
Ian
Robert-Jan Goossens
Honored Contributor

Re: Error removing s/w using sam on HPUX 11.0

Ian,

Patches in a TRANSIENT state indicates that their installation failed during the analysis phase and the execution phase. There could be a number of reasons for this:

The installation hung

Networking data made the installation fail.

There was not enough disk space in /var which made the install fail abnormally.

Robert-Jan.
Robert-Jan Goossens
Honored Contributor

Re: Error removing s/w using sam on HPUX 11.0

Ian,

Have you got a HP support contract ?

Robert-Jan
Ian Timms
Advisor

Re: Error removing s/w using sam on HPUX 11.0

Robert-Jan,

I wondered when you'd ask - No.

I don't remember any errors on installation of the IDEAS10Run for QP0203 bundle. I'm trying to remove it is because I installed the wrong 'QP' version: I installed for QP0203 when my system has BOTH QP0203 & QP0209 installed. Not sure what damage, if any it's done, but I thought I'd correct it.

Regards
Ian
Robert-Jan Goossens
Honored Contributor

Re: Error removing s/w using sam on HPUX 11.0

Hi Ian,

Looks like you INDEX file is corrupt, take a look at next link.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=9211

Hope it helps,

Robert-Jan
Ian Timms
Advisor

Re: Error removing s/w using sam on HPUX 11.0

Robert-Jan,

Took a look at the thread link. As swlist works I don't think it's a corrupt INDEX problem. I tried 'swconfig IDEAS10Run' (known system bundle) & got the attached message containing 7 s/w corrupt selections. I now know what's corrupt, how do I solve it?

thanks
Ian