I assume you have followed the instructions and created .otherpkgs.pkglist 
file.
For stateless/statelite nodes, you need to run genimage/packiage/nodeset 
again. This will install the other packages into the image. Then reboot 
the nodes.
For diskfull nodes, if your other packages have dependencies and you want 
them to be picked up automatically, then you need to install yum on the 
nodes. If yum is not installed, it will use rpm command which does not 
resolve dependencies. 

Ling

Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692 
External: [email protected], 845-433-5692

"I never worry about the future. It comes soon enough." --- Albert 
Einstein 



From:   "c.y.liu" <[email protected]>
To:     [email protected]
Date:   12/20/2011 06:53 AM
Subject:        [xcat-user] how to resolve the dependency of otherpkgs?



hi all,

I'm new to xcat. I've set up the xcat management node and successfully
provisioned one compute node.

the issue I encounter is "install other packages on compute node."

I followed this link

http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Install_Additional_Packages


to setup the other package repository and this link

http://xcat.sourceforge.net/man1/updatenode.1.html

to update the compute node. but unfortunately, updatenode command
failed due to missing dependency of my packages.

I'm sure that all my packages are in the "other package" repository
(/install/post/otherpkgs/rhels5.5/x86_64). and all the dependency
packages can be found in distribution repository.

i quickly go through the "otherpkgs" script and find that it use "rpm
-Uvh" to install the packages I specified in
/install/custom/install/rh/compute-rhel-5.5-x86_64.otherpkgs.pkglist.
and looks like before installation, otherpkgs will use wget to
download the rpms. i think this cause the problem. i also find that
this "yum" in this script.

so my question is:

1. how can i make yum to install my packages? i think yum can resolve
the dependency problem.
2. otherwise, is it possible that I add my packages into the
distribution repository which is created by copyids. and specify my
packages in the profile.pkglist file.

any suggestions will be greatly appreciated!

thanks,

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to