"pkg contents -r" doesn't say the error message on my pc. 
it is snv_133.

> ko...@hadriel(10057)% pkg contents -r SUNWcs  
> ko...@hadriel(10058)% echo $?
> 1

but "pkg contents SUNWcs" work completely!

I'm looking for the reason, I found it.

It is caused by the publisher had the certificate expired.

This is the part of source code of list_contents() at /bin/pkg


>         elif remote:
>                 # Verify validity of certificates before attempting
> network
>                 # operations
>                 try:
>                         img.check_cert_validity()
>                 except (api_errors.CertificateError,
>                     api_errors.PermissionsException), e:
>                         img.history.log_operation_end(error=e)
>                         return EXIT_OOPS
> 

I want some messages if keys are expired.

It is definitely confusedly if the user added extra, basic support, and
so on....


-- 

-------------------
JUSTPLAYER Co.,Ltd.
CEO President, Founder
TAKI, Yasushi

ZIP 422-8077
3-29,Yamato 2chome,Suruga-ku, Shizuoka City, Shizuoka.
mailto:[email protected] http://www.justplayer.co.jp/
Blog: http://kohju.justplayer.com/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to