I had a look here:
It seemed to be a problem with the contacting of the 'extra'
repo.
Removing the 'extra' repo was okay but adding of it failed.
Output from the pkg history -l:
Operation: add-publisher
Outcome: Failed (Transport)
Client: pkg
Version: 0cfc4c9da4d2
User: jack (101)
Start Time: 2010-03-23T17:20:02
End Time: 2010-03-23T17:20:03
Command: /usr/bin/pkg set-publisher -k
OpenSolaris_standard_support.key.pem -c
OpenSolaris_standard_support.certificate.pem -O
https://pkg.sun.com/opensolaris/extra/ extra
Start State:
None
End State:
None
Errors:
Traceback (most recent call last):
File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line
281, in locked_op
yield
File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line
949, in add_publisher
self.transport.valid_publisher_test(pub)
File
"/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py",
line 1455, in valid_publisher_test
val = self._valid_publisher_test(pub)
File
"/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py",
line 1476, in _valid_publisher_test
"errors:\n%s" % e)
InvalidDepotResponseException: Unable to contact valid package server:
https://pkg.sun.com/opensolaris/extra
Encountered the following error(s):
Transport errors encountered when trying to contact depot server.
Reported the following errors:
https protocol error: code: 403 reason: Forbidden
URL: 'https://pkg.sun.com/opensolaris/extra'.
I reset the publishers so that only the support one was being used for
the opensolaris.org.
All others (including the mirror) were removed.
Setting back to the /dev and then adding the /extra repo worked.
j...@v4u-1500a-gmp03:/var/pkg/ssl# pkg publisher
PUBLISHER TYPE STATUS URI
opensolaris.org (preferred) origin online
http://pkg.opensolaris.org/dev/
extra origin online
https://pkg.sun.com/opensolaris/extra/
If interested/required I can send the whole pkg history -l output.
I am mystified how this happened (why was the 'extra' repo failing ?)
as the addition/removal of the others appeared to work.
And finally setting the repo correctly to get the sunstudioexpress:
j...@v4u-1500a-gmp03:/var/pkg/ssl# pkg install sunstudioexpress
DOWNLOAD PKGS FILES XFER (MB)
developer/sunstudioexpress ....
ta
pete
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss