Just thought I would leave this fix here for the internet.
I ran into an issue with Solaris 11.4 CBE where none of the packages would update or install from the default repository.
Someone at Oracle changed something and the default package repository moved.
Example Error to help google:
root@localhost:~# pkg update --accept
No updates available for this image.
WARNING: Errors were encountered when attempting to retrieve package
catalog information. Packages added to the affected publisher repositories since
the last retrieval may not be available.
Errors were encountered when attempting to contact repository for publisher 'solaris'.
Unable to contact valid package repository: https://pkg.oracle.com/solaris/support/
Encountered the following error(s):
Framework error: code: E_SSL_CONNECT_ERROR (35) reason: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
URL: 'https://pkg.oracle.com/solaris/support'
Anyway here is the fix
pkg set-publisher -P -g https://pkg.oracle.com/solaris/support solaris
I ran into an issue with Solaris 11.4 CBE where none of the packages would update or install from the default repository.
Someone at Oracle changed something and the default package repository moved.
Example Error to help google:
root@localhost:~# pkg update --accept
No updates available for this image.
WARNING: Errors were encountered when attempting to retrieve package
catalog information. Packages added to the affected publisher repositories since
the last retrieval may not be available.
Errors were encountered when attempting to contact repository for publisher 'solaris'.
Unable to contact valid package repository: https://pkg.oracle.com/solaris/support/
Encountered the following error(s):
Framework error: code: E_SSL_CONNECT_ERROR (35) reason: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
URL: 'https://pkg.oracle.com/solaris/support'
Anyway here is the fix
pkg set-publisher -P -g https://pkg.oracle.com/solaris/support solaris
Last edited: