Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease #359

Open
Tumb1eweed opened this issue Jun 9, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Tumb1eweed
Copy link

Tumb1eweed commented Jun 9, 2022

Description

ros_cross_compile *** --arch aarch64 --os ubuntu --rosdistro dashing

Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not connect to archive.ubuntu.com:80 (91.189.91.39), connection timed out Could not connect to archive.ubuntu.com:80 (185.125.190.39), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to archive.ubuntu.com:80 (185.125.190.36), connection timed outs

@Tumb1eweed Tumb1eweed added the bug Something isn't working label Jun 9, 2022
@furyNerd
Copy link

furyNerd commented Jul 25, 2022

i have overcome this failure by setting proxy in the dockerfiles.
e.g. your ros_cross_compile pkg is pip installed in path/to/ros_cross_compile (checked by pip3 show ros_cross_compile), then things like apt-get update ..., apt-get install... in dockerfile under path/to/ros_cross_compile/docker/ adapted to

apt-get install ... -o Acquire::http::proxy="http://username:password@ip:port"

and also other similiar places need internet access have been proxyed...

but pity i cannot overcome the rosdep ... related issues, looks like the proxy cannot be used by rosdep, i dont know why but i tried to comment out all the rosdep ... related instructions, by now in my case it looks works ok

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants