HumanCompatibleAI / overcooked_ai

A benchmark environment for fully cooperative human-AI performance.
https://arxiv.org/abs/1910.05789
MIT License
714 stars 152 forks source link

docker build package not found #146

Closed boshenzh closed 2 months ago

boshenzh commented 3 months ago

Hi, when I was setting up overcooked demo with docker as instructed in README, I encountered following error.


ERROR [app  9/14] RUN apt-get -y update                                                                      3.0s 
------
 [app  9/14] RUN apt-get -y update:
0.545 Ign:1 http://security.debian.org/debian-security stretch/updates InRelease
0.567 Ign:2 http://deb.debian.org/debian stretch InRelease
0.568 Ign:3 http://security.debian.org/debian-security stretch/updates Release
0.587 Ign:4 http://security.debian.org/debian-security stretch/updates/main all Packages
0.588 Ign:5 http://deb.debian.org/debian stretch-updates InRelease
0.608 Ign:6 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
0.610 Ign:7 http://deb.debian.org/debian stretch Release
0.628 Ign:4 http://security.debian.org/debian-security stretch/updates/main all Packages
0.632 Ign:8 http://deb.debian.org/debian stretch-updates Release
0.792 Ign:9 http://deb.debian.org/debian stretch/main amd64 Packages
0.792 Ign:6 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
0.812 Ign:10 http://deb.debian.org/debian stretch/main all Packages
0.815 Ign:4 http://security.debian.org/debian-security stretch/updates/main all Packages
0.834 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
0.983 Ign:6 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
0.996 Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
1.026 Ign:4 http://security.debian.org/debian-security stretch/updates/main all Packages
1.174 Ign:9 http://deb.debian.org/debian stretch/main amd64 Packages
1.189 Ign:6 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
1.193 Ign:10 http://deb.debian.org/debian stretch/main all Packages
1.208 Ign:4 http://security.debian.org/debian-security stretch/updates/main all Packages
1.212 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
1.371 Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
1.372 Ign:6 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
1.395 Ign:4 http://security.debian.org/debian-security stretch/updates/main all Packages
1.531 Ign:9 http://deb.debian.org/debian stretch/main amd64 Packages
1.566 Ign:10 http://deb.debian.org/debian stretch/main all Packages
1.597 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
1.643 Err:6 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
1.643   404  Not Found
1.758 Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
1.917 Ign:9 http://deb.debian.org/debian stretch/main amd64 Packages
1.951 Ign:10 http://deb.debian.org/debian stretch/main all Packages
1.970 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
2.129 Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
2.292 Ign:9 http://deb.debian.org/debian stretch/main amd64 Packages
2.317 Ign:10 http://deb.debian.org/debian stretch/main all Packages
2.342 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
2.507 Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
2.671 Err:9 http://deb.debian.org/debian stretch/main amd64 Packages
2.671   404  Not Found
2.690 Ign:10 http://deb.debian.org/debian stretch/main all Packages
2.719 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
2.900 Err:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
2.900   404  Not Found
2.911 Reading package lists...
2.926 W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
2.926 W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
2.926 W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
2.926 E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages  404  Not Found
2.926 E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages  404  Not Found        
2.926 E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages  404  Not Found
2.926 E: Some index files failed to download. They have been ignored, or old ones used instead.
------
failed to solve: process "/bin/sh -c apt-get -y update" did not complete successfully: exit code: 100

I was able to fix this by changing the Dockerfile, Switch to a newer base image from stretch to buster. by editing following line from FROM python:3.7-stretch to FROM python:3.7-buster

micahcarroll commented 2 months ago

Hi @boshenzh! Thanks for raising this issue! 🙏

If you want to make a PR with this change, I'll approve it!