On May 10, 2010, at 10:31 PM, Shawn Walker wrote:
On 05/10/10 09:20 PM, Jim Hall wrote:
On May 10, 2010, at 10:10 PM, [email protected] wrote:
On Mon, May 10, 2010 at 09:55:24PM -0400, Jim Hall wrote:
https protocol error: code: 403
URL: 'https://pkg.sun.com/opensolaris/extra/catalog/0/'.
This is a 403 - Forbidden error from pkg.sun.com. This could be a
problem with your certificicate. What's the output of 'pkg
publisher extra'?
su...@killer:~$ pfexec pkg publisher extra
pkg: Unknown publisher 'extra'.
PUBLISHER TYPE STATUS URI
opensolaris.org (preferred) origin online
http://pkg.opensolaris.org/dev/
extras origin online https://pkg.sun.com/opensolaris/extra/
Looking back at your first email, you've configured extra with the
name
'extras'. Try the command 'pkg publisher extras' instead.
su...@killer:~$ pkg publisher extras
Publisher: extras
Alias: None
Origin URI: https://pkg.sun.com/opensolaris/extra/
SSL Key: /var/pkg/ssl/OpenSolaris_extras.key.pem
SSL Cert: /var/pkg/ssl/OpenSolaris_extras.certificate.pem
Cert. Effective Date: October 22, 2009 4:11:06 PM
Cert. Expiration Date: November 22, 2010 4:11:06 PM
Client UUID: 6743447d-359d-11de-9a2a-00144ff2a9dc
Catalog Updated: May 11, 2010 2:13:05 AM
Enabled: Yes
But alpine is not in extras, it is opensolaris-contrib:
su...@killer:~$ pfexec pkg search -s
https://pkg.sun.com/opensolaris/extra/ alpine
su...@killer:~$
su...@killer:~$ pfexec pkg search -s http://pkg.opensolaris.org/contrib
alpine
INDEX ACTION VALUE PACKAGE
info.upstream set Alpine pkg:/[email protected]
basename dir usr/share/doc/alpine pkg:/[email protected]
basename file usr/bin/alpine pkg:/[email protected]
legacy_pkg legacy alpine pkg:/[email protected]
pkg.name set alpine pkg:/[email protected]
So I am still not getting how to get the package from contrib...
Errors from other publishers may be preventing you from using contrib.
Try:
pfexec pkg install --no-refresh alpine
That did it!
su...@killer:~$ pfexec pkg install --no-refresh alpine
DOWNLOAD PKGS FILES XFER (MB)
Completed 3/3 5191/5191 226.3/226.3
PHASE ACTIONS
Removal Phase 5204/5204
Install Phase 8162/8162
PHASE ITEMS
Reading Existing Index 8/8
Indexing Packages 3/3
su...@killer:~$ which alpine
/usr/bin/alpine
boy this does not "leap out" as the next step from the man page:
With --no-refresh, do not attempt to contact the
repositories for
the image's publishers to retrieve publisher metadata (e.g.
catalogs).
Thanks for your help! I guess an alternative is to delete repositories?
JIM
Cheers,
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss