Operating System - HP-UX
1833822 Members
2438 Online
110063 Solutions
New Discussion

Re: Upward dependencies of a installed Software ??

 
Girish_17
Regular Advisor

Upward dependencies of a installed Software ??

Hi Friends,

Is there any way to identify the upward dependencies of a insatlled softare??

I know Patches have readme files which provide some information but i am not concerned with the patches but any installed software (May be a third party software installed with swinstall).

TIA (Thanks in Advance)

Regards,
Girish.
12 REPLIES 12
Arunvijai_4
Honored Contributor

Re: Upward dependencies of a installed Software ??

Girish, Can you give me an example scenario for this condition ? We have done quite a bit research with depot dependencies.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Hanwant Verma_1
Regular Advisor

Re: Upward dependencies of a installed Software ??

Can you explain your question in detail please.
RAC_1
Honored Contributor

Re: Upward dependencies of a installed Software ??

swlist -v "product"
gives all attributes about the product. check what you want is in there or not.
There is no substitute to HARDWORK
Muthukumar_5
Honored Contributor

Re: Upward dependencies of a installed Software ??

You can know this details when it is packaged with depot.

swlist option says-->

create_time_filter=0
For cumulative source depots, this option allows
consistent software selections over time by swlist,
swcopy, and swinstall. The default of zero includes
all bundles, products, subproducts, and filesets in the
source depot as candidates for selection (and
autoselection of dependencies and patches), based on
the software selections and other options. When set to
a time (specified as seconds from epoch), only those
bundles, products, and filesets (and the subproducts in
the product) with a create_time less than or equal to
the specified value are available for selection (or autoselection).

It is allowing to select dependcies based on time.

# swlist -a create_time -a create_date

Will give all details with date informations.

hth.
Easy to suggest when don't know about the problem!
Girish_17
Regular Advisor

Re: Upward dependencies of a installed Software ??

Hi friends,
Thanks for your quick replies.

Now let me give you an simple example:

Say suppose i have installed "hpuxwsAPACHE" software. Now in case if i have to remove apache server software, how can i check what other packages/software will be afftected with this removal.

That is what is the upward dependency of this software or what all packages are dependent on "hpuxwsAPACHE" software.

I have taken "hpuxwsAPACHE" as an example.

Hope i have made it clear this time.

RAC, "swlist -v -l product" doesn't help.

Regards,
Girish.
Arunvijai_4
Honored Contributor

Re: Upward dependencies of a installed Software ??

Ok, in this case, you need to specify corequisite tag in PSF file. For more information on Corequisite,
http://docs.hp.com/en/B2355-90789/ch10s04.html
should be useful.

When product A has corequisite of Product B and you try to swremove B, it will complain abt this.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Girish_17
Regular Advisor

Re: Upward dependencies of a installed Software ??

Hi Arun,

I don't want B to complain but i would like to see in some way that A is dependent on B by looking at B.

I hope now it is clear. :)

Sorry if i am confusing you guys.

Regards,
Girish

Arunvijai_4
Honored Contributor

Re: Upward dependencies of a installed Software ??

Yes, since both A and B are co-requisite, either swremove will complain. You can try this by creating sample depots with this tag.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor

Re: Upward dependencies of a installed Software ??

http://forums1.itrc.hp.com/service/forums/helptips.do?#28
"A ship in the harbor is safe, but that is not what ships are built for"
Girish_17
Regular Advisor

Re: Upward dependencies of a installed Software ??

Hi Arun,
I know how to assgin points, just see my profile.
Anyways, i am not getting the answer still.

Muthukumar that doesn't help becuase i just want to know what all things are dependent on Software B (Which is already installed on the System). How do i know that looking at B because i don't know others.

Hope this time atleast it is clear. :(

Thanks for your concern and help till now.

Really looking for an good answer and eager to make this one a rabbit soon. :)

Regards,

Ermin Borovac
Honored Contributor

Re: Upward dependencies of a installed Software ??

Try the following

$ /usr/sbin/swlist -a prerequisites -a corequisites -v -l fileset

This will give you a list of all installed filesets with corresponding prerequisites (install time dependencies) and corequisites (run time dependencies).

hpuxwsAPACHE.APACHE2
fileset
prerequisites hpuxwsAPACHE.APACHE,r=A.2.0.54.00
Arunvijai_4
Honored Contributor

Re: Upward dependencies of a installed Software ??

#swlist -a corequisite -v -l

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"