tossp / redpill-tool-chain

这是一个测试项目,可能会有不可预测的事情发生(比如:毁损数据、烧毁硬件等等),请谨慎使用。
808 stars 1.89k forks source link

Executor failed running apt-get update #265

Open kroese opened 1 year ago

kroese commented 1 year ago

I always get this error:

#7 [stage-1  3/11] RUN apt-get update &&     apt-get install --yes --no-install-recommends ca-certificates build-essential git libssl-dev curl cpio bspatch vim gettext bc bison flex dosfstools kmod &&     rm -rf /var/lib/apt/lists/* /tmp/* &&     curl --progress-bar --output /usr/bin/jq --location https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && chmod +x /usr/bin/jq
#7 sha256:f804af75dfa89da58b8a94b3cd24ef317c21a8de37a756698cb2ec20a3e4dc8b
#7 4.906 Ign http://security.debian.org jessie/updates InRelease
#7 4.912 Ign http://security.debian.org jessie/updates Release.gpg
#7 4.919 Ign http://security.debian.org jessie/updates Release
#7 4.925 Err http://security.debian.org jessie/updates/main amd64 Packages
#7 4.925   
#7 4.932 Err http://security.debian.org jessie/updates/main amd64 Packages
#7 4.932   
#7 4.938 Err http://security.debian.org jessie/updates/main amd64 Packages
#7 4.938   
#7 4.944 Err http://security.debian.org jessie/updates/main amd64 Packages
#7 4.944   
#7 4.956 Err http://security.debian.org jessie/updates/main amd64 Packages
#7 4.956   404  Not Found [IP: [151.101.130.132 80]
#7 4.957 Ign http://deb.debian.org jessie InRelease
#7 4.963 Ign http://deb.debian.org jessie-updates InRelease
#7 4.969 Ign http://deb.debian.org jessie Release.gpg
#7 4.976 Ign http://deb.debian.org jessie-updates Release.gpg
#7 4.983 Ign http://deb.debian.org jessie Release
#7 4.989 Ign http://deb.debian.org jessie-updates Release
#7 5.052 Err http://deb.debian.org jessie/main amd64 Packages
#7 5.052   404  Not Found
#7 5.060 Err http://deb.debian.org jessie-updates/main amd64 Packages
#7 5.060   404  Not Found
#7 5.060 W: Failed to fetch http://security.debian.org//debian-security/dists/jessie/updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.130.132 80]
#7 5.060 
#7 5.060 W: Failed to fetch http://deb.debian.org//debian/dists/jessie/main/binary-amd64/Packages  404  Not Found
#7 5.060 
#7 5.060 W: Failed to fetch http://deb.debian.org//debian/dists/jessie-updates/main/binary-amd64/Packages  404  Not Found
#7 5.060 
#7 5.060 E: Some index files failed to download. They have been ignored, or old ones used instead.
#7 ERROR: executor failed running [/bin/sh -c apt-get update &&     apt-get install --yes --no-install-recommends ca-certificates build-essential git libssl-dev curl cpio bspatch vim gettext bc bison flex dosfstools kmod &&     rm -rf /var/lib/apt/lists/* /tmp/* &&     curl --progress-bar --output /usr/bin/jq --location https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && chmod +x /usr/bin/jq]: exit code: 100

#10 [extract 2/2] ADD downloads/ds.bromolow-7.0.dev.txz /
#10 sha256:fb77e1ef56fbe3c[179](https://github.com/kroese/redpill-tool-chain/actions/runs/4623588518/jobs/8177562186#step:5:180)023d7c1a474be3035145f58e68d896f7c5106d16b8e8f3
#10 DONE 39.5s
------
 > [stage-1  3/11] RUN apt-get update &&     apt-get install --yes --no-install-recommends ca-certificates build-essential git libssl-dev curl cpio bspatch vim gettext bc bison flex dosfstools kmod &&     rm -rf /var/lib/apt/lists/* /tmp/* &&     curl --progress-bar --output /usr/bin/jq --location https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && chmod +x /usr/bin/jq:
------
executor failed running [/bin/sh -c apt-get update &&     apt-get install --yes --no-install-recommends ca-certificates build-essential git libssl-dev curl cpio bspatch vim gettext bc bison flex dosfstools kmod &&     rm -rf /var/lib/apt/lists/* /tmp/* &&     curl --progress-bar --output /usr/bin/jq --location https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && chmod +x /usr/bin/jq]: exit code: 100
Error: Process completed with exit code 1.

Looks like something is wrong with the debian 8/jessie sources?

WhereAreBugs commented 1 year ago

The source no longer has the support of Debian 8/Jessie. To solve this problem, it’s recommended that we could edit the global_config.json file, change the docker base image from Debian:8-slim to Debian:11.

jieny commented 1 year ago

Debian:8-slim to Debian:11 后也无法编译,/opt/toolkit_dev-bromolow-7.0.1-42218/arch/x86/Makefile:164: CONFIG_RETPOLINE=y, but not supported by the compiler.