Chrome PPA 업그레이드 유효하지 않은 서명


48

실행할 때 :

sudo apt-get update && sudo apt-get dist-upgrade

나는이 출력을 얻었다 :

Ign http://security.ubuntu.com utopic-security InRelease
Ign http://gb.archive.ubuntu.com utopic InRelease                              
Ign http://extras.ubuntu.com utopic InRelease                                  
Get:1 http://security.ubuntu.com utopic-security Release.gpg [933 B]           
Ign http://dl.google.com stable InRelease                                      
Ign http://gb.archive.ubuntu.com utopic-updates InRelease            
Get:2 http://extras.ubuntu.com utopic Release.gpg [72 B]                       
Get:3 http://security.ubuntu.com utopic-security Release [62.0 kB]             
Ign http://gb.archive.ubuntu.com utopic-backports InRelease                    
Get:4 http://dl.google.com stable Release.gpg [198 B]                          
Hit http://extras.ubuntu.com utopic Release                                    
Hit http://gb.archive.ubuntu.com utopic Release.gpg                            
Get:5 http://dl.google.com stable Release [1,347 B]                            
Err http://dl.google.com stable Release                                        

Get:6 http://gb.archive.ubuntu.com utopic-updates Release.gpg [933 B]          
Hit http://extras.ubuntu.com utopic/main Sources                         
Hit http://gb.archive.ubuntu.com utopic-backports Release.gpg
Get:7 http://security.ubuntu.com utopic-security/main Sources [44.6 kB]
Hit http://gb.archive.ubuntu.com utopic Release                                
Hit http://extras.ubuntu.com utopic/main amd64 Packages                        
Get:8 http://gb.archive.ubuntu.com utopic-updates Release [62.0 kB]            
Hit http://extras.ubuntu.com utopic/main i386 Packages                         
Get:9 http://security.ubuntu.com utopic-security/restricted Sources [2,107 B]  
Get:10 http://security.ubuntu.com utopic-security/universe Sources [8,053 B]   
Get:11 http://security.ubuntu.com utopic-security/multiverse Sources [1,951 B] 
Hit http://gb.archive.ubuntu.com utopic-backports Release                      
Get:12 http://security.ubuntu.com utopic-security/main amd64 Packages [129 kB] 
Hit http://gb.archive.ubuntu.com utopic/main Sources                           
Hit http://gb.archive.ubuntu.com utopic/restricted Sources                     
Hit http://gb.archive.ubuntu.com utopic/universe Sources                       
Hit http://gb.archive.ubuntu.com utopic/multiverse Sources              
Get:13 http://security.ubuntu.com utopic-security/restricted amd64 Packages [8,496 B]
Hit http://gb.archive.ubuntu.com utopic/main amd64 Packages                    
Get:14 http://security.ubuntu.com utopic-security/universe amd64 Packages [54.4 kB]
Hit http://gb.archive.ubuntu.com utopic/restricted amd64 Packages              
Ign http://extras.ubuntu.com utopic/main Translation-en_GB                     
Hit http://gb.archive.ubuntu.com utopic/universe amd64 Packages                
Ign http://extras.ubuntu.com utopic/main Translation-en                        
Get:15 http://security.ubuntu.com utopic-security/multiverse amd64 Packages [4,139 B]
Hit http://gb.archive.ubuntu.com utopic/multiverse amd64 Packages              
Hit http://gb.archive.ubuntu.com utopic/main i386 Packages                     
Get:16 http://security.ubuntu.com utopic-security/main i386 Packages [128 kB]
Hit http://gb.archive.ubuntu.com utopic/restricted i386 Packages       
Hit http://gb.archive.ubuntu.com utopic/universe i386 Packages                 
Get:17 http://security.ubuntu.com utopic-security/restricted i386 Packages [8,438 B]
Hit http://gb.archive.ubuntu.com utopic/multiverse i386 Packages               
Get:18 http://security.ubuntu.com utopic-security/universe i386 Packages [54.4 kB]
Hit http://gb.archive.ubuntu.com utopic/main Translation-en_GB                 
Hit http://gb.archive.ubuntu.com utopic/main Translation-en                    
Get:19 http://security.ubuntu.com utopic-security/multiverse i386 Packages [4,325 B]
Hit http://gb.archive.ubuntu.com utopic/multiverse Translation-en_GB           
Hit http://security.ubuntu.com utopic-security/main Translation-en
Hit http://gb.archive.ubuntu.com utopic/multiverse Translation-en
Hit http://security.ubuntu.com utopic-security/multiverse Translation-en
Hit http://gb.archive.ubuntu.com utopic/restricted Translation-en_GB
Hit http://security.ubuntu.com utopic-security/restricted Translation-en
Hit http://gb.archive.ubuntu.com utopic/restricted Translation-en
Hit http://gb.archive.ubuntu.com utopic/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com utopic/universe Translation-en
Get:20 http://gb.archive.ubuntu.com utopic-updates/main Sources [81.0 kB]
Hit http://security.ubuntu.com utopic-security/universe Translation-en 
Get:21 http://gb.archive.ubuntu.com utopic-updates/restricted Sources [2,107 B]
Get:22 http://gb.archive.ubuntu.com utopic-updates/universe Sources [19.9 kB]
Get:23 http://gb.archive.ubuntu.com utopic-updates/multiverse Sources [1,951 B]
Get:24 http://gb.archive.ubuntu.com utopic-updates/main amd64 Packages [208 kB]
Get:25 http://gb.archive.ubuntu.com utopic-updates/restricted amd64 Packages [8,496 B]
Get:26 http://gb.archive.ubuntu.com utopic-updates/universe amd64 Packages [81.3 kB]
Get:27 http://gb.archive.ubuntu.com utopic-updates/multiverse amd64 Packages [4,139 B]
Get:28 http://gb.archive.ubuntu.com utopic-updates/main i386 Packages [207 kB] 
Get:29 http://gb.archive.ubuntu.com utopic-updates/restricted i386 Packages [8,438 B]
Get:30 http://gb.archive.ubuntu.com utopic-updates/universe i386 Packages [81.3 kB]
Get:31 http://gb.archive.ubuntu.com utopic-updates/multiverse i386 Packages [4,325 B]
Hit http://gb.archive.ubuntu.com utopic-updates/main Translation-en               
Hit http://gb.archive.ubuntu.com utopic-updates/multiverse Translation-en
Hit http://gb.archive.ubuntu.com utopic-updates/restricted Translation-en
Hit http://gb.archive.ubuntu.com utopic-updates/universe Translation-en
Hit http://gb.archive.ubuntu.com utopic-backports/main Sources
Hit http://gb.archive.ubuntu.com utopic-backports/restricted Sources
Hit http://gb.archive.ubuntu.com utopic-backports/multiverse Sources
Hit http://gb.archive.ubuntu.com utopic-backports/universe Sources
Hit http://gb.archive.ubuntu.com utopic-backports/main amd64 Packages
Hit http://gb.archive.ubuntu.com utopic-backports/restricted amd64 Packages
Hit http://gb.archive.ubuntu.com utopic-backports/multiverse amd64 Packages
Hit http://gb.archive.ubuntu.com utopic-backports/universe amd64 Packages
Hit http://gb.archive.ubuntu.com utopic-backports/main i386 Packages
Hit http://gb.archive.ubuntu.com utopic-backports/restricted i386 Packages
Hit http://gb.archive.ubuntu.com utopic-backports/multiverse i386 Packages
Hit http://gb.archive.ubuntu.com utopic-backports/universe i386 Packages
Hit http://gb.archive.ubuntu.com utopic-backports/main Translation-en
Hit http://gb.archive.ubuntu.com utopic-backports/multiverse Translation-en
Hit http://gb.archive.ubuntu.com utopic-backports/restricted Translation-en
Hit http://gb.archive.ubuntu.com utopic-backports/universe Translation-en
Fetched 1,283 kB in 6s (207 kB/s)                                                                                                              
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com stable Release: The following signatures were invalid: BADSIG A040830F7FAC5991 Google, Inc. Linux Package Signing Key <linux-packages-keymaster@google.com>

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  

