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

+ Recent posts