* Dave Miner ([EMAIL PROTECTED]) wrote:
>> It shouldn't have had errors, though, because the slim-utils package is 
>>> well-formed; all of the directories it places files into are also 
>>> specified in the package.  So what were the errors?
>>
>> Download: SUNWzlib ...  Done
>> Download: SUNWlibms ...  Done
>> Download: SUNWlxml ...  Done
>> Download: SUNWpool ...  Done
>> Download: SUNWpr ...  Done
>> Download: SUNWlibsasl ...  Done
>> Download: SUNWtls ...  Done
>> Download: SUNWopenssl ...  Done
>> Download: SUNWcsl ...  Done
>> Download: SUNWslim-utils ...  Done
>> Traceback (most recent call last):
>>   File "/usr/bin/pkg", line 856, in ?
>>     ret = main_func()
>>   File "/usr/bin/pkg", line 824, in main_func
>>     return install(img, pargs)
>>   File "/usr/bin/pkg", line 367, in install
>>     verbose = verbose, noexecute = noexecute)
>>   File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 930, 
>> in list_install
>>     ip.execute()
>>   File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 
>> 370, in execute
>>     p.execute_install(src, dest)
>>   File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 271, 
>> in execute_install
>>     dest.install(self, src)
>>   File "/usr/lib/python2.4/vendor-packages/pkg/actions/directory.py", line 
>> 52, in install
>>     owner = pkgplan.image.getpwnam(self.attrs["owner"]).pw_uid
>>   File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 607, 
>> in getpwnam
>>     return pwd.getpwnam(name)
>> KeyError: 'getpwnam(): name not found: jack'
>> Install Phase ...  Action install failed for 'jack' 
>> (pkg://test/SUNWslim-utils):
>>   KeyError: 'getpwnam(): name not found: jack'
>>
>
> Bitten by a dependency which is handled manually right now in the 
> construction process (see pkg_retrieve.lib).  You need to use the following 
> install command to prime the image first:
>
> pkg -R /tmp/test_image install SUNWcsd slim_cd

So, yet more 'secret sauce'.

Anyway, running that gives:

[EMAIL PROTECTED]:/tmp)$ pkg -R /tmp/test_image install SUNWcsd slim_cd         
                               
pkg: 'SUNWcsd' matches multiple packages
        pkg://repo/SUNWcsd
        pkg://opensolaris.org/SUNWcsd
pkg: 'slim_cd' matches multiple packages
        pkg://repo/slim_cd
        pkg://opensolaris.org/slim_cd
install failed: Unable to assemble image plan

(I removed /tmp/test-image and then reran image-create before running
this).

Before I go guessing, what should I do here?  I don't quite understand
why it thinks there are multiple packages:

([EMAIL PROTECTED]:/tmp)$ pkg -R /tmp/test_image search SUNWcsd
legacy_pkg pkg:/[EMAIL PROTECTED],5.11-0.79:20080205T152740Z

Thanks Dave,

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

Reply via email to