![](/img/trans.png)
[英]docker install fails with unmet dependencies on debian wheezy
[英]Docker Debian install fails
我有一個可用的Dockerfile,但是如果我在apt-get install
命令中添加任何新的依賴項,它就會失敗。 例如,這有效:
FROM debian:stable
RUN apt-get update
RUN apt-get install -y \
python \
...
apache2
但是,如果我嘗試這個,它會失敗:
FROM debian:stable
RUN apt-get update
RUN apt-get install -y \
python \
...
apache2
python-mysqldb
我可以用其他任何東西替換python-mysqldb
,例如git-core
,它仍然會失敗,並顯示相同的錯誤消息:
Unable to correct missing packages.
E: Failed to fetch http://security.debian.org/pool/updates/main/l/linux/linux-libc-dev_3.16.7-ckt11-1+deb8u5_amd64.deb 404 Not Found [IP: 149.20.20.6 80]
E: Aborting install.
有關添加新依賴項的原因的任何想法都會導致失敗以及如何修復它?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.