-
-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Submodule update fail #30
Comments
The same problem has occurred on my system. Did you fix it? |
I am having the same problem but with different submodule. Submodule path 'modules/mavlink/pymavlink': checked out '57a6ab0e64468f214c1bfc8ed36fe0e2a900b2e7'
I guess, https://github.com/UAVCAN/dsdl this module doesnt exist anymore . How can I update my submodule reference to the new URI? Which I think this one: https://github.com/UAVCAN/public_regulated_data_types, or do I need to build https://github.com/DroneCAN/libuavcan, (the one printed in the terminal) this module independently? |
I fixed it, here is the solution : https://github.com/ArduPilot/ardupilot/issues/19523 Use this command to change the url of an existing remote repository: |
Notice all the ones it was unable to fetch start with "git" rather than "https" You can use that set-url command above to change each submodule to https, or you can use
to set a global config to rewrite the url with "https" instead of "git" |
As I follow the installation for Ubunto 20.04 , I get the below messages after i run ( $ git submodule update --init --recursive )
Cloning into '/home/aak/ardupilot/modules/libcanard'...
fatal: read error: Connection reset by peer
fatal: clone of 'git://github.com/ArduPilot/libcanard.git' into submodule path '/home/aak/ardupilot/modules/libcanard' failed
Failed to clone 'modules/libcanard'. Retry scheduled
Cloning into '/home/aak/ardupilot/modules/libcanard'...
fatal: read error: Connection reset by peer
fatal: clone of 'git://github.com/ArduPilot/libcanard.git' into submodule path '/home/aak/ardupilot/modules/libcanard' failed
Failed to clone 'modules/libcanard' a second time, aborting
The text was updated successfully, but these errors were encountered: