Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

apt-transport-https package missing in nvidia/cuda docker images #725

Closed
ivankra opened this issue May 4, 2018 · 8 comments
Closed

apt-transport-https package missing in nvidia/cuda docker images #725

ivankra opened this issue May 4, 2018 · 8 comments

Comments

@ivankra
Copy link

ivankra commented May 4, 2018

apt-get update in nvidia/cuda docker images started hanging indefinitely at 0% [Working]:

$ docker run --rm -it nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04 bash
root@f670a8ae2963:/# apt update
...
Get:23 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [8075 B]
0% [Working]

Looks like http://developer.download.nvidia.com/compute/cuda/... repos started redirecting to https:// today and the package apt-transport-https is missing in your images. There seems to be also some bug in apt causing the hanging - if you delete any one of the two references to this repo, it'll show the error instead of hanging:

root@fbc89f907f6d:/# rm /etc/apt/sources.list.d/nvidia-ml.list && apt update
...
Get:22 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [8075 B]
Reading package lists... Done                                 
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
@flx42
Copy link
Member

flx42 commented May 4, 2018

Yep, exactly what I just said here:
#704 (comment)
:)

@flx42
Copy link
Member

flx42 commented May 4, 2018

I'm looking at that right now.

@tfboyd
Copy link

tfboyd commented May 4, 2018

@fold0 Thank you for identifying the source. This has been killing me for the past hour as I tried to idenitfy the exact issue. I got around the https problem earlier i the day but then it just starting hard hanging.

@flx42
Copy link
Member

flx42 commented May 4, 2018

I'm re-generating CUDA images with apt-transport-https.

But that won't fix old images that you have already, I'm checking if we can rollback this change for those repositories.

@tfboyd
Copy link

tfboyd commented May 4, 2018

I see your point @flx42 this would impact the FINAL builds we have already published. If you need any support/customer feedback for rolling back the repo change I am happy to provide it. This totally toasted all of my tests and means going back and testing old versions means hacking in
rm /etc/apt/sources.list.d/nvidia-ml.list && apt update to a DockerFile. Open to ideas, this is not my area of expertise I just happened to be impacted.

@flx42
Copy link
Member

flx42 commented May 4, 2018

@tfboyd thanks!
It's being rollbacked, but it's not entirely done yet.

@flx42
Copy link
Member

flx42 commented May 4, 2018

And it should be back!
Please test!

@ivankra
Copy link
Author

ivankra commented May 4, 2018

Works for me now, thanks for fixing it quickly!

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

No branches or pull requests

3 participants