docker nginx apt-get不能更新问题
作者:
王国的荣耀 | 来源:发表于
2022-11-30 14:33 被阅读0次cd /etc/apt
touch sources.list
echo "deb http://mirrors.ustc.edu.cn/debian stable main contrib non-free" >>sources.list
echo "deb http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free" >>sources.list
root@91f083c6fd50:/etc/apt# cat sources.list
deb http://mirrors.ustc.edu.cn/debian stable main contrib non-free
deb http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free
apt-get update
apt-get install vim
root@91f083c6fd50:/etc/apt# which vim
/usr/bin/vim
本文标题:docker nginx apt-get不能更新问题
本文链接:https://www.haomeiwen.com/subject/aeydfdtx.html
网友评论