Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker ros key expired #55

Open
weizhou1001 opened this issue Aug 22, 2019 · 5 comments
Open

docker ros key expired #55

weizhou1001 opened this issue Aug 22, 2019 · 5 comments

Comments

@weizhou1001
Copy link

I was trying to build other stuff in your docker image. But the ROS complaining:
Err:1 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-pcl-msgs amd64 0.2.0-0xenial-20180222-204939-0800 404 Not Found [IP: 140.211.166.134 80]

I think the ROS key in the docker is expired. So I did:
$ sudo apt-key del 421C365BD9FF1F717815A3895523BAEEB01FA116
$ sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
$ sudo apt clean && sudo apt update

It fixed the problem.. Just wanna double check if this is an issue when you use it?

@tano297
Copy link
Contributor

tano297 commented Aug 22, 2019

Yes, this is the case.
I will try to update the base image to reflect this, and leave this issue open just in case it happens to anybody else

@weizhou1001
Copy link
Author

weizhou1001 commented Aug 23, 2019

Also want to check, after I run $ nvidia-docker run -ti --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v $HOME/.Xauthority:/home/developer/.Xauthority -v /home/$USER/data:/shared --net=host --pid=host --ipc=host bonnet /bin/bash, which command should I use to go back to that container or open multiple terminals with the same setting? I found if I still run the same command, it will clean my previous setup...

It seems I can use nvidia-docker exec -ti CONTAINER-ID /bin/bash, but what if I want to change the shared folder path?

Thanks for the help!

@tano297
Copy link
Contributor

tano297 commented Aug 23, 2019

Hello @weizhou1001

I don't think there is a straight forward way to do that. If you are not worried about security, I would just make a more general shared folder where you have all your data, and use that at the beginning.

This is a very specific corner case that is not related to Bonnet, but docker itself, so here are some resources:

@aravind93raja
Copy link

I am getting the same issue in Docker :
When I run sudo apt-get update

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.ros.org/ros/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654
W: Failed to fetch http://packages.ros.org/ros/ubuntu/dists/xenial/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654
W: Some index files failed to download. They have been ignored, or old ones used instead.

How do I fix this ?

@tano297
Copy link
Contributor

tano297 commented Sep 6, 2019

Hi @aravind93raja ,
Although it is a related problem, it is not the same, since the key is different.
As a general rule, please first try googling, since this is not an issue with Bonnet.
This may help you: link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants