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 = 10000
# 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