repo์ถ๊ฐ ํ, ์๋์ ๊ฐ์ ์๋ฌ๊ฐ ๋ ๊ฒฝ์ฐ๊ฐ ์๋ค.
์ค๋ฅ:4 https://packages.microsoft.com/repos/code stable Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses insecure algorithm.
Could not handshake: Error in the certificate verification. [IP: 23.99.120.248 443]
: The repository 'https://packages.microsoft.com/repos/code stable Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
์ด๋, repo์ gpgํค๊ฐ ์ ๋ชป ๋์ด ์๋ ๊ฒฝ์ฐ๋ ์์ง๋ง, ๋ณดํต์ ๊ฒฝ์ ๊ตฌ๊ฐ์ https๋ฐฉํ๋ฒฝ์ธ ๊ฒฝ์ฐ๊ฐ ๋ง๋ค.
์ด๋ด ๊ฒฝ์ฐ์๋ ์๋์ ๊ฐ์ด repo safety์ฒดํฌ๋ฅผ ๋ฌด๋ ฅํ ํด ์ค๋ค.
๋ค๋ง, ๋ณด์ ์์ค์ ๋ฎ์์ง๋ ์ฃผ์ํด์ผ ํ๋ค.
$ sudo vi /etc/apt/apt.conf.d/50apt-file.conf
# ๊ฐ์ฅ ๋ง์ง๋ง์ ์๋ ํ์ ์ถ๊ฐํ๋ค.
Acquire { https::Verify-Peer false }
์ ์ฅ ํ ์ ๋ฐ์ดํธ ํ๋ค.
$ sudo apt update