V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Juggernaut
V2EX  ›  Docker

The issue about Docker LFS

  •  
  •   Juggernaut · 2020-03-30 22:22:39 +08:00 · 3063 次点击
    这是一个创建于 1697 天前的主题,其中的信息可能已经有所发展或是发生改变。
    I have set env. in Dockerfile as below:
    RUN echo "deb http://mirrors.163.com/debian/ jessie main non-free contrib" > /etc/apt/sources.list.d/jessie.list
    RUN echo "deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib" > /etc/apt/sources.list.d/jessie-backports.list
    RUN sed -i '/deb http:\/\/mirrors.163.com\/debian\/ jessie-updates main non-free contrib/d' /etc/apt/sources.list

    BUT still some issues,DA LAO help:
    Step 20/41 : RUN echo "deb http://mirrors.163.com/debian/ jessie main non-free contrib" > /etc/apt/sources.list.d/jessie.list
    ---> Using cache
    ---> cb23d5b5c9d1
    Step 21/41 : RUN echo "deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib" > /etc/apt/sources.list.d/jessie-backports.list
    ---> Running in ce1fd7241d87
    Removing intermediate container ce1fd7241d87
    ---> d442be864daf
    Step 22/41 : RUN sed -i '/deb http:\/\/mirrors.163.com\/debian\/ jessie-updates main non-free contrib/d' /etc/apt/sources.list
    ---> Running in c76645f59fc1
    Removing intermediate container c76645f59fc1
    ---> f591c86f5b79
    Step 23/41 : RUN apt-get -o Acquire::Check-Valid-Until=false update
    ---> Running in 3245afd2eacf
    Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
    Ign http://mirrors.163.com jessie-backports InRelease
    Ign http://mirrors.163.com jessie InRelease
    Ign http://mirrors.163.com jessie-backports Release.gpg
    Get:2 http://mirrors.163.com jessie Release.gpg [1652 B]
    Ign http://deb.debian.org jessie InRelease
    Get:3 http://deb.debian.org jessie-updates InRelease [16.3 kB]
    Ign http://mirrors.163.com jessie-backports Release
    Get:4 http://mirrors.163.com jessie Release [77.3 kB]
    Get:5 http://security.debian.org jessie/updates/main amd64 Packages [951 kB]
    Get:6 http://mirrors.163.com jessie/main amd64 Packages [9098 kB]
    Get:7 http://deb.debian.org jessie Release.gpg [1652 B]
    Get:8 http://deb.debian.org jessie Release [77.3 kB]
    Get:9 http://mirrors.163.com jessie/non-free amd64 Packages [101 kB]
    Get:10 http://mirrors.163.com jessie/contrib amd64 Packages [59.2 kB]
    Err http://mirrors.163.com jessie-backports/main amd64 Packages
    404 Not Found
    Err http://mirrors.163.com jessie-backports/non-free amd64 Packages
    404 Not Found
    Err http://mirrors.163.com jessie-backports/contrib amd64 Packages
    404 Not Found
    Get:11 http://deb.debian.org jessie-updates/main amd64 Packages [20 B]
    Get:12 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
    Err http://deb.debian.org jessie/main amd64 Packages

    Err http://deb.debian.org jessie/main amd64 Packages

    Err http://deb.debian.org jessie/main amd64 Packages
    Unable to connect to deb.debian.org:http:
    WFetched 10.4 MB in 17min 46s (9780 B/s)
    : Failed to fetch http://mirrors.163.com/debian/dists/jessie-backports/main/binary-amd64/Packages 404 Not Found

    W: Failed to fetch http://mirrors.163.com/debian/dists/jessie-backports/non-free/binary-amd64/Packages 404 Not Found

    W: Failed to fetch http://mirrors.163.com/debian/dists/jessie-backports/contrib/binary-amd64/Packages 404 Not Found

    W: Failed to fetch http://deb.debian.org/debian/dists/jessie/main/binary-amd64/Packages Unable to connect to deb.debian.org:http:

    E: Some index files failed to download. They have been ignored, or old ones used instead.
    The command '/bin/sh -c apt-get -o Acquire::Check-Valid-Until=false update' returned a non-zero code: 100
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2795 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 13:04 · PVG 21:04 · LAX 05:04 · JFK 08:04
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.