apt-get update를 하려는데 다음과 같은 에러가 뜨면서 실행되지 않았다.
Err:1 http://archive.ubuntu.com/ubuntu focal
InReleaseTemporary failure resolving 'archive.ubuntu.com'
해결방법은 다음과 같다.
1) sudo vim /etc/network/interfaces
2) iface eth0 inet dhcp 를 파일 안에 적고 저장
3) dhclient 라고 커맨드 창에 입력
4) ping 8.8.8.8을 통해 테스트 및 apt-get update 다시 실행
'개발일기 > Trouble Shooting' 카테고리의 다른 글
cc: error: unrecognized command line option ‘-fcf-protection=full’; did you mean ‘-fstack-protector-all’? (0) | 2023.08.29 |
---|---|
[YCSB] except subprocess.CalledProcessError, err: (0) | 2023.07.25 |
ERROR: modpost: "kallsyms_lookup_name" ... undefined! (0) | 2023.06.19 |
Error: initrd is too big (0) | 2023.06.19 |
ERROR: launchpadlib 1.10.6 requires testresources, which is not installed. (0) | 2023.04.17 |