일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- Jekyll
- sudo apt-get update
- 미국 유학
- 개인홈페이지
- 의료AI
- ai 랭킹
- 미국 대학원 준비
- 파이썬
- 수학to파이썬
- 의료인공지능
- 원격 서버 파일 다운 받기
- error
- 우분투 오류 해결
- 수학
- 미국 석사
- github.io
- sudo apt install
- MLB 경기 관람
- 우분투
- 미국 대학원 준비 타임라인
- 대학원 랭킹
- 미국 대학원 진학
- MedicalAI
- cs 랭킹
- 티스토리 행렬 오류
- 미국 박사 궁금증
- 파이썬 시각화
- 썰풀이
- 미국 대학원
- al-folio
- Today
- Total
Yehyun Suh
[우분투] Data from such a repository can't be authenticated and is therefore potentially dangerous to use. 문제 해결 본문
[우분투] Data from such a repository can't be authenticated and is therefore potentially dangerous to use. 문제 해결
Yehyun Suh 2023. 8. 24. 14:45지난 글( https://yehyunsuh.tistory.com/31 )에서 신나게 sudo apt-get update을 마친 나는 아직 3개의 오류 메세지가 보이는 것을 확인했다.
[우분투] W: The repository 'cdrom://[Ubuntu 20.04 _Focal_ - Build amd64 LIVE Binary 20200502-05:58] focal Release' does not h
이제 막 우분투를 받아서 신나게 sudo apt-get update을 했는데 나에게 아래와 같은 시련이 다가왔다. 1. 오류 메세지 W: The repository 'cdrom://[Ubuntu 20.04 _Focal_ - Build amd64 LIVE Binary 20200502-05:58] focal Release' do
yehyunsuh.tistory.com
1. 오류 메세지
W: The repository 'file: Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
해당 문제는 sources.list에 있는 잘못된 주소로부터 생긴 것들이다.
2. 해결 방법
sudo rm -rf /var/lib/apt/lists/*
sudo rm -rf /etc/apt/sources.list.d/*
sudo apt-get update
위에 적혀 있는 명령어를 실행하게 되면[1]
잘 돌아가는 것을 확인할 수 있다. 그리고 나는 sudo apt-get update가 문제없이 진행이 되길래 이제 나에게 필요한 openssh-server를 설치하기 위해
위와 같이 명령어를 쳤는데, 설치를 할 수 있는 package 후보가 없는 오류가 떴다. 이 문제에 대한 해결방안은 다음 글( https://yehyunsuh.tistory.com/33 )에서 다루도록 하겠다.
[우분투] E: Package <package_name> has no installation candidate 문제 해결
지난 글( https://yehyunsuh.tistory.com/32 )에서 sudo apt-get update에 대한 모든 오류를 해결하고 나에게 필요한 package를 설치하기 위해서 sudo apt-get install openssh-server를 쳤는데 나에게 돌아온 건 또다른 오류
yehyunsuh.tistory.com
Reference
[1] Data from such a repository can't be authenticated, askubuntu(2018년 1월 18일) https://askubuntu.com/questions/995484/data-from-such-a-repository-cant-be-authenticated