Docker Debian映像容器apt更新发生一些问题

时间:2019-08-20 03:31:45

标签: docker debian apt

Docker Hub拉出debian:stable映像,但是使用apt update命令会出现一些问题

Docker Hub debian:稳定映像

sources.list

deb [trusted=yes] http://deb.debian.org/debian stable main
deb [trusted=yes] http://deb.debian.org/debian stable-updates main

Error Message:
-----------------------------------------------------------
Ign:1 http://deb.debian.org/debian stable InRelease
Ign:2 http://deb.debian.org/debian stable Release
Ign:3 http://deb.debian.org/debian stable/main all Packages
Ign:4 http://deb.debian.org/debian stable/main amd64 Packages
Ign:3 http://deb.debian.org/debian stable/main all Packages
Ign:4 http://deb.debian.org/debian stable/main amd64 Packages
Ign:3 http://deb.debian.org/debian stable/main all Packages
Ign:4 http://deb.debian.org/debian stable/main amd64 Packages
Ign:3 http://deb.debian.org/debian stable/main all Packages
Ign:4 http://deb.debian.org/debian stable/main amd64 Packages
Ign:3 http://deb.debian.org/debian stable/main all Packages
Ign:4 http://deb.debian.org/debian stable/main amd64 Packages
Ign:3 http://deb.debian.org/debian stable/main all Packages
Ign:4 http://deb.debian.org/debian stable/main amd64 Packages
Ign:3 http://deb.debian.org/debian stable/main all Packages
Err:4 http://deb.debian.org/debian stable/main amd64 Packages
  SECURITY: URL redirect target contains control characters, rejecting. [IP: 5.153.231.4 80]
Reading package lists... Done
E: Failed to fetch http://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages  SECURITY: URL redirect target contains control characters, rejecting. [IP: 5.153.231.4 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

0 个答案:

没有答案