W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

이 비트입니까?

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com stable Release: The following signatures were invalid: BADSIG A040830F7FAC5991 Google, Inc. Linux Package Signing Key <linux-packages-keymaster@google.com>

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  

W: Some index files failed to download. They have been ignored, or old ones used instead.

걱정할 것이 있습니까? 나는 명령을 다시 실행했으며 이제는 다음과 같이 말합니다.

Ign http://extras.ubuntu.com utopic InRelease
Ign http://dl.google.com stable InRelease                                                        
Ign http://gb.archive.ubuntu.com utopic InRelease                                                 
Hit http://extras.ubuntu.com utopic Release.gpg                                                   
Ign http://gb.archive.ubuntu.com utopic-updates InRelease                                         
Get:1 http://dl.google.com stable Release.gpg [198 B]                                                                   
Hit http://extras.ubuntu.com utopic Release                                                                                        
Ign http://gb.archive.ubuntu.com utopic-backports InRelease                                       
Hit http://gb.archive.ubuntu.com utopic Release.gpg                                         
Get:2 http://dl.google.com stable Release [1,347 B]                                         
Get:3 http://gb.archive.ubuntu.com utopic-updates Release.gpg [933 B]  
Hit http://gb.archive.ubuntu.com utopic-backports Release.gpg          
Ign http://security.ubuntu.com utopic-security InRelease               
Hit http://gb.archive.ubuntu.com utopic Release                        
Get:4 http://gb.archive.ubuntu.com utopic-updates Release [62.0 kB]                                              
Hit http://extras.ubuntu.com utopic/main Sources                                                                         
Get:5 http://security.ubuntu.com utopic-security Release.gpg [933 B]                                                     
Get:6 http://dl.google.com stable/main amd64 Packages [1,193 B]                                      
Hit http://extras.ubuntu.com utopic/main amd64 Packages                                                                                     
Hit http://gb.archive.ubuntu.com utopic-backports Release                                   
Hit http://extras.ubuntu.com utopic/main i386 Packages                                                             
Get:7 http://dl.google.com stable/main i386 Packages [1,176 B]                              
Get:8 http://security.ubuntu.com utopic-security Release [62.0 kB]                                         
Ign http://extras.ubuntu.com utopic/main Translation-en_GB                                           
Ign http://extras.ubuntu.com utopic/main Translation-en                        
Ign http://dl.google.com stable/main Translation-en_GB                         
Ign http://dl.google.com stable/main Translation-en                      
Get:9 http://security.ubuntu.com utopic-security/main Sources [44.6 kB]
Get:10 http://security.ubuntu.com utopic-security/restricted Sources [2,107 B]
Get:11 http://gb.archive.ubuntu.com utopic-updates/main Sources [81.0 kB]
Get:12 http://security.ubuntu.com utopic-security/universe Sources [8,053 B]
Get:13 http://gb.archive.ubuntu.com utopic-updates/restricted Sources [2,107 B]  
Get:14 http://security.ubuntu.com utopic-security/multiverse Sources [1,951 B]    
Get:15 http://gb.archive.ubuntu.com utopic-updates/universe Sources [19.9 kB]     
Get:16 http://gb.archive.ubuntu.com utopic-updates/multiverse Sources [1,951 B]
Get:17 http://gb.archive.ubuntu.com utopic-updates/main amd64 Packages [208 kB]
Get:18 http://security.ubuntu.com utopic-security/main amd64 Packages [129 kB]
Get:19 http://gb.archive.ubuntu.com utopic-updates/restricted amd64 Packages [8,496 B]
Get:20 http://security.ubuntu.com utopic-security/restricted amd64 Packages [8,496 B]
Get:21 http://gb.archive.ubuntu.com utopic-updates/universe amd64 Packages [81.3 kB]
Get:22 http://security.ubuntu.com utopic-security/universe amd64 Packages [54.4 kB]
Get:23 http://gb.archive.ubuntu.com utopic-updates/multiverse amd64 Packages [4,139 B]         
Get:24 http://gb.archive.ubuntu.com utopic-updates/main i386 Packages [207 kB]      
Get:25 http://security.ubuntu.com utopic-security/multiverse amd64 Packages [4,139 B]
Get:26 http://security.ubuntu.com utopic-security/main i386 Packages [128 kB]     
Get:27 http://gb.archive.ubuntu.com utopic-updates/restricted i386 Packages [8,438 B]
Get:28 http://gb.archive.ubuntu.com utopic-updates/universe i386 Packages [81.3 kB]           
Get:29 http://gb.archive.ubuntu.com utopic-updates/multiverse i386 Packages [4,325 B]        
Get:30 http://security.ubuntu.com utopic-security/restricted i386 Packages [8,438 B]
Get:31 http://gb.archive.ubuntu.com utopic-backports/main Sources [765 B]          
Hit http://gb.archive.ubuntu.com utopic-backports/restricted Sources    
Hit http://gb.archive.ubuntu.com utopic-backports/multiverse Sources    
Get:32 http://security.ubuntu.com utopic-security/universe i386 Packages [54.4 kB]
Get:33 http://gb.archive.ubuntu.com utopic-backports/universe Sources [9,218 B]
Get:34 http://gb.archive.ubuntu.com utopic-backports/main amd64 Packages [570 B]  
Hit http://gb.archive.ubuntu.com utopic-backports/restricted amd64 Packages      
Hit http://gb.archive.ubuntu.com utopic-backports/multiverse amd64 Packages
Get:35 http://security.ubuntu.com utopic-security/multiverse i386 Packages [4,325 B]
Get:36 http://gb.archive.ubuntu.com utopic-backports/universe amd64 Packages [10.6 kB]
Get:37 http://gb.archive.ubuntu.com utopic-backports/main i386 Packages [574 B]
Hit http://gb.archive.ubuntu.com utopic-backports/restricted i386 Packages
Hit http://gb.archive.ubuntu.com utopic-backports/multiverse i386 Packages
Get:38 http://gb.archive.ubuntu.com utopic-backports/universe i386 Packages [10.6 kB]
Hit http://gb.archive.ubuntu.com utopic-backports/multiverse Translation-en
Hit http://gb.archive.ubuntu.com utopic-backports/restricted Translation-en
Hit http://gb.archive.ubuntu.com utopic/main Sources
Hit http://gb.archive.ubuntu.com utopic/restricted Sources    
Hit http://gb.archive.ubuntu.com utopic/universe Sources      
Hit http://gb.archive.ubuntu.com utopic/multiverse Sources
Hit http://gb.archive.ubuntu.com utopic/main amd64 Packages
Hit http://gb.archive.ubuntu.com utopic/restricted amd64 Packages
Hit http://gb.archive.ubuntu.com utopic/universe amd64 Packages
Hit http://gb.archive.ubuntu.com utopic/multiverse amd64 Packages
Hit http://gb.archive.ubuntu.com utopic/main i386 Packages
Hit http://gb.archive.ubuntu.com utopic/restricted i386 Packages   
Hit http://gb.archive.ubuntu.com utopic/universe i386 Packages     
Hit http://security.ubuntu.com utopic-security/main Translation-en 
Hit http://gb.archive.ubuntu.com utopic/multiverse i386 Packages   
Hit http://gb.archive.ubuntu.com utopic/main Translation-en_GB     
Hit http://gb.archive.ubuntu.com utopic/main Translation-en        
Hit http://gb.archive.ubuntu.com utopic/multiverse Translation-en_GB
Hit http://security.ubuntu.com utopic-security/multiverse Translation-en
Hit http://gb.archive.ubuntu.com utopic/multiverse Translation-en
Hit http://gb.archive.ubuntu.com utopic/restricted Translation-en_GB
Hit http://gb.archive.ubuntu.com utopic/restricted Translation-en
Hit http://gb.archive.ubuntu.com utopic/universe Translation-en_GB
Hit http://security.ubuntu.com utopic-security/restricted Translation-en
Hit http://gb.archive.ubuntu.com utopic/universe Translation-en
Hit http://gb.archive.ubuntu.com utopic-updates/main Translation-en
Hit http://gb.archive.ubuntu.com utopic-updates/multiverse Translation-en
Hit http://gb.archive.ubuntu.com utopic-updates/restricted Translation-en
Hit http://security.ubuntu.com utopic-security/universe Translation-en
Hit http://gb.archive.ubuntu.com utopic-updates/universe Translation-en
Hit http://gb.archive.ubuntu.com utopic-backports/main Translation-en
Hit http://gb.archive.ubuntu.com utopic-backports/universe Translation-en
Fetched 1,316 kB in 11s (115 kB/s)                                                                                                             
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  google-chrome-stable
1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 48.5 MB of archives.
After this operation, 4,096 B of additional disk space will be used.
Do you want to continue? [Y/n] 

