ERROR: failed to solve: process "/bin/sh -c sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- docker, ubuntu
- Ambito
- build-system, devops
Direzione di ricerca
Start with tutorials/pick_and_place/docker/Dockerfile, especially line 3, and reproduce the documented Docker build command in the issue using Windows 10, WSL 2 Ubuntu, and Docker Desktop. Investigate the reported apt-key timeout and verify the change by successfully building the foxy Docker image.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
**ERROR: failed to solve: process "/bin/sh -c sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys **
When trying to run the Unity tutorial Pick and Place on Windows with WSL 2 and Docker, I receive the issue ERROR:
RUN sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654:
#0 0.340 Warning: apt-key output should not be parsed (stdout is not a terminal)
#0 0.352 Executing: /tmp/apt-key-gpghome.1yzQu92SDH/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654
#0 60.52 gpg: keyserver receive failed: Connection timed out
The issue does not occur when using Tutorial Ros Unity integrator. I assume some issue with the Docker key.
To Reproduce
Steps to reproduce the behavior:
Follow the guidelines of the tutorial with Windows 10, WSL 2 Ubuntu, Unity 22.3.2f1
Console logs / stack traces
Please wrap in [triple backticks (```)](PS D:\Unity\2022.3.2f1\Unity-Robotics-Hub\tutorials\pick_and_place> docker build -t foxy -f docker/Dockerfile .
[+] Building 61.2s (6/19)
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.25kB 0.0s
=> [internal] load metadata for docker.io/library/ros:melodic-ros-base 0.6s
=> CACHED [ 1/15] FROM docker.io/library/ros:melodic-ros-base@sha256:7e6fbcc36b05b7b63adec64f29ed7b397779f11123d 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 63.88kB 0.0s
=> ERROR [ 2/15] RUN sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654 60.6s
[ 2/15] RUN sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654:
#0 0.340 Warning: apt-key output should not be parsed (stdout is not a terminal)
#0 0.352 Executing: /tmp/apt-key-gpghome.1yzQu92SDH/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654
#0 60.52 gpg: keyserver receive failed: Connection timed out
Dockerfile:3
1 | FROM ros:melodic-ros-base
2 |
3 | >>> RUN sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654
4 |
5 | RUN sudo apt-get update && sudo apt-get install -y vim iputils-ping net-tools python-pip ros-melodic-robot-state-publisher ros-melodic-moveit ros-melodic-rosbridge-suite ros-melodic-joy ros-melodic-ros-control ros-melodic-ros-controllers ros-melodic-tf2-web-republisher dos2unix
ERROR: failed to solve: process "/bin/sh -c sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654" did not complete successfully: exit code: 2
PS D:\Unity\2022.3.2f1\Unity-Robotics-Hub\tutorials\pick_and_place>) to make it easier to read.
Expected behavior
To receive a Docker image build
Environment (please complete the following information, where applicable):
- Unity Version: [Unity 22.3.2f1]
- Unity machine OS + version: [Windows 10]
- ROS machine OS + version: [WSL 2 Ubuntu]
- ROS–Unity communication: [Docker Desktop trying to be built in PS]
- Lingua principale
- C#
- Stelle
- 2.6k
- Fork
- 473
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Unity-Technologies/Unity-Robotics-Hub
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
ROS2,ActionAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Is the project deprecated?Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 20/100
-
Force/Torque sensorAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Unity-Technologies/Unity-Robotics-Hub#433 · 1 commento ·
Tutte le issue di Unity-Technologies/Unity-Robotics-Hub
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
umbraco/Umbraco.Automate#612 ·
I maintainer di solito rispondono entro 1 giorno
-
崩溃日志只按 CRLF 分行Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
PCL-Community/PCL-CE#3872 ·
I maintainer di solito rispondono entro 1 giorno
-
type:task ux
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
elsa-workflows/elsa-foundation#5253 ·
I maintainer di solito rispondono entro 1 giorno