Can’t install a pkg anymore on Solaris 11

If you get this:

root@reno:~# pkg install header-math
pkg: 0/1 catalogs successfully updated:

Unable to contact valid package repository
Encountered the following error(s):
Unable to contact any configured publishers.
This is likely a network configuration problem.
Framework error: code: 7 reason: Failed to connect to 137.254.56.21: Network is unreachable
URL: ‘http://pkg.oracle.com/solaris/release’. (happened 4 times)

Then go to Building a Solaris 11 repository without network connection which will remind you what to do!

Share