Page 1 of 1

GPG error

Posted: Sun Dec 04, 2016 5:49 pm
by VascoFerraz
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

Re: GPG error

Posted: Sun Dec 04, 2016 5:55 pm
by DougieLawson
Is your clock set right?

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

Re: GPG error

Posted: Sun Dec 04, 2016 6:56 pm
by VascoFerraz
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