User avatar
VascoFerraz
Posts: 83
Joined: Thu Aug 30, 2012 11:54 am

GPG error

Sun Dec 04, 2016 5:49 pm

Hi,

I got this warning message after "sudo aptitude update"

Code: Select all

Get: 1 http://mirrordirector.raspbian.org jessie InRelease [14.9 kB]
Err http://mirrordirector.raspbian.org jessie InRelease
Get: 2 http://archive.raspberrypi.org jessie InRelease [13.2 kB]
Ign http://archive.raspberrypi.org jessie InRelease
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Fetched 28.2 kB in 9s (3,087 B/s)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirrordirector.raspbian.org jessie InRelease: Could not execute 'gpgv' to verify signature (is gpgv installed?)

W: GPG error: http://archive.raspberrypi.org jessie InRelease: Could not execute 'gpgv' to verify signature (is gpgv installed?)
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/InRelease:
W: Some index files failed to download. They have been ignored, or old ones used instead.
"gpgv" is installed.

Any ideas what's going on?

Thanks

Vasco Ferraz
Vasco Ferraz

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: GPG error

Sun Dec 04, 2016 5:55 pm

Is your clock set right?

sudo date --set '2016-12-04 17:55:00'
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
VascoFerraz
Posts: 83
Joined: Thu Aug 30, 2012 11:54 am

Re: GPG error

Sun Dec 04, 2016 6:56 pm

DougieLawson wrote:Is your clock set right?

sudo date --set '2016-12-04 17:55:00'
Hi,

Thank you so much for your reply. The clock was right.

The problem is now solved after reinstalling gpgv.

It prompted something that "it was not secure to install gpgv" but I installed it anyway.

I guess I was facing some keyring problem.

Then I ran the following commands

Code: Select all

sudo touch /usr/share/keyrings/raspbian-archive-removed-keys.gpg
sudo dpkg --configure -a 
sudo apt-key update
Vasco Ferraz
Vasco Ferraz

Return to “Troubleshooting”