2016-05-03 5 views
0

salt-minionをインストールするためにapt-getを更新しようとしていますが、エラーが発生しますGPGエラー:http://repo.saltstack.com正確なリリース:以下のシグネチャは検証できませんでした。公開鍵は使用できません。sudo apt-get ubuntuで更新が失敗する12.04

deb http://archive.ubuntu.com/ubuntu precise main 
deb http://archive.ubuntu.com/ubuntu precise-updates main 
deb http://security.ubuntu.com/ubuntu precise-security main 
deb http://archive.ubuntu.com/ubuntu precise universe 
deb http://archive.ubuntu.com/ubuntu precise-updates universe 

の/etc/apt/sources.list:NO_PUBKEY 0E08A149DE57BFBEので、私は更新してから、私は

[email protected]:/etc/apt/sources.list.d# sudo apt-get update 
Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B] 
Get:2 http://repo.saltstack.com precise Release.gpg [490 B]      
Get:3 http://security.ubuntu.com precise-security Release [55.5 kB]    
Hit http://repo.saltstack.com precise Release         
Ign http://repo.saltstack.com precise Release         
Ign http://repo.saltstack.com precise/main i386 Packages/DiffIndex    
Ign http://repo.saltstack.com precise/main TranslationIndex      
Hit http://apt.newrelic.com newrelic Release.gpg        
Get:4 http://security.ubuntu.com precise-security/main i386 Packages [658 kB] 
Hit http://apt.newrelic.com newrelic Release         
Hit http://repo.saltstack.com precise/main i386 Packages      
Ign http://repo.saltstack.com precise/main Translation-en      
Hit http://apt.newrelic.com newrelic/non-free i386 Packages      
Ign http://apt.newrelic.com newrelic/non-free TranslationIndex     
Get:5 http://security.ubuntu.com precise-security/main TranslationIndex [208 B] 
Get:6 http://security.ubuntu.com precise-security/main Translation-en [252 kB] 
Hit http://archive.ubuntu.com precise Release.gpg        
Get:7 http://archive.ubuntu.com precise-updates Release.gpg [198 B]    
Ign http://apt.newrelic.com newrelic/non-free Translation-en     
Hit http://archive.ubuntu.com precise Release         
Get:8 http://archive.ubuntu.com precise-updates Release [55.4 kB]  
Hit http://archive.ubuntu.com precise/main i386 Packages 
Hit http://archive.ubuntu.com precise/universe i386 Packages 
Hit http://archive.ubuntu.com precise/main TranslationIndex 
Hit http://archive.ubuntu.com precise/universe TranslationIndex 
Get:9 http://archive.ubuntu.com precise-updates/main i386 Packages [1046 kB] 
Get:10 http://archive.ubuntu.com precise-updates/universe i386 Packages [284 kB] 
Hit http://archive.ubuntu.com precise-updates/main TranslationIndex    
Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex 
Hit http://archive.ubuntu.com precise/main Translation-en 
Hit http://archive.ubuntu.com precise/universe Translation-en 
Hit http://archive.ubuntu.com precise-updates/main Translation-en   
Hit http://archive.ubuntu.com precise-updates/universe Translation-en  
Fetched 2351 kB in 5s (416 kB/s)           
Reading package lists... Done 
**W: GPG error: http://repo.saltstack.com precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E08A149DE57BFBE** 

ソースリストの内容を必要なものをインストールすることはできませんよ。 d/saltstack.list:

deb http://repo.saltstack.com/apt/ubuntu/12.04/amd64/latest precise main 

これをどのように修正できますか?

おかげ

+0

あなたはこれを読んでいる:http://askubuntu.com/questions/127326/how-to-fix-missing-gpg-keys – nikaza

答えて

4
  1. 実行sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E08A149DE57BFBE
  2. そしてsudo apt-get update
1

最初の方法:キー欠け追加

試してみてください。

 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E08A149DE57BFBE 
/etc/apt/sources.listからこのフォルダから削除してみてくださいその無用パッケージ場合

cd /etc/apt/sources.list.d

 sudo apt-get update 

第二の方法:

は、その後の更新を行います

関連する問題