Thanks Tim for your quick response. 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 -----Original Message----- From: Tim Foster [mailto:[email protected]] Sent: Friday, March 02, 2012 5:11 AM To: Sudhir Harikant Cc: [email protected] Subject: Re: [pkg-discuss] Unable to install .p5p package in global zones in Solaris 11 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. 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 [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
