I tried to use local IPS server to test building and installing some packages, 
following guidelines from here: 
http://sourceforge.net/apps/mediawiki/pkgbuild/index.php?title=Pkgbuild_on_OpenSolaris

I did:

pfexec zfs create -o compression=on rpool/ips
pfexec mkdir /rpool/ips/repo
pfexec svcadm disable pkg/server
pfexec svccfg -s application/pkg/server setprop pkg/inst_root=/rpool/ips/repo
pfexec svccfg -s application/pkg/server setprop pkg/port=10001
pfexec svcadm refresh pkg/server
pfexec svcadm enable pkg/server
pfexec svcadm restart pkg/server
pfexec pkg set-publisher -O http://localhost:10001 local

This however didn't work. http://localhost:10001 doesn't open and set-publisher 
failed:
pkg: The origin URIs for 'local' do not appear to point to a valid pkg server.
Please check the server's address and client's network configuration.
Additional details:

Unable to contact valid package server: http://localhost:10001/
Encountered the following error(s):
Transport errors encountered when trying to contact depot server.
Reported the following errors:
1: Framework error: code: 7 reason: couldn't connect to host
URL: 'http://localhost:10001'. (happened 3 times)
2: Too many retryable errors encountered during transfer.
URL: http://localhost:10001 Count: 4

What can be wrong with the local IPS server and how can it be verified?
Thanks,

Hillel.
-- 
This message posted from opensolaris.org

Reply via email to