Re: [osol-discuss] Can not use my own Solaris Express repository
On 11/17/10 11:51 PM, Willi Burmeister wrote: Hi all, I'm trying to use the Solaris 11 express repository in my local network without success. Here what I have done: Depot server - Updated to Solaris 11 express by hand % head -1 /etc/release Oracle Solaris 11 Express snv_151a X86 - created a new filesystem and made a copy of the iso image # zfs create -o mountpoint=/export/pkg zpool1/pkg # zfs set atime=off zpool1/pkg # rsync -aP /mnt/repo /export/pkg - created a new depot server # svccfg -s svc:/application/pkg/server add mirror # svccfg -s pkg/server:mirror addpg pkg application # svccfg -s pkg/server:mirror addpg start method # svccfg -s pkg/server:mirror setprop pkg/inst_root=/export/pkg/repo # svccfg -s pkg/server:mirror setprop pkg/port = 1 # svccfg -s pkg/server:mirror setprop pkg/readonly=true # svcadm refresh application/pkg/server:mirror # svcadm enable application/pkg/server:mirror I'm able to connect my browser to the repository and it tells me This repository serves a copy of the Oracle Solaris 11 Express 2010.11 Package repository. Information about packages is not available when the. server is operating in mirror mode. That's the hint here. Did you set pkg/mirror=true in SMF? If so, it needs to be set to pkg/mirror=false. Once you do that, refresh and restart the service. -Shawn ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Can not use my own Solaris Express repository
Hi Shawn, thanks for your quick answer That's the hint here. Did you set pkg/mirror=true in SMF? If so, it needs to be set to pkg/mirror=false. I didnot set pkg/mirror at all. So the default seems to be true. I changed it to false, did a refresh/restart and everything works fine now Thanks a lot and greeting from germany Willi ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
[osol-discuss] Can not use my own Solaris Express repository
Hi all, I'm trying to use the Solaris 11 express repository in my local network without success. Here what I have done: Depot server - Updated to Solaris 11 express by hand % head -1 /etc/release Oracle Solaris 11 Express snv_151a X86 - created a new filesystem and made a copy of the iso image # zfs create -o mountpoint=/export/pkg zpool1/pkg # zfs set atime=off zpool1/pkg # rsync -aP /mnt/repo /export/pkg - created a new depot server # svccfg -s svc:/application/pkg/server add mirror # svccfg -s pkg/server:mirror addpg pkg application # svccfg -s pkg/server:mirror addpg start method # svccfg -s pkg/server:mirror setprop pkg/inst_root=/export/pkg/repo # svccfg -s pkg/server:mirror setprop pkg/port = 1 # svccfg -s pkg/server:mirror setprop pkg/readonly=true # svcadm refresh application/pkg/server:mirror # svcadm enable application/pkg/server:mirror I'm able to connect my browser to the repository and it tells me This repository serves a copy of the Oracle Solaris 11 Express 2010.11 Package repository. Information about packages is not available when the. server is operating in mirror mode. So this part of the installation seems to be ok Client system - Updated to OpenSolaris 134b by hand % head -1 /etc/release OpenSolaris 2010.05 snv_134b X86 - tried to change the publisher # pkg set-publisher --non-sticky opensolaris.org # pkg set-publisher --non-sticky extra this worked ok, but # pkg set-publisher -P -g http://myserver:1/ solaris just gives me pkg set-publisher: Could not refresh the catalog for solaris The repo README tells us to use: # pkg set-publisher -O http://myserver:1/ solaris but this gives the same error message # pkg publisher PUBLISHERTYPE STATUS URI opensolaris.org (non-sticky, preferred) origin online http://pkg.opensolaris.org/release/ extra (non-sticky) origin online https://pkg.sun.com/opensolaris/extra/ Obviously I'm doing something wrong, but what. Any help is appreciated Thanks Willi ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org