Docker java:7图像apt-get更新循环依赖关系
我正在使用官方的Java:7泊坞窗图像。 当我运行apt-get更新时,会引发错误:
E: The method driver /usr/lib/apt/methods/https could not be found. N: Is the package apt-transport-https installed?
所以当我运行时:
apt-get install apt-transport-https
它说无法find包
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package apt-transport-https
这是我的/etc/apt/source.list
deb http://httpredir.debian.org/debian jessie main deb http://httpredir.debian.org/debian jessie-updates main deb http://security.debian.org jessie/updates main
我知道apt-transport-https需要“apt-get update”,反之亦然。 我可以使用包
wget http://ftp.de.debian.org/debian/pool/main/a/apt/apt-transport-https_1.0.9.8.3_amd64.deb && dpkg -i apt-transport-https_1.0.9.8.3_amd64.deb
但有没有更好的办法?
看来,这个特定的版本有一些错误,当我更新图像,它工作正常。
- 无法(apt-get)在docker中安装软件包
- apt-get在Docker后面的公司代理
- 在Ubuntu 16上安装R语言 – 未满足的依赖关系
- 在docker容器中安装openssh-server,g ++,gdb和gdbserver Visual C ++ for Linux Development + Docker
- 在Docker中,Debian httpredir镜像系统不可靠/不可用?
- 将软件包安装到ubuntu14.04 docker容器中
- Docker的apt-get更新不起作用
- apt-get在Dockerfile中不起作用
- 为什么在Dockerfile构build过程中apt-get exit没有错误?