SHA1을 사용하여 Apt 저장소에 대한 경고 메시지를 비활성화하는 방법은 무엇입니까? [복사]

SHA1을 사용하여 Apt 저장소에 대한 경고 메시지를 비활성화하는 방법은 무엇입니까? [복사]

적절한 최신 업데이트(Debian Unstable의 경우) SHA1 서명 저장소에 대한 경고 메시지를 생성합니다. SHA2 서명 저장소 권한을 부여해야 한다고 생각하지만 아직 SHA2 서명을 제공하지 않는 일부 소프트웨어를 사용하고 있으며 여전히 하나의 명령 apt-get update && apt-get dist-upgrade(SHA1 경고 메시지로 인해 중지됨) 으로 내 컴퓨터를 업그레이드할 수 있기를 원합니다. .

이 차단 경고 메시지를 제거하는 방법을 알고 싶습니다.

경고 메시지는 다음과 같습니다.The repository is insufficiently signed

소스.목록:

## Debian unstable - dépôts officiels

deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ unstable main contrib non-free

## Debian testing - dépôts officiels

deb http://ftp.fr.debian.org/debian/ testing main contrib non-free

deb http://security.debian.org/ testing/updates main contrib non-free

## Debian stable - dépôts officiels

deb http://ftp.fr.debian.org/debian/ stable main contrib non-free
deb http://ftp.fr.debian.org/debian/ stable-updates main contrib non-free

deb http://security.debian.org/ stable/updates main contrib non-free

#------
# samsung printer
deb http://www.bchemnet.com/suldr/ debian extra
# Deb-multimedia
deb http://www.deb-multimedia.org sid main non-free
# SpiderOakONE
deb http://apt.spideroak.com/debian/ stable non-free

업데이트 메시지 차단:

# apt-get update
Hit:1 http://ftp.fr.debian.org/debian unstable InRelease
Hit:2 http://www.deb-multimedia.org sid InRelease                                                                                  
Hit:3 http://ftp.fr.debian.org/debian testing InRelease                                                                            
Hit:4 http://security.debian.org testing/updates InRelease                                                                         
Ign:5 http://ftp.fr.debian.org/debian stable InRelease                                                                           
Hit:6 http://security.debian.org stable/updates InRelease                                                                          
Hit:7 http://ftp.fr.debian.org/debian stable-updates InRelease                                                                     
Hit:8 http://ftp.fr.debian.org/debian stable Release                                                                               
Ign:9 http://download.opensuse.org/repositories/home:/selmf/Debian_8.0  InRelease                                                      
Hit:10 http://www.bchemnet.com/suldr debian InRelease                                                                         
Hit:11 http://download.opensuse.org/repositories/home:/selmf/Debian_8.0  Release            
Ign:12 http://apt.spideroak.com/debian stable InRelease                                         
Get:13 http://apt.spideroak.com/debian stable Release [1 025 B]
Get:15 http://apt.spideroak.com/debian stable Release.gpg [189 B]
Fetched 1 214 B in 0s (1 628 B/s)                        
Reading package lists... Done
W: gpgv:/var/lib/apt/lists/www.bchemnet.com_suldr_dists_debian_InRelease: The repository is insufficiently signed by key 52C1D92CE6FC35F636B045C3C95104E509BAC46D (weak digest)
W: gpgv:/var/lib/apt/lists/download.opensuse.org_repositories_home:_selmf_Debian%5f8.0_Release.gpg: The repository is insufficiently signed by key 69CD0BB29BCA799AB242B1723F3411BE43F8BC1F (weak digest)
W: gpgv:/var/lib/apt/lists/partial/apt.spideroak.com_debian_dists_stable_Release.gpg: The repository is insufficiently signed by key FE45E5330B11DCF03247EF49A6FF22FF08C15DD0 (weak digest)
W: Failed to fetch http://apt.spideroak.com/debian/dists/stable/Release  No Hash entry in Release file /var/lib/apt/lists/partial/apt.spideroak.com_debian_dists_stable_Release, which is considered strong enough for security purposes
E: Some index files failed to download. They have been ignored, or old ones used instead.

답변1

저장소는 APT에서 더 이상 지원하지 않는 SHA1 해시를 사용하여 서명됩니다.

안정적인 버전으로 다운그레이드하는 것 외에는 이 문제를 해결하는 방법을 모르겠습니다.

답변2

이 경고는 저장소의 기호가 올바르지 않으므로 해당 기호를 다시 가져와야 함을 의미합니다.

저장소에 다운로드 URL이 있으면 다음을 시도하십시오.

wget -qO - http://deb.opera.com/archive.key | sudo apt-key add -

또는:

sudo apt-key adv --keyserver <keyserver.ubuntu.com> --recv-keys <key id>

관련 정보