Unknown error when downloading noetic-pcl in docker

asked 2021-01-11 22:59:09 -0600

I am trying to get some ros packages in docker. I have a command like:

RUN apt-get update && cat /srv/hm_ros.system | xargs apt-get install -y --no-install-recommends  && \
rm -rf /var/lib/apt/lists/* && apt-get clean

where hm_ros.system is a file containing:

python3-rosinstall 
ros-noetic-fkie-multimaster 
ros-noetic-mavlink 
ros-noetic-pcl-ros 
ros-noetic-robot-state-publisher 
ros-noetic-ros-base
ros-noetic-rosbridge-suite 
ros-noetic-rosserial 
ros-noetic-tf 
ros-noetic-unique-id
ros-noetic-urdf 
ros-noetic-xacro

But i always get the error:

E: Failed to fetch http://packages.ros.org/ros/ubuntu/po... Undetermined Error [IP: 64.50.236.52 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

The other packages seem to be found succsessfully. A note, prior to this I have:

RUN apt-get clean && apt-get update && apt-get install -y --no-install-recommends lsb-release gnupg2 && \
DEBIAN_FRONTEND="noninteractive" apt-get -y --no-install-recommends install tzdata \
&& apt-get clean && rm -rf /var/lib/apt/lists/* 

RUN add-apt-repository universe && add-apt-repository multiverse
RUN echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" >> /etc/apt/sources.list.d/ros-latest.list && \
apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

So I think the keys etc are setup correctly. Any ideas about what is happening here?

edit retag flag offensive close merge delete