Ask Your Question
0

Autoware LGSVL fork docker build failed due to "unauthenticated packages"

asked 2019-06-18 12:30:37 -0600

xpharry gravatar image

updated 2019-06-18 12:34:08 -0600

jayess gravatar image

The error message is as below:

E: There were unauthenticated packages and -y was used without --allow-unauthenticated
The command '/bin/sh -c apt-get update && apt-get install -y ros-kinetic-desktop-full ros-kinetic-nmea-msgs ros-kinetic-nmea-navsat-driver ros-kinetic-sound-play ros-kinetic-jsk-visualization ros-kinetic-grid-map ros-kinetic-gps-common' returned a non-zero code: 100

My environment is - Ubuntu 16/04 - ROS Kinetic - Autoware lgsvl fork: https://github.com/lgsvl/Autoware.git

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2019-06-18 13:03:52 -0600

gvdhoorn gravatar image

updated 2019-06-18 13:13:28 -0600

You're likely running into #q325039.

Please follow the steps there, run sudo apt update and then try again.


Edit: seeing as this is a Docker build: the author/maintainer of lgsvl/Autoware is not basing his builds on the official OSRF docker images. He's importing the repository keys himself (here fi), which requires updates to the Dockerfiles to use the new key

Note that upstream (ie: autowarefoundation/autoware) has already changed things significantly and might not have this problem (these files).

edit flag offensive delete link more

Comments

I replaced Line 46 in Dockerfile.kinetic with

RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

It seems to be building well now. They should update it.

Thanks!

xpharry gravatar imagexpharry ( 2019-06-18 13:17:13 -0600 )edit

They should update it.

you can always submit a pull request.

If you're using the software, it may be nice to do that.

gvdhoorn gravatar imagegvdhoorn ( 2019-06-18 14:00:35 -0600 )edit

Will do. Thanks.

xpharry gravatar imagexpharry ( 2019-06-18 15:10:37 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-06-18 12:30:37 -0600

Seen: 75 times

Last updated: Jun 18