Hi Jan,

Based on the error, I suspect the problem to be the way you set up your 
repo.
How do you set it up?  Also, you can validate that your repo is setup 
correctly,
by trying to install the packages outside of the Distro Constructor env.
To do so, please see the link the the commands to execute:

http://opensolaris.org/os/project/caiman/Constructor/DC_docs/DC_toi.html#trouble_shoot

Thanks,

--Karen

Jean McCormack wrote:
> Jan,
>
> I noticed that your default repository is http://localhost:10000. Does 
> this same error
> occur if you use http://pkg.opensolaris.org/release?
>
> Jean
>
> Jan Hlodan wrote:
>   
>> Hello,
>>
>> I have problem with creating LiveCD.
>> FMRI: pkg:/SUNWdistro-const at 0.5.11,5.11-0.101:20081106T170322Z
>> OpenSolaris 2008.11 snv_101a_rc1.5 X86
>>
>> I got this error:
>>
>> sh-3.2# distro_const build /slim_cd.xml
>> /usr/share/distro_const/DC-manifest.defval.xml validates
>> /tmp/slim_cd_temp_3010.xml validates
>> Simple Log: /rpool/dc/logs/simple-log-2008-11-15-22-31-39
>> Detail Log: /rpool/dc/logs/detail-log-2008-11-15-22-31-39
>> Build started Sat Nov 15 22:31:39 2008
>> Distribution name: Indianka4
>> Build Area dataset: rpool/dc
>> Build Area mount point: /rpool/dc
>> ==== im-pop: Populate the image with packages
>> Initializing the IPS package image area: /rpool/dc/build_data/pkg_image
>> Setting preferred authority: opensolaris.org
>>         Origin repository: http://localhost:10000
>> Verifying the contents of the IPS repository
>> Installing the designated packages
>> pkg: An unexpected error happened during installation: [Errno 1] Not owner:
>> '/rpool/dc/build_data/pkg_image/usr/openwin'
>>
>> Traceback (most recent call last):
>>   File "/usr/bin/pkg", line 2192, in ?
>>     __ret = main_func()
>>   File "/usr/bin/pkg", line 2141, in main_func
>>     return install(mydir, pargs)
>>   File "/usr/bin/pkg", line 759, in install
>>     api_inst.execute_plan()
>>   File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 475, in
>> execute_plan
>>
>>     self.img.imageplan.execute()
>>   File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 
>> 683,
>> in execute
>>
>>     p.execute_install(src, dest)
>>
>>   File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 278, 
>> in
>> execute_install
>>
>>     dest.install(self, src)
>>   File "/usr/lib/python2.4/vendor-packages/pkg/actions/link.py", line 63, in
>> install
>>
>>     os.unlink(path)
>>
>> OSError: [Errno 1] Not owner: '/rpool/dc/build_data/pkg_image/usr/openwin'
>>
>>
>>
>> pkg: This is an internal error.  Please let the developers know about this
>> problem by filing a bug at http://defect.opensolaris.org and including the
>> above traceback and this message.  The version of pkg(5) is '979f1be5339d'.
>>
>>
>> Unable to install slim_install in /rpool/dc/build_data/pkg_image
>> pkg: An unexpected error happened during installation: 'user name not found:
>> jack'
>>
>> Traceback (most recent call last):
>>   File "/usr/bin/pkg", line 2192, in ?
>>
>>     __ret = main_func()
>>
>>   File "/usr/bin/pkg", line 2141, in main_func
>>     return install(mydir, pargs)
>>   File "/usr/bin/pkg", line 759, in install
>>     api_inst.execute_plan()
>>   File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 475, in
>> execute_plan
>>
>>     self.img.imageplan.execute()
>>   File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 
>> 683,
>> in execute
>>
>>     p.execute_install(src, dest)
>>   File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 278, 
>> in
>> execute_install
>>
>>     dest.install(self, src)
>>   File "/usr/lib/python2.4/vendor-packages/pkg/actions/directory.py", line 
>> 59,
>> in install
>>
>>     owner = pkgplan.image.get_user_by_name(self.attrs["owner"])
>>   File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 1685, 
>> in
>> get_user_by_name
>>
>>     self.type != IMG_USER)
>>   File "/usr/lib/python2.4/vendor-packages/pkg/portable/os_unix.py", line 
>> 122,
>> in get_user_by_name
>>
>>     raise KeyError, "user name not found: %s" % name
>>
>> KeyError: 'user name not found: jack'
>>
>>
>>
>> pkg: This is an internal error.  Please let the developers know about this
>> problem by filing a bug at http://defect.opensolaris.org and including the
>> above traceback and this message.  The version of pkg(5) is '979f1be5339d'.
>>
>>
>> Unable to install SUNWslim-utils in /rpool/dc/build_data/pkg_image
>> Unable to retrieve all of the specified packages
>> Build completed Sat Nov 15 22:44:13 2008
>> Build failed.
>> sh-3.2#
>>
>> I tired to remove whole pkg_image directory but it didn't help.
>> I think, it could have some connection with bug 1770
>> http://defect.opensolaris.org/bz/show_bug.cgi?id=1770
>>
>> Anybody else has this problem?
>>
>> Thank you for reply.
>>
>> Regards,
>>   
>>     
>
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>   


Reply via email to