Yunsong (Roamer) Lu wrote:
I occasionally change the default repo to localhost:2009 through Package Manger UI, then I'm seeing the following error:
 Sanity Check: Looking for 'entire' incorporation.
ERROR: Unable to locate the incorporation '[email protected],5.11.....' in the preferred publisher 'localhost'.

What's wrong with my repo? I built it from snv_111b+project with `make -e 111a/redist_import`.

Also, please advise how to change the preferred repo directly through command line.
I should have read the man page of pkg carefully before asking this. I've figured out to use '-P' option with set-publisher to set the preferred repo.

But still seeing the complaint about entire version.

 #usr/lib/pkg.depotd -d /export/repo -p 2009
 #pkg set-publisher -P -O http://localhost:2009 localips
 #zoneadm -z z1 install
  ...
 Sanity Check: Looking for 'entire' incorporation.
 ERROR: Unable to locate the incorporation '[email protected],5.11.....' in
 the preferred publisher 'localips'.

My repo was built from snv_111b plus project-built ON packages by `make
-e 111a/redist_import`.

Thanks,

Roamer


Thanks,

Roamer


Yunsong (Roamer) Lu wrote:
I ran the following commands before running `zoneadm -z z1 install`,
 #usr/lib/pkg.depotd -d /export/repo -p 2009
 #pkg set-publisher -O http://localhost:2009 localhost
 #pkg set-authority -O http://localhost:2009 localhost

but the zone installation is looking for
 Publisher: Using opensolaris.org (http://pkg.opensolaris.org/releas

What else should I do so that the zone will look at the local repo during the installation?

Thanks,

Roamer

Brock Pytlik wrote:
Yunsong (Roamer) Lu wrote:
Hi,

I'm trying to install zones on OpenSolaris from a private IPS repository. How can I change the default publisher path? I have the new repo at /export/repo/.

Thanks,

Roamer

Use the -d option. So, use pkg.depotd -d /export/repo. If the problem you're encountering is that you're not seeing the depot, then use pkg set-publisher.

Brock



--

# telnet (650)-786-6759 (x86759)
Connected to Solaris.Sun.COM.
login: Lu, Yunsong
Last login: January 2, 2007 from beyond.sfbay
[email protected]    v1.04    Since Mon Dec. 22, 2003
[roa...@solaris Networking]# cd ..
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to