Programming/System
system에러 - Unable to fetch some archives, maybe run apt-get update...
junngo
2020. 4. 17. 22:12
반응형
안녕하세요.
도커 커맨드 실행중에 다음과 같은 에러가 발생했습니다.
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glibc/libc6-dev_2.28-10_amd64.deb Connection failed [IP: 151.101.228.204 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
ERROR: Service 'django' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y build-essential && apt-get install -y libpq-dev && apt-get install -y gettext && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 1002
해결하는 방법은 간단합니다.
다음 명령어를 입력해주세요.
sudo apt-get update
이후에 문제 없이 동작이 되었습니다 ^^
참고해주세요.
감사합니다.
반응형