2016-05-03 15 views
0

Я пытаюсь обновить apt-get, чтобы установить соль-миньон, но я получаю ошибку Ошибка GPG: http://repo.saltstack.com точная версия: следующие подписи не могут быть проверены, потому что открытый ключ недоступен: NO_PUBKEY 0E08A149DE57BFBE, так что я не в состоянии обновить и установить то, что мне нужноsudo apt-get update failing in ubuntu 12.04

содержимое списка
[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** 

Источники:

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. 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. Run 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 

Затем сделайте обновление:

 sudo apt-get update 

Второй способ:

Если его бесполезная пакет, то попробуйте удалить из /etc/apt/sources.list и из этой папки:

cd /etc/apt/sources.list.d