MiniBullLab / easy_docker

1 stars 1 forks source link

nvidia/cuda:10.0-devel-ubuntu18.04镜像错误 #12

Closed vitahlin closed 3 years ago

vitahlin commented 3 years ago
W: GPG error: https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu1804/x86_64  Release: The following signatures were invalid: BADSIG F60F4B3D7FA2AF80 cudatools <cudatools@nvidia.com>
E: The repository 'https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64  Release' is not signed.
vitahlin commented 3 years ago

可能是代理的问题,不确定,待验证。 可能可行的解决方案:https://github.com/NVIDIA/nvidia-docker/issues/613

vitahlin commented 3 years ago

可能可行的解决方案:https://github.com/NVIDIA/nvidia-docker/issues/613#issuecomment-710743190

vitahlin commented 3 years ago

安装Amba,卡在tzdata

Selecting previously unselected package protobuf-compiler.
Preparing to unpack .../294-protobuf-compiler_3.0.0-9.1ubuntu1_amd64.deb ...
Unpacking protobuf-compiler (3.0.0-9.1ubuntu1) ...
Setting up libxi6:amd64 (2:1.7.9-1) ...
Setting up libminizip1:amd64 (1.1-8build1) ...
Setting up libxcb-present0:amd64 (1.13-2~ubuntu18.04) ...
Setting up libglvnd0:amd64 (1.0.0-2ubuntu2.3) ...
Setting up libgts-0.7-5:amd64 (0.7.6+darcs121130-4) ...
Setting up libxinerama1:amd64 (2:1.1.3-1) ...
Setting up libxcb-dri2-0:amd64 (1.13-2~ubuntu18.04) ...
Setting up libpathplan4 (2.40.1-2) ...
Setting up libxcb-dri3-0:amd64 (1.13-2~ubuntu18.04) ...
Setting up libxcb-glx0:amd64 (1.13-2~ubuntu18.04) ...
Setting up python3-xlsxwriter (0.9.6-0.1) ...
Setting up libaec0:amd64 (0.3.2-2) ...
Setting up libtwolame0:amd64 (0.3.13-3) ...
Setting up libdap25:amd64 (3.19.1-2build1) ...
Setting up libx264-152:amd64 (2:0.152.2854+gite9a5903-2) ...
Setting up libraw1394-11:amd64 (2.1.2-1) ...
Setting up libjson-glib-1.0-common (1.4.2-3ubuntu0.18.04.1) ...
Setting up liblab-gamut1 (2.40.1-2) ...
Setting up libxcb-xfixes0:amd64 (1.13-2~ubuntu18.04) ...
Setting up libxcb-render0:amd64 (1.13-2~ubuntu18.04) ...
Setting up libopenjp2-7:amd64 (2.3.0-2build0.18.04.1) ...
Setting up libllvm10:amd64 (1:10.0.0-4ubuntu1~18.04.2) ...
Setting up libqhull7:amd64 (2015.2-4) ...
Setting up glib-networking-common (2.56.0-1ubuntu0.1) ...
Setting up libxdamage1:amd64 (1:1.1.4-3) ...
Setting up libxfixes3:amd64 (1:5.0.3-1) ...
Setting up libgfortran4:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up libpng16-16:amd64 (1.6.34-1ubuntu0.18.04.2) ...
Setting up libsqlite3-dev:amd64 (3.22.0-1ubuntu0.4) ...
Setting up libwavpack1:amd64 (5.1.0-2ubuntu1.4) ...
Setting up liblcms2-2:amd64 (2.9-1ubuntu0.1) ...
Setting up libjbig0:amd64 (2.1-3.1build1) ...
Setting up libsigsegv2:amd64 (2.12-1) ...
Setting up fonts-dejavu-core (2.37-1) ...
Setting up poppler-data (0.4.8-2) ...
Setting up libjson-c3:amd64 (0.12.1-1.3ubuntu0.3) ...
Setting up libaacs0:amd64 (0.9.0-1) ...
Setting up libnuma1:amd64 (2.0.11-2.1ubuntu0.1) ...
Setting up tzdata (2020a-0ubuntu0.18.04) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Configuring tzdata
------------------

Please select the geographic area in which you live. Subsequent configuration
questions will narrow this down by presenting a list of cities, representing
the time zones in which they are located.

  1. Africa      4. Australia  7. Atlantic  10. Pacific  13. Etc
  2. America     5. Arctic     8. Europe    11. SystemV
  3. Antarctica  6. Asia       9. Indian    12. US
Geographic area: 6
lpj0822 commented 3 years ago

W: GPG error: https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu1804/x86_64 Release: The following signatures were invalid: BADSIG F60F4B3D7FA2AF80 cudatools cudatools@nvidia.com E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Release' is not signed. ERROR: Service 'ubuntu' failed to build: The command '/bin/sh -c apt-get update' returned a non-zero code: 100 Makefile:4: recipe for target 'build' failed make: *** [build] Error 1

lpj0822 commented 3 years ago

以上问题现在怎么解决 @vitahlin

vitahlin commented 3 years ago

解决方案

参考链接:https://github.com/NVIDIA/nvidia-docker/issues/613#issuecomment-710743190

具体操作,修改Hosts文件,加入以下配置:

128.1.83.18 developer.download.nvidia.cn

@lpj0822

目前来看IP地址好像会经常变更,详细的解决方案说明:https://www.yuque.com/docs/share/2dc8d8c8-f822-4403-859b-148e8f93898e?#%20%E3%80%8Anvidia-docker%20apt-get%20update%E9%94%99%E8%AF%AFThe%20following%20signatures%20were%20invalid:%20BADSIG%20F60F4B3D7FA2AF80%E3%80%8B

lpj0822 commented 3 years ago

debconf: delaying package configuration, since apt-utils is not installed

vitahlin commented 3 years ago

debconf: delaying package configuration, since apt-utils is not installed

这个可以忽略,参考:https://www.jianshu.com/p/99fd61e6aa29

MiniBullLab commented 3 years ago

将挂载目录改为easy_data @vitahlin

MiniBullLab commented 3 years ago

原始cudnn卸载