Unable to contact valid package repository
Encountered the following error(s):
Unable to contact any configured publishers.
This is likely a network configuration problem.
http protocol error: code: 404 reason: Not Found
URL: 'http://pkg.oracle.com/solaris/support'. (happened 4 times)
Looks like the proxy repo is broken?
Services "system-repository" and "zones-proxyd" are enabled and running.
As a test, I reset the publisher back to "release" and tried to install a zone.
solaris origin online http://pkg.oracle.com/solaris/release/
This time "zoneadm install" can access the repository (Refreshing catalogs... caching catalogs...).
but it (obviously) fails because the installed packages no longer match.
The following pattern(s) did not match any allowable packages. Try
using a different matching pattern, or refreshing publisher information:
This seems to indicate that there is a bug in the zone installation program when the support repository is used.
Perhaps because of "https" in the support repo vs "http" in the release repo???
I would be surprised if this was not tested with the support repo :(
Please do open a support case and mention the bug that I opened. This will help ensure you are aware of updates and will help the support organization help you and others with workarounds. Pointing to the bug that I opened should shortcut a lot of the questions that you would normally be asked.
This problem has been fixed in Solaris 11.0 SRU 7 which is now available in the support repository. I have updated one of my systems using the support repository over the public internet and successfully installed a zone while running SRU7.
Thank you for reporting this problem and for your patience as it was addressed.
# pkg info entire
Summary: entire incorporation including Support Repository Update (Oracle Solaris 11 11/11 SRU 7.5).
Description: This package constrains system package versions to the same
build. WARNING: Proper system update and correct package
selection depend on the presence of this incorporation.
Removing this package will result in an unsupported system. For
more information see https://support.oracle.com/CSP/main/article
Category: Meta Packages/Incorporations
Version: 0.5.11 (Oracle Solaris 11 SRU 7.5)
Build Release: 5.11
Packaging Date: May 7, 2012 02:57:36 PM
Size: 5.45 kB
Finally solved this one. I was trying to install zone against a SRU7.5 repo that I had locally mounted from the SRU iso. The SRU repo is not enough to install zones from. And of course the Oracle default support repo is in different patch level, which cannot be used either.
I configured full local repository and updated that repository with SRU7.5 patches and everything works fine.