리눅스 우분투 sudo apt-get update 에러 해결하는 법

OWLS·2024년 6월 10일

삽질

목록 보기
3/3

서론

sudo apt-get update 안되는 에러 해결하는 법임

>>>  sudo apt-get update
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease                        
Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease                                        
Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease                                
Hit:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease                    
Ign:1 https://packages.cloud.google.com/apt kubernetes-xenial InRelease             
Err:6 https://packages.cloud.google.com/apt kubernetes-xenial Release
  404  Not Found [IP: 142.250.206.238 443]
Reading package lists... Done
E: The repository 'https://apt.kubernetes.io kubernetes-xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

대강 이런 상황이었음.

본론

참고 링크 :
https://blog.naver.com/PostView.naver?blogId=ycl2k&logNo=222954592476&categoryNo=0&parentCategoryNo=0&viewDate=¤tPage=1&postListTopCurrentPage=1&from=search

https://www.inflearn.com/questions/1219874/the-repository-x27-https-apt-kubernetes-io-kubernetes-xenial-release-x27-d

삽질하는 과정에서 에러 메시지가 어느정도 바뀌었는데, 일단 이거 두개 보고 나니 해결됐음.

profile
코딩에 관심 많은 사람

0개의 댓글