web-dev-qa-db-ja.com

W:GPGエラー:公開キーが利用できないため、次の署名を検証できませんでした

Ubuntu 14.04では、 http://mirror.its.dal.ca/cran/bin/linux/ubuntu/README に従って、以下を/etc/apt/sources.listに追加しました

deb http://stat.ethz.ch/CRAN/bin/linux/ubuntu trusty/

Sudo apt-get updateを実行すると、このエラーが発生します

W: GPG error: http://stat.ethz.ch trusty/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9

出力全体は、この投稿の最後にあります。問題が何を意味し、どのように解決するのだろうか?ありがとう!

$ Sudo apt-get update
Ign http://us.archive.ubuntu.com trusty InRelease
Ign http://us.archive.ubuntu.com trusty-updates InRelease                      
Ign http://dl.google.com stable InRelease                                      
Ign http://us.archive.ubuntu.com trusty-backports InRelease                    
Ign http://security.ubuntu.com trusty-security InRelease                       
Hit http://us.archive.ubuntu.com trusty Release.gpg                            
Hit http://security.ubuntu.com trusty-security Release.gpg                     
Hit http://us.archive.ubuntu.com trusty-updates Release.gpg                    
Ign http://dl.google.com stable InRelease                                      
Hit http://us.archive.ubuntu.com trusty-backports Release.gpg                  
Hit http://security.ubuntu.com trusty-security Release                         
Hit http://dl.google.com stable Release.gpg                                    
Hit http://us.archive.ubuntu.com trusty Release                                
Hit http://us.archive.ubuntu.com trusty-updates Release                        
Hit http://security.ubuntu.com trusty-security/main Sources                    
Ign http://extras.ubuntu.com trusty InRelease                                  
Hit http://dl.google.com stable Release.gpg                                    
Hit http://us.archive.ubuntu.com trusty-backports Release                      
Ign http://archive.canonical.com trusty InRelease                              
Hit http://security.ubuntu.com trusty-security/restricted Sources              
Hit http://us.archive.ubuntu.com trusty/main Sources                           
Hit http://dl.google.com stable Release                                        
Hit http://us.archive.ubuntu.com trusty/restricted Sources                     
Hit http://security.ubuntu.com trusty-security/universe Sources                
Hit http://us.archive.ubuntu.com trusty/universe Sources                       
Hit http://security.ubuntu.com trusty-security/multiverse Sources              
Hit http://security.ubuntu.com trusty-security/main AMD64 Packages             
Hit http://dl.google.com stable Release                                        
Hit http://us.archive.ubuntu.com trusty/multiverse Sources                     
Hit http://extras.ubuntu.com trusty Release.gpg                                
Hit http://security.ubuntu.com trusty-security/restricted AMD64 Packages       
Hit http://us.archive.ubuntu.com trusty/main AMD64 Packages                    
Ign http://archive.canonical.com trusty InRelease                              
Hit http://security.ubuntu.com trusty-security/universe AMD64 Packages         
Hit http://us.archive.ubuntu.com trusty/restricted AMD64 Packages              
Hit http://dl.google.com stable/main AMD64 Packages                            
Hit http://security.ubuntu.com trusty-security/multiverse AMD64 Packages       
Hit http://us.archive.ubuntu.com trusty/universe AMD64 Packages                
Ign http://stat.ethz.ch trusty/ InRelease                                      
Hit http://security.ubuntu.com trusty-security/main i386 Packages              
Hit http://us.archive.ubuntu.com trusty/multiverse AMD64 Packages              
Hit http://dl.google.com stable/main i386 Packages                             
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages        
Hit http://us.archive.ubuntu.com trusty/main i386 Packages                     
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages               
Hit http://security.ubuntu.com trusty-security/universe i386 Packages          
Hit http://extras.ubuntu.com trusty Release                                    
Hit http://archive.canonical.com trusty Release.gpg                            
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages        
Hit http://security.ubuntu.com trusty-security/main Translation-en             
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en       
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages                 
Hit http://security.ubuntu.com trusty-security/restricted Translation-en       
Get:1 http://stat.ethz.ch trusty/ Release.gpg [490 B]                          
Hit http://dl.google.com stable/main AMD64 Packages                            
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages               
Hit http://archive.canonical.com trusty Release.gpg                            
Hit http://extras.ubuntu.com trusty/main Sources                               
Hit http://dl.google.com stable/main i386 Packages                             
Hit http://us.archive.ubuntu.com trusty/main Translation-en                    
Hit http://security.ubuntu.com trusty-security/universe Translation-en         
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en              
Hit http://stat.ethz.ch trusty/ Release                                        
Ign http://stat.ethz.ch trusty/ Release                                        
Hit http://extras.ubuntu.com trusty/main AMD64 Packages                        
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en              
Hit http://archive.canonical.com trusty Release                                
Hit http://us.archive.ubuntu.com trusty/universe Translation-en                
Hit http://us.archive.ubuntu.com trusty-updates/main Sources                   
Hit http://extras.ubuntu.com trusty/main i386 Packages                         
Hit http://us.archive.ubuntu.com trusty-updates/restricted Sources             
Hit http://archive.canonical.com trusty Release                                
Hit http://us.archive.ubuntu.com trusty-updates/universe Sources               
Ign http://stat.ethz.ch trusty/ Packages/DiffIndex                             
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Sources             
Hit http://us.archive.ubuntu.com trusty-updates/main AMD64 Packages            
Hit http://us.archive.ubuntu.com trusty-updates/restricted AMD64 Packages      
Hit http://us.archive.ubuntu.com trusty-updates/universe AMD64 Packages        
Hit http://archive.canonical.com trusty/partner Sources                        
Hit http://us.archive.ubuntu.com trusty-updates/multiverse AMD64 Packages      
Hit http://us.archive.ubuntu.com trusty-updates/main i386 Packages             
Ign https://private-ppa.launchpad.net precise InRelease                        
Hit http://archive.canonical.com trusty/partner AMD64 Packages                 
Hit http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages       
Hit http://us.archive.ubuntu.com trusty-updates/universe i386 Packages         
Hit http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages       
Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en            
Hit https://private-ppa.launchpad.net precise Release.gpg                      
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en      
Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en      
Hit http://archive.canonical.com trusty/partner i386 Packages                  
Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en        
Hit http://us.archive.ubuntu.com trusty-backports/main Sources                 
Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources           
Hit http://us.archive.ubuntu.com trusty-backports/universe Sources             
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources           
Hit http://stat.ethz.ch trusty/ Packages                                       
Hit https://private-ppa.launchpad.net precise Release                          
Hit http://us.archive.ubuntu.com trusty-backports/main AMD64 Packages          
Hit http://us.archive.ubuntu.com trusty-backports/restricted AMD64 Packages    
Hit http://us.archive.ubuntu.com trusty-backports/universe AMD64 Packages      
Hit http://us.archive.ubuntu.com trusty-backports/multiverse AMD64 Packages    
Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages           
Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages     
Ign http://dl.google.com stable/main Translation-en_US                         
Hit http://archive.canonical.com trusty/partner Sources                        
Hit https://private-ppa.launchpad.net precise/main AMD64 Packages              
Ign http://dl.google.com stable/main Translation-en                            
Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages       
Ign http://dl.google.com stable/main Translation-en_US                         
Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages     
Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en          
Hit http://archive.canonical.com trusty/partner AMD64 Packages                 
Hit https://private-ppa.launchpad.net precise/main i386 Packages               
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en    
Ign http://dl.google.com stable/main Translation-en                            
Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en    
Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en      
Hit http://archive.canonical.com trusty/partner i386 Packages                  
Ign http://extras.ubuntu.com trusty/main Translation-en_US                     
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US                 
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US           
Ign http://extras.ubuntu.com trusty/main Translation-en                        
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US             
Ign http://archive.canonical.com trusty/partner Translation-en                 
Ign http://stat.ethz.ch trusty/ Translation-en_US                   
Ign http://archive.canonical.com trusty/partner Translation-en
Ign http://stat.ethz.ch trusty/ Translation-en
Ign https://private-ppa.launchpad.net precise/main Translation-en_US
Ign https://private-ppa.launchpad.net precise/main Translation-en
Fetched 490 B in 6s (78 B/s)                                                   
Reading package lists... Done
W: GPG error: http://stat.ethz.ch trusty/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9
8
Tim

READMEファイル を参照してください:

安全なAPT

CRANのUbuntuアーカイブは、キーID E084DAB9の「Michael Rutter <... @ .... com>」のキーで署名されています。 1つのコマンドを使用してシステムにキーを追加するには(ヒントについてBrett Presnellに感謝します):

Sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9

別の方法を使用するには、次のコマンドでキーを取得します。

gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9

そしてそれをapt-keyに送ります

gpg -a --export E084DAB9 | Sudo apt-key add -
13
rcs