Operating System - HP-UX
1851742 Members
1965 Online
104062 Solutions
New Discussion

Re: make_config not recognizing sudo 1.6.8p9

 
SDS FDX
Advisor

make_config not recognizing sudo 1.6.8p9

I'm having a problem with make_config recognizing some sudo software in my depot. The sudo software is visible in my depot using swlist, and I can manually install the software from the depot, using swinstall. When I execute the make_config command, ignite doesn't create any software select statement in the config file for the sudo software. I manually created the software select statements in my configuration file, but when I ignite a server I receive the following error "Could not apply the software selection
"sudo,r=1.6.8p9,a=HP-UX_B.11.11_32/64,v=HP"; it is not available from depot or root". HELP!
3 REPLIES 3
Ken Grabowski
Respected Contributor

Re: make_config not recognizing sudo 1.6.8p9

Hi Michael,

The make_config command operates on bundles in the depot. When you added sudo to the bundle, did you create a bundle for it, or just add it as a product?

Check out the man page for 1M make_bundles. This kind of problem use to drive me crazy when making custom bundles. I'd say it's you most likley fix.

First create a depot with just sudo in it. The make_bundles in that depot. Once you have that done, swcopy it into your destination depot. Then swlist on that bundle and veryify everything is there and attached to the bundle (-l file).

When you have that done, then run make_config, and sudo should show up in the config file results.

Best of luck
Michael Roberts_3
Honored Contributor

Re: make_config not recognizing sudo 1.6.8p9

make_config uses the 'contents' attribute of bundles to determine the sw_sel attributes to produce. So if
swlist -a contents -lbundle -s /depot MyBundle
doesn't show your product then it won't appear
in the config.

You can also use Software Package Builder to assist in creating you depots and/or creating the bundle wrapper for sudo.
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SwPkgBuilder
etouq ot hguone revelc ton m'i
SDS FDX
Advisor

Re: make_config not recognizing sudo 1.6.8p9

That worked! Thx!