이것이 무엇을 의미하며이 업그레이드를 신뢰해야합니까? 이 업그레이드는 공식 Google 페이지에서 Chrome을 설치했을 때 추가 한 PPA에서 제공됩니다.

해당 PPA에 대한 자세한 정보는 다음과 같습니다.

구글 크롬 PPA


OS 정보 :

Description:    Ubuntu 14.10
Release:    14.10

askubuntu.com/questions/598979/update-failing-for-google-chrome의 가능한 복제물 (그러나 해당 질문에 대한 답변이 없기 때문에 표시 할 수 없습니다.)
w-flo

답변:


66

터미널을 열고 다음을 입력하십시오.

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

Google의 업데이트 된 GPG 키를 가져옵니다.

오류없이 시스템을 업데이트 할 수 있어야합니다.

출처 : 구글 리눅스 리포지토리


2
문제는 무작위로 실패한다는 것입니다. 내 빌드가 TravisCI에서 실행 중이며 같은 이유로 일부가 실패했습니다. 위에 표시된 것과 정확하게 키를 올바르게 설치합니다. 최근에 시작되었습니다. = (
Jon Stevens

나는 그 열쇠를 이미 가지고 있었고 며칠 전까지 일하고 있었다. 내가 가진 키를 삭제하고 위의 명령을 사용했지만 문제가 해결되지 않았습니다. 여전히 잘못된 서명 오류가 발생했습니다. mikhail의 답변으로 문제가 해결되었습니다. 더 이상 GPG 오류가없고 새로운 Chrome 업데이트가 나타났습니다.
Mateusz Stachowski

이 수정 된 오류NO_PUBKEY 6494C6D6997C215E
Thomasleveil

30

이 사이트에는 64 비트 Ubuntu 14.04 LTS에서 저에게 도움이되는 유일한 솔루션이 있습니다.

http://www.omgubuntu.co.uk/2016/03/fix-failed-to-fetch-google-chrome-apt-error-ubuntu

(요약은 여기 있습니다. 자세한 내용은 사이트를 참조하십시오)

  1. google-chrome.list를 수정합니다 (안정적인 채널을 사용하고 있다고 가정하면 사이트의 추천 댓글 참조).

    sudo gedit /etc/apt/sources.list.d/google-chrome.list
    
  2. 텍스트 파일이 열리면 파일을 편집하여 행을 읽습니다.

    deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
    
  3. 다시 업데이트하십시오

    sudo apt-get update
    

amd64 태그는 정확히 무엇을합니까? 이것은 일부 배포판에 유효하지 않습니까?
MichaelChirico

3
64 비트 버전의 Chrome을 가리 킵니다. 링크 된 기사에서 자세한 내용을 확인하십시오.
Ed J

내 오류가 OP와 다르지만 도움이되었습니다. 그것은이었다W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release: Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
프란 하트만

@ frant.hartm 같은 문제이며,이 수정은 저에게도 효과적이었습니다.
Pointy

26

이것은 다음 솔루션보다 잘 작동합니다.

apt-key list google

이 목록에서이 항목을 볼 수 있습니다. [E]는 만료되지 않았으며 마지막 항목을 확인합니다. 7FAC 5991

pub   dsa1024 2007-03-08 [SC]
      4CCA 1EAF 950C EE4A B839  76DC A040 830F 7FAC 5991
uid           [ unknown] Google, Inc. Linux Package Signing Key <linux-packages-keymaster@google.com>
sub   elg2048 2007-03-08 [E]

pub   rsa4096 2016-04-12 [SC]
      EB4C 1BFD 4F04 2F6D DDCC  EC91 7721 F63B D38B 4796
uid           [ unknown] Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>
sub   rsa4096 2016-04-12 [S] [expires: 2019-04-12]

당신은 지금 할 것입니다 :

sudo apt-key del 7FAC5991

그런 다음 다음 명령을 수행하십시오.

sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update

그리고 나서 다른 키 서버에서 키 설치 하기 위해이 작업을 수행합니다 .

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

그리고 당신은 :

sudo apt-get update
sudo apt-get dist-upgrade

이제 모두 설정되었습니다. :)


