问题描述
使用
在我的Docker容器中安装Google Chrome之后
RUN wget -qO - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list \
&& sed -i '3 s/^/# /' /etc/apt/sources.list \
&& apt-get update && apt-get install --allow-downgrades --no-install-recommends -y google-chrome-stable \
&& apt-get autoremove -y \
&& apt-get clean
如果我尝试安装更多的apt-packages,
RUN apt-get update && apt-get install --allow-downgrades --no-install-recommends -y gvfs-bin
E: Package 'gvfs-bin' has no installation candidate
或者那个
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
E: Unable to correct problems,you have held broken packages.
关于如何调试此程序的任何想法?我在容器中的Ubuntu 20.04上。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)