
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
repository를 일부 제거 하는 방법에 관한 글
https://thekkom.tistory.com/122
ubuntu:: apt-update시 repository 에러항목 제외하기
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
thekkom.tistory.com
_
반응형