Could not read from remote repository

前端 未结 21 3355
北荒
北荒 2020-12-15 02:30

I have received the following error multiple times:

Could not read remote repository. Please make sure you have the correct access rights and the repo

21条回答
  •  余生分开走
    2020-12-15 03:03

    Installing a root/CA Certificate

    Given a CA certificate file foo.crt, follow these steps to install it on Ubuntu:

    Create a directory for extra CA certificates in /usr/share/ca-certificates:

    sudo mkdir /usr/share/ca-certificates/extra
    

    Copy the CA .crt file to this directory:

    sudo cp foo.crt /usr/share/ca-certificates/extra/foo.crt
    

    Let Ubuntu add the .crt file's path relative to /usr/share/ca-certificates to /etc/ca-certificates.conf:

    sudo dpkg-reconfigure ca-certificates
    

    This is an old post, but this is they only thing that I found that worked.

提交回复
热议问题