Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease
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
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