ubuntu:: apt-update시 오류 및 repository 에러항목 조치방법

 

ERROR



apt update \ apt upgrade를 하려다가 Hash mismatch가 뜨면서 오류가 발생.

이 때는 apt list에 있는 항목을 지우고 다시 다운 받아서 설치하면 조치 되는 경우가 있다.

sudo apt clean
sudo rm -rf /var/lib/apt/lists/*
sudo apt update 
 
# apt명령어만으로 조치 안될 경우
# 아래처럼 cache 활용하지 않는 방법을 시도
sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get -o Acquire::http::Pipeline-Depth=0 -o Acquire::http::No-Cache=True update



ERROR MESSAGE

E: The repository 'https://ppa.launchpadcontent.net/bashtop-monitor/bashtop/ubuntu jammy 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.

 

 

조치방법

sudo apt-add-repository -r ppa:certbot/certbot
 
sudo apt-add-repository -r ppa:bashtop-monitor/bashtop



** 여기저기 블로그에 애매하게들 적혀 있는데,

" ppa:certbot/cerbot "  또는 "ppa:bashtop-monitor/bashtop" 의 전체경로 주소로 입력해야 정상적으로 제외가능하다





ERROR

E: The repository 'https://ppa.launchpadcontent.net/certbot/certbot/ubuntu jammy Release' does not have a Release file.
Err:6 https://ppa.launchpadcontent.net/certbot/certbot/ubuntu jammy Release

 

https://www.digitalocean.com/community/questions/i-have-a-problem-with-ssl-config-with-ubuntu-21-04




** 여기저기 블로그에 애매하게 적혀 있는데,

" ppa:certbot/cerbot " 주소로 입력해서 전체 certbot을 모두 삭제해야 한다.

sudo apt-add-repository -r ppa:certbot/certbot






댓글 쓰기 · 수정

0 댓글