Skip to content
Prev 16742 / 21307 Next

[Bioc-devel] Could not read from remote repository

You must be using the wrong SSH key most likely. 

If you have R W access it means the key exists but when you try to "fetch" via git, it's using the wrong key. You can set up your config file if you identify which SSH key is correct. 

Your git remote is malformed(formatting), if you resend it to me, I can take a better look at it. 

Best,

Nitesh

?On 5/3/20, 10:37 PM, "Bioc-devel on behalf of Yingxin Lin" <bioc-devel-bounces at r-project.org on behalf of yingxin.lin at sydney.edu.au> wrote:

    Hi,

    I am trying to follow the guideline to sync the existing repositories of my package scClassify, but I got the following error:


    (base) 192-168-1-112:scClassify yingxinlin$ git fetch --all
    Fetching origin
    From https://github.com/SydneyBioX/scClassify
    * branch            master     -> FETCH_HEAD
    Fetching upstream
    FATAL: invalid repo name: 'packages/scClassify.git' -X -C -oForwardX11Timeout=596h -oXauthLocation=/opt/X11/bin/xauth -p 12022 localhost'
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.
    error: Could not fetch upstream

    And I have checked ssh -T git at git.bioconductor.org<mailto:git at git.bioconductor.org>, which indicates that I have R and W access for scClassify. The ?~/.ssh/config? file is set as point 15 mentioned in https://www.bioconductor.org/developers/how-to/git/faq/.

    Below is my remote setting:
    (base) 192-168-1-112:scClassify yingxinlin$ git remote -v
    origin  https://github.com/SydneyBioX/scClassify.git (fetch)
    origin  https://github.com/SydneyBioX/scClassify.git (push)
    upstream        git at git.bioconductor.org<mailto:git at git.bioconductor.org>:packages/scClassify.git (fetch)
    upstream        git at git.bioconductor.org<mailto:git at git.bioconductor.org>:packages/scClassify.git (push)


    I am wondering if you could provide some suggestions on how I can resolve these issues. Thank you in advance!

    Best regards,
    Yingxin Lin




    _______________________________________________
    Bioc-devel at r-project.org mailing list
    https://stat.ethz.ch/mailman/listinfo/bioc-devel