I have few zones configured on my Solaris 11 node which are up and running. Our product is provided in a .p5p archive package which i need to install in my global zone as well as the non-global zones. I dont want to use a network based repository for the installation.
When i try to install the package it gives me the below error
"pkg install: The proposed operation on this parent image can not be performed because
temporary origins were specified and this image has children. Please either
retry the operation again without specifying any temporary origins, or if
packages from additional origins are required, please configure those origins
persistently."
1. How to install a .p5p package without a network based repository ?
2. Is it possible to install packages from the global zone to non-global zones without having to log on to each of the zones ?
TIA,
Sudhir
_______________________________________________
pkg-discuss mailing list
pkg-d...@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
Why?
> "pkg install: The proposed operation on this parent image can not be performed because
> temporary origins were specified and this image has children. Please either
> retry the operation again without specifying any temporary origins, or if
> packages from additional origins are required, please configure those origins
> persistently."
> 1. How to install a .p5p package without a network based repository ?
Temporary origins are not supported with zones, as the error message
mentioned. Furthermore, p5p files are also not yet supported with zones.
If you convert the p5p file to a file-based repository first, then add
it as a persistent publisher to your system in the global zone eg.
$ pkgrepo create filerepo
$ pkgrecv -s file.p5p -d filerepo
# pkg set-publisher -p ./filerepo
it will work. The file repository will automatically be made available
to all non-global zones.
> 2. Is it possible to install packages from the global zone to
> non-global zones without having to log on to each of the zones ?
Currently, no. It is possible to ensure that the version of a package
in the global zone is the same as the one in each non-global zone
however, which is probably worth doing
See
http://hub.opensolaris.org/bin/download/Project+pkg/files/ipsdevguide.pdf
cheers,
tim
>
> When i try to install the package it gives me the below error
>
> "pkg install: The proposed operation on this parent image can not be performed because
> temporary origins were specified and this image has children. Please either
> retry the operation again without specifying any temporary origins, or if
> packages from additional origins are required, please configure those origins
> persistently."
>
> 1. How to install a .p5p package without a network based repository ?
> 2. Is it possible to install packages from the global zone to non-global zones without having to log on to each of the zones ?
Not at this time as far as I know. Depending on how desperate you are to
have this, and as long as you want to install the same packages in all
the zones, I think there's a way you could do things so that you only
had to log into each zone once to set things up. If you're interested
let me know and I'll sketch out what I have in mind.
Brock
> On 03/ 2/12 03:40 AM, Sudhir Harikant wrote:
> > I dont want to use a network based repository for the installation.
>
> Why?
>
>> "pkg install: The proposed operation on this parent image can not be performed because
>> temporary origins were specified and this image has children. Please either
>> retry the operation again without specifying any temporary origins, or if
>> packages from additional origins are required, please configure those origins
>> persistently."
>
>> 1. How to install a .p5p package without a network based repository ?
>
> Temporary origins are not supported with zones, as the error message mentioned. Furthermore, p5p files are also not yet supported with zones.
Do you have a bug number for this? Any idea when this is targeted to be fixed?
thanks
Dave
>
> If you convert the p5p file to a file-based repository first, then add it as a persistent publisher to your system in the global zone eg.
>
> $ pkgrepo create filerepo
> $ pkgrecv -s file.p5p -d filerepo
>
> # pkg set-publisher -p ./filerepo
>
> it will work. The file repository will automatically be made available to all non-global zones.
>
>> 2. Is it possible to install packages from the global zone to
>> non-global zones without having to log on to each of the zones ?
>
> Currently, no. It is possible to ensure that the version of a package in the global zone is the same as the one in each non-global zone however, which is probably worth doing
>
> See
> http://hub.opensolaris.org/bin/download/Project+pkg/files/ipsdevguide.pdf
>
> cheers,
> tim
> _______________________________________________
> pkg-discuss mailing list
> pkg-d...@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
---
David Sechrest Phone: (408) 276-5800 x15800
Systems Management Email: david.s...@oracle.com
Oracle Corporation
> Do you have a bug number for this? Any idea when this is targeted to be fixed?
Yep, it's 7140764 pkg.sysrepo should support p5p files
Much of the work on the IPS side is done, I'm mostly waiting on
paperwork at this stage.
There is currently no set target for supporting temporary origins when
zones are present. That was a known limitation going in and that is why
the client exits gracefully with a specific message.
However, as Tim pointed out, p5p support is in progress already, so
you'll be able to configure those as a persistent source.
-Shawn
> On 03/01/12 16:10, David Sechrest wrote:
>>
>> On Mar 1, 2012, at 3:40 PM, Tim Foster wrote:
>>
>>> On 03/ 2/12 03:40 AM, Sudhir Harikant wrote:
>>>> I dont want to use a network based repository for the installation.
>>>
>>> Why?
>>>
>>>> "pkg install: The proposed operation on this parent image can not be performed because
>>>> temporary origins were specified and this image has children. Please either
>>>> retry the operation again without specifying any temporary origins, or if
>>>> packages from additional origins are required, please configure those origins
>>>> persistently."
>>>
>>>> 1. How to install a .p5p package without a network based repository ?
>>>
>>> Temporary origins are not supported with zones, as the error message mentioned. Furthermore, p5p files are also not yet supported with zones.
>>
>> Do you have a bug number for this? Any idea when this is targeted to be fixed?
>
> There is currently no set target for supporting temporary origins when zones are present.
What if you don't consider your p5ps to be temporary? :-)
(I'm not really expecting an answer to this!)
thanks for the info
Dave
> That was a known limitation going in and that is why the client exits gracefully with a specific message.
>
> However, as Tim pointed out, p5p support is in progress already, so you'll be able to configure those as a persistent source.
>
> -Shawn
---
David Sechrest Phone: (408) 276-5800 x15800
Systems Management Email: david.s...@oracle.com
Oracle Corporation
1. This is the first time our product is getting shipped for Solaris 11 support and we wanted to ship our product with our existing installer so that uses DVD location for source. We are already talking internally on how we can use the network based repository in our coming releases.
2. The steps that you have provided to create a file based repository works fine, but I still cannot install packages in the non-global as the publisher is not seen in the non-global zone.
The repository and proxy service is running in the global zone.
Non-Global zone
root@ldom5:~# pkg publisher
PUBLISHER TYPE STATUS URI
solaris (syspub) origin online proxy://http://pkg.oracle.com/solaris/release/
Global Zone
root@sfqasol67:~# pkg publisher
PUBLISHER TYPE STATUS URI
solaris origin online http://pkg.oracle.com/solaris/release/
Symantec origin online file:///tmp/tmprepo/
root@sfqasol67:~# svcs -a | grep repo
online 14:58:42 svc:/application/pkg/system-repository:default
root@sfqasol67:~# svcs -a | grep proxy
online 14:56:13 svc:/application/pkg/zones-proxyd:default
Thanks & Regards,
Sudhir