Jason,
After having ran
# pkg set-publisher -P -O http://localhost:2009 opensolaris.org
#pkg publisher
PUBLISHER TYPE STATUS URI
opensolaris.org (preferred) origin online http://localhost:2009/
But the same error is printed out when doing `zoneadm -z z1 install`
ERROR: Unable to locate the incorporation
'[email protected],5.11-0.111:20090518T052643Z' in the preferred publisher
'opensolaris.org'
Looking at my local repo, I can find:
.../pkg/entire/0.5.11%2C5.11-0.111%3A20090626T210553Z
The string is not matching the one in local repo. How should I resolve this?
Thanks,
Roamer
Jason Zhao wrote:
Hi, Roamer,
Please do *not* try to name a new repo called localips, there is a bug
that zone could not be setup on the new name repo.
Please use following command to replace opensolaris with the IP of your
repo.
# pkg set-publisher -P -O http://localhost:2009 opensolaris.
Don't forget to remove your localips first. :)
Regards
Jason
Yunsong (Roamer) Lu wrote:
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