The only time  got this error was when I tried to install a
packages that I previously imported. Is this what you are
facing as well?

This problem happened in OpenSolaris developer preview 1.
This problem went away after I moved to OpenSolaris
Developer Preview 2.

-Angelo


On Mar 4, 2008, at 3:01 AM, Shura wrote:

> Thank you - this is what I  needed.
>
> I get this, however:
> Traceback (most recent call last):
>  File "../../IPS/solaris.py", line 1013, in ?
>    publish_pkg(p)
>  File "../../IPS/solaris.py", line 598, in publish_pkg
>    action = actions.legacy.LegacyAction(None, **attrs)
> AttributeError: 'module' object has no attribute 'legacy'
>
> Is it something wrong with my packages?
>
> What could be the problem?
>
> Shura.
>
> On Mar 3, 2008, at 3:51 PM, Angelo Rajadurai wrote:
>
>> Hi Shura:
>>
>> pkgsend does not do what you want. You need "solaris.py" This
>> script will take SVR4 pkgs convert it into IPS and automatically
>> deal with most dependencies for you.
>>
>>
>> Michal Pryc has an excellent screen on this very subject see the
>> blog at http://blogs.sun.com/migi/entry/create_your_own_opensolaris_ips2
>>
>> Part 5 & part 6 of the presentation talk about how to do the import.
>> Part 6 is probably what you are looking for!
>>
>> -Angelo
>>
>>
>>
>>
>>
>>
>> On Mar 3, 2008, at 7:36 AM, Shura wrote:
>>
>>> Hi.
>>>
>>> I have a list of packages (~10) which depend one on another.
>>>
>>> Is there a way for me to upload the packages on an IPS server so  
>>> that
>>> the dependencies are kept?
>>>
>>> I tried to use pkgsend send command, executing it for pkg files ...
>>> not only dependencies are lost but even package version is not taken
>>> for the uploaded packages - I have @0-1 there.
>>>
>>> Is there anything I should do to the packages before  uploading?
>>>
>>> Of course, I could modify my script to upload the data directly, but
>>> that would not be what I need to accomplish.
>>>
>>> Thank you.
>>>
>>> Shura.
>>>
>>> _______________________________________________
>>> pkg-discuss mailing list
>>> [email protected]
>>> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
>>
>

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

Reply via email to