[Linux/Ubuntu] apt-get update오류 Hash sum mismatch

2021. 4. 11. 02:46·개발/Linux
728x90

apt update 중 Hash Sum Mismatch 오류 Hash sum mismatch, snap too early발생

 

간단하게 다음 명령어들을 입력

$ sudo su -
$ apt-get clean
$ rm -rf /var/lib/apt/lists/*
$ apt-get update -o Acquire::CompressionTypes::Order::=gz
$ mkdir /etc/gcrypt
$ echo all >> /etc/gcrypt/hwf.deny

 

 

이렇게 했을 경우, 계속 오류가 발생한다면, mirror.kakao.com/ubuntu로 변경해준다.

 

$ sudo sed -i 's/us.archive.ubuntu.com/mirror.kakao.com/g' /etc/apt/sources.list

ref: https://stackoverflow.com/a/64157969

ref: https://askubuntu.com/questions/1235914/hash-sum-mismatch-error-due-to-identical-sha1-and-md5-but-different-sha256#1242739

 

728x90
저작자표시 비영리 변경금지 (새창열림)

'개발 > Linux' 카테고리의 다른 글

[Linux/Raspbian] apt-get update 오류  (0) 2021.12.31
[VMware] vmware internal error오류 2가지 해결 법  (0) 2021.12.28
[Linux/Ubuntu] E: Unable to lock directory /var/lib/apt/lists/ 처리  (1) 2021.01.29
[CentOS7] Let's Encrypt SSL 인증서 발급 및 적용(tomcat)  (0) 2021.01.21
[Linux/Ubuntu] openssl 설치(+wget 사용)  (0) 2021.01.07
'개발/Linux' 카테고리의 다른 글
  • [Linux/Raspbian] apt-get update 오류
  • [VMware] vmware internal error오류 2가지 해결 법
  • [Linux/Ubuntu] E: Unable to lock directory /var/lib/apt/lists/ 처리
  • [CentOS7] Let's Encrypt SSL 인증서 발급 및 적용(tomcat)
호이호이209
호이호이209
이것저것 기록하는 메모장
    250x250
  • 호이호이209
    R=VD
    호이호이209
    • R=VD전체글 (83)
      • 개발 (63)
        • Linux (19)
        • 머신러닝 (10)
        • Git (6)
        • Python (9)
        • 프로그래밍 언어 (2)
        • Docker (5)
        • ETC (12)
      • 일상기록 (20)
        • 여행 (5)
        • 일상-이모저모 (8)
  • 인기 글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
호이호이209
[Linux/Ubuntu] apt-get update오류 Hash sum mismatch
상단으로

티스토리툴바