[indiana-discuss] Problem accessing "extra" repository
Paul Fisher
pfisher at alertlogic.net
Mon Dec 22 10:13:52 PST 2008
Please understand me... it worked last week when I registered and added
the authority. It just stopped working over the last 3-4 days.
Andreas Frische wrote:
> you said you downloaded them; but maybe you missed step 3 from the instructions?
> =====
> Make a directory inside of /var/pkg to store the key and certificate,
> and copy the key and certificate into this directory. The key files
> are kept by reference, so if the files become inaccessible to the
> packaging system, you will encounter errors. Here is how to do it:
>
> $ pfexec mkdir -m 0755 -p /var/pkg/ssl
> $ pfexec cp -i ~/Desktop/OpenSolaris_extras.key.pem /var/pkg/ssl
> $ pfexec cp -i ~/Desktop/OpenSolaris_extras.certificate.pem /var/pkg/ssl
> =====
> https://pkg.sun.com/register/help
>
> regards,
>
>
> On Mon, Dec 22, 2008 at 6:32 PM, Shawn Walker <swalker at opensolaris.org> wrote:
>> Paul Fisher wrote:
>>> Shawn Walker wrote:
>>>> andrew wrote:
>>>>> I have downloaded the key and certificate for the "extra" repository
>>>>> at https://pkg.sun.com/opensolaris/extra but when I run the command:
>>>>>
>>>>> pkg set-authority \
>>>>> -k /var/pkg/ssl/OpenSolaris_extras.key.pem \
>>>>> -c /var/pkg/ssl/OpenSolaris_extras.certificate.pem \
>>>>> -O https://pkg.sun.com/opensolaris/extra/ extra
>>>>>
>>>>> I get an error "pkg: could not refresh the catalog for extra."
>>>>> Attempts to retrieve the package list through the GUI get a 404
>>>>> error. How can I fix this? I generated the certificate on the same
>>>>> machine, having first tried on a different machine and getting the
>>>>> same error.
>>>> I'm not seeing this particular error at the moment.
>>>>
>>>> Can you try again?
>>> Been happening to me for a few days. Tried again just now and same result:
>>>
>>> $ pfexec pkg refresh --full
>>> pkg: 3/5 catalogs successfully updated:
>>> Could not retrieve catalog from 'extra'
>>> HTTPError code: 404 - Not Found
>>>
>>>
>>> $ pkg authority
>>> AUTHORITY URL
>>> contrib http://pkg.opensolaris.org/contrib/
>>> extra https://pkg.sun.com/opensolaris/extra/
>>> opensolaris.org (preferred) http://pkg.opensolaris.org:80/
>> You might try removing the extra authority, and then re-adding it per
>> the instructions provided at pkg.sun.com/register. You may also want to
>> try re-registering, etc.
>>
>> I've just checked again, and it works for me.
>>
>> --
>> Shawn Walker
>> _______________________________________________
>> indiana-discuss mailing list
>> indiana-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>>
>
>
>
More information about the indiana-discuss
mailing list