davidADSP / Generative_Deep_Learning_2nd_Edition

The official code repository for the second edition of the O'Reilly book Generative Deep Learning: Teaching Machines to Paint, Write, Compose and Play.
https://www.oreilly.com/library/view/generative-deep-learning/9781098134174/
Apache License 2.0
1.11k stars 418 forks source link

my windows #23

Open theguy951357 opened 1 year ago

theguy951357 commented 1 year ago

was having a problem with my windows machine building the docker image.

304.4 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libh/libhttp -date-perl/libhttp-date-perl_6.05-1_all.deb 403 connecting to archive.ubuntu.c om:80: connecting to 91.189.91.82:80: dial tcp 91.189.91.82:80: connectex: A con nection attempt failed because the connected party did not properly respond afte r a period of time, or established connection failed because connected host has failed to respond. [IP: 91.189.91.82 80] 304.4 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libs/libsoup 2.4/libsoup-gnome2.4-1_2.70.0-1_amd64.deb 403 connecting to archive.ubuntu.com :80: connecting to 91.189.91.82:80: dial tcp 91.189.91.82:80: connectex: A conne ction attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has fa iled to respond. [IP: 91.189.91.82 80] 304.4 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxdam age/libxdamage1_1.1.5-2_amd64.deb 403 connecting to archive.ubuntu.com:80: con necting to 91.189.91.82:80: dial tcp 91.189.91.82:80: connectex: A connection at tempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 91.189.91.82 80] 304.4 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gtk+3.0/li bgtk-3-common_3.24.20-0ubuntu1.1_all.deb 403 connecting to archive.ubuntu.com: 80: connecting to 91.189.91.82:80: dial tcp 91.189.91.82:80: connectex: A connec tion attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has fai led to respond. [IP: 91.189.91.82 80]

I was able to fix it with

RUN apt-get --allow-releaseinfo-change update before the RUN apt-get update command in the Dockerfile.gpu