Hi all,
I have followed this guide on Solaris 11.4 to create a local copy of the online Solaris repository,
https://docs.oracle.com/cd/E37838_01/html/E60982/copyhttprepo.html#scrolltoc
These are the commands I ran in order to create the local repository from scratch:
sudo zfs create rpool/repoSolaris11
sudo zfs set mountpoint=/export/repoSolaris11/ rpool/repoSolaris11
sudo pkgrepo create /export/repoSolaris11
sudo pkgrepo set -s /export/repoSolaris11 publisher/prefix=solaris
sudo svccfg -s svc:/application/pkg/server:solaris setprop pkg/inst_root=/export/repoSolaris11
sudo pkgrecv -v -s https://pkg.oracle.com/solaris/support -d /export/repoSolaris11/ --key /var/pkg/ssl/pkg.oracle.com.key.pem --cert /var/pkg/ssl/pkg.oracle.com.certificate.pem '*' --clone
sudo pkgrepo refresh -s /export/repoSolaris11/
However when running the verify command it says that almost every single package is missing files of older versions…
For example, here is a snippet of the output of the verify command:
sudo pkgrepo verify -s /export/repoSolaris11/
Password:
Initiating repository verification.
pkg://solaris/library/python/python-ldap-27 2/92084 -
ERROR: Missing file: 2bb8caea961cf5503bc7c4e27a3d1f3e4dcc07ea
Package: pkg://solaris/library/python/python-ldap-27@3.2.0,11.4-11.4.33.0.1.94.0:20210409T210027Z
Repository path: /export/repoSolaris11/publisher/solaris/file/2b/2bb8caea961cf5503bc7c4e27a3d1f3e4dcc07ea
Path: usr/lib/python2.7/vendor-packages/_ldap.so
ERROR: Missing file: 8bb00345c9e1651628789b0fe7f969b4607e5cf7
Package: pkg://solaris/library/python/python-ldap-27@3.2.0,11.4-11.4.33.0.1.94.0:20210409T210027Z
Repository path: /export/repoSolaris11/publisher/solaris/file/8b/8bb00345c9e1651628789b0fe7f969b4607e5cf7
Path: usr/lib/python2.7/vendor-packages/64/_ldap.so
ERROR: Missing file: ac9b3ce5751ef0003709b61f258ec55719d2e5c1
Package: pkg://solaris/library/python/python-ldap-27@3.2.0,11.4-11.4.33.0.1.94.0:20210409T210027Z
Repository path: /export/repoSolaris11/publisher/solaris/file/ac/ac9b3ce5751ef0003709b61f258ec55719d2e5c1
Path: usr/lib/python2.7/vendor-packages/64/_ldap.so
ERROR: Missing file: 2b96a139a712518feb4aa38bb53a902fffc30082
Package: pkg://solaris/library/python/python-ldap-27@3.2.0,11.4-11.4.33.0.1.94.0:20210409T210027Z
Repository path: /export/repoSolaris11/publisher/solaris/file/2b/2b96a139a712518feb4aa38bb53a902fffc30082
Path: usr/lib/python2.7/vendor-packages/_ldap.so
This is confirmed when I connect another Solaris zone to this local repository and try and download any package or run upgrades it errors out.
Any ideas?
sudo pkgrepo info -s /export/repoSolaris11/
Password:
PUBLISHER PACKAGES STATUS UPDATED
solaris 10696 online 2025-08-24T22:14:55.236719Z
Thanks