GPG ошибка in apt-get update

Few minutes ago I ran the following command and it worked умер эксперт always:

sudo apt update
sudo apt upgrade

Then after about 10 minutes, I ran the same command again:

sudo apt-get update

Ign http: //fi.archive.ubuntu.com trusty InRelease
Get:1 http://fi.archive.ubuntu.com trusty-updates InRelease [64.4 kB] 
Ign http: //dl.google.com stable InRelease     
Get:2 http://fi.archive.ubuntu.com trusty-backports InRelease [64.5 kB]        
Ign http: //fi.archive.ubuntu.com trusty-updates InRelease                      
E: GPG error: http: //fi.archive.ubuntu.com trusty-updates InRelease:
The following signatures were invalid: NODATA 2

I tried reading every post in askubuntu and stackoverflow and so far nothing. The following is the only thing that sound rational to я and it didn't solve the issue:

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

any suggestions in appreciated.

UPDATE: even my Thunderbird was crashing immediately after loading, so I rebooted the computer and I ran the apt-get update again and I got:

sudo apt update
.
.
.
Fetched 32.2 MB in 10s (3,044kB/s)                                            
Reading package lists... Done
W: GPG error: http://ftp.sunet.se trusty/ Release: The following signatures were invalid: KEYEXPIRED 1445181253 KEYEXPIRED 1445181253 KEYEXPIRED 1445181253
2
задан 30 November 2015 в 12:52

1 ответ

Что я сделал для решения моего вопроса после перезагрузки и гугления больше:

  1. reboot (Перезагружают компьютер)
  2. sudo apt-get update (это даст Вам предупреждение о ключах с истекшим сроком)
  3. apt-key list | grep expired (как предложено в другое сообщение ) и я добрался:

    паб 2048R/E084DAB9 2010-10-19 [истек: 18.10.2015]

  4. копируют ключевой идентификатор, бит после / (в моем случае, E084DAB9)

  5. sudo apt-key adv --recv-keys --keyserver keys.gnupg.net E084DAB9 (не забывают изменять ключевой идентификатор этой команды к той, которую Вы получаете от своего компьютера)
  6. sudo apt update
  7. sudo apt upgrade
7
ответ дан 2 December 2019 в 01:37

Другие вопросы по тегам:

Похожие вопросы: