因为该源是不用GPG验证的,可能不安全,但因为docker容器没有验证GPG的工具所以只能先用这个源然后安装GPG验证相关软件包再更换回正式源。
步骤

mv /etc/apt/sources.list /etc/apt/sources.list.bak

cat <<EOF >/etc/apt/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
EOF

apt update
————————————————
版权声明:本文为CSDN博主「微笑丶1998」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/j84491135/java/article/details/105938672

相关文章:

  • 2021-11-19
  • 2021-12-13
  • 2022-01-18
  • 2021-08-07
  • 2021-11-22
  • 2022-12-23
  • 2021-07-12
  • 2022-12-23
猜你喜欢
  • 2021-11-12
  • 2021-12-30
  • 2021-09-17
  • 2021-10-30
  • 2022-12-23
  • 2021-09-26
  • 2022-01-06
相关资源
相似解决方案