유효하지 않은 GPG 키와 새로운 버전의 Chrome에 대한 불만이 더 이상 해결되지 않아서 감사합니다.
Mateusz Stachowski 12

2
쿠분투 15.04에서 동일하게 만들었습니다. gpg --recv-keys 명령은 BADSIG 번호 앞에 "0x"를 추가 한 후에 만 ​​작동했습니다. 따라서 명령은 gpg --keyserver hkp : //subkeys.pgp.net --recv-keys 0xA040830F7FAC5991
Mario S

2
시간 초과 오류가 계속 발생 합니다. hkp://subkeys.pgp.net사용 hkp://gpg.mit.edu하고 작동합니다.
Dai

keyid 또는 url을 수정하지 않고 15.10에서 나를 위해 일했습니다.
mmdanziger

1
키를 삭제 한 후 'apt-get clean; apt-get update '단계에서'W : GPG 오류 : dl.google.com 안정 릴리스 '오류가 표시됩니다. 공개 키를 사용할 수 없어서 다음 서명을 확인할 수 없습니다. NO_PUBKEY A040830F7FAC5991 NO_PUBKEY 1397BC53640DB551;' 다른 무엇을 시도 할 수 있습니까?
Richard

1

Google https://www.google.com/linuxrepositories/ 에서 키 파일을 다운로드 하여 소프트웨어 소스 인증으로 가져와야했습니다.

Sudo Apt Update를 다시 실행하면 질문에 응답 할 수있는 옵션이 주어졌습니다.

Hit:8 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:9 http://packages.linuxmint.com tara Release
Hit:10 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
E: Repository 'http://dl.google.com/linux/chrome/deb stable Release' changed its 'Origin' value from 'Google, Inc.' to 'Google LLC'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository?
[y/N] y
Get:11 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,130 B] Fetched 2,892 B in 4s (705 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up-to-date.

희망이 누군가에게 도움이되기를 바랍니다.

당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.