apt-get update... 404 not found
2021. 6. 23. 17:06ㆍ?
wsl2, ubuntu 20.04
apt-get update, apt-get upgrade하면 에러뜸
zzre@DESKTOP-BFP8LJ4:~$ sudo apt-get update
...
Err:20 http://security.ubuntu.com/ubuntu focal-security/main amd64 linux-libc-dev amd64 5.4.0-73.82
404 Not Found [IP: 91.189.91.38 80]
Get:21 http://security.ubuntu.com/ubuntu focal-security/main amd64 screen amd64 4.8.0-1ubuntu0.1 [577 kB]
Fetched 5649 kB in 2s (2381 kB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/n/nettle/libnettle7_3.5.1+really3.5.1-2ubuntu0.1_amd64.deb 404 Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/n/nettle/libhogweed5_3.5.1+really3.5.1-2ubuntu0.1_amd64.deb 404 Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_5.4.0-73.82_amd64.deb 404 Not Found [IP: 91.189.91.38 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
[+] 해결
/etc/apt/sources.list
파일을 열어보면 (sudo vim /etc/apt/sources.list)
deb http://security.ubuntu.com/ubuntu ~~
요런식으로 되어있는게 몇 줄 있는데
여기에 [arch=amd64,i386]를 써주니까 잘됨
deb [arch=amd64,i386] http://security.ubuntu.com/ubuntu ~~
'?' 카테고리의 다른 글
부동소수점 (0) | 2021.08.14 |
---|---|
docker 실행 (0) | 2021.06.23 |
glibc 2.31 free (0) | 2021.03.01 |
glibc 2.31 malloc (0) | 2021.02.21 |
fopen (0) | 2021.02.17 |