Hi, Dave

There is another problem:

i run: pkg -R /export/home/dc/ai/build_data/pkg_image install pkg://on-nightly/driver/storage/scu,
it returns:

Creating Plan /
pkg install: No matching version of driver/storage/scu can be installed:
Reject: pkg://on-nightly/driver/storage/[email protected],5.11-0.166:20110513T040146Z Reason: This version is excluded by installed incorporation pkg://solaris/consolidation/osnet/[email protected],5.11-0.165:20110510T013316Z

the on-nightly is a local publisher which contain the lastest scu package, now it's 166, the previous is 165

do you know how to install my lastest package or anywhere to ask for this issue?

Thanks,
Xun

On 05/16/11 14:32, xun.ni wrote:
 Hi, Dave:

I need to replace my package scu(driver/storage/scu) with the lastest using the DC, and currently my dc_ai_x86.xml and the custom script is in the attachment, The key error point is "Unable to install pkg://solaris/scu", my step is that i create a local IPS server with "/usr/lib/pkg.depotd -d /root/nightly/repo.redist/ -p 10000" and it contain the lastest package, and then i run "/usr/bin/distro_const build -v /root/dc_ai_x86.xml". I set a custom script to replace the package with my own but it failed, can you help me to figure out why it fail?

  The output error is

2011-05-16 13:17:29,012   InstallationLogger.custom-script INFO       === 
Executing Custom Script Checkpoint ===
2011-05-16 13:17:29,012   InstallationLogger.custom-script INFO       Custom 
Script provided is: '/export/home/scu_script.sh {PKG_IMAGE_PATH} scu'
2011-05-16 13:17:29,012   InstallationLogger.custom-script INFO       Custom 
Script to run is: '/export/home/scu_script.sh 
/export/home/dc/ai/build_data/pkg_image scu'
2011-05-16 13:17:29,013   InstallationLogger.custom-script DEBUG      
Executing: /export/home/scu_script.sh /export/home/dc/ai/build_data/pkg_image 
scu
2011-05-16 13:17:29,712   InstallationLogger.custom-script DEBUG      
/usr/bin/pkg -R /export/home/dc/ai/build_data/pkg_image uninstall scu
2011-05-16 13:17:30,161   InstallationLogger.custom-script ERROR      pkg: The 
image cannot be modified as it is currently in use by another package client: 
pkg on glasspaper.cn, pid 1257.
2011-05-16 13:17:30,202   InstallationLogger.custom-script ERROR      
/export/home/scu_script.sh: Unable to install pkg://solaris/scu
2011-05-16 13:17:30,254   InstallationLogger ERROR      Error occurred during 
execution of 'custom-script' checkpoint.

Thanks,
Xun

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to