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.

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:10000/  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:10000/  solaris

  but this gives the same error message

  # pkg publisher
  PUBLISHER                    TYPE     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

Reply via email to