Thread: BUG #10087: Invalid Apt GPG key

BUG #10087: Invalid Apt GPG key

From
ashafer01@gmail.com
Date:
The following bug has been logged on the website:

Bug reference:      10087
Logged by:          Alex Shafer
Email address:      ashafer01@gmail.com
PostgreSQL version: 9.3.0
Operating system:   Debian 7.0
Description:

% wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc |
sudo apt-key add -
OK

% sudo apt-get update
...
W: A error occurred during the signature verification. The repository is not
updated and the previous index files will be used. GPG error:
http://apt.postgresql.org wheezy-pgdg Release: The following signatures were
invalid: KEYEXPIRED 1381654177

W: Failed to fetch
http://apt.postgresql.org/pub/repos/apt/dists/wheezy-pgdg/Release

Re: BUG #10087: Invalid Apt GPG key

From
Christoph Berg
Date:
Re: ashafer01@gmail.com 2014-04-20 <20140420185310.2709.7543@wrigleys.postgresql.org>
> The following bug has been logged on the website:
>
> Bug reference:      10087
> Logged by:          Alex Shafer
> Email address:      ashafer01@gmail.com
> PostgreSQL version: 9.3.0
> Operating system:   Debian 7.0
> Description:
>
> % wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc |
> sudo apt-key add -
> OK
>
> % sudo apt-get update
> ...
> W: A error occurred during the signature verification. The repository is not
> updated and the previous index files will be used. GPG error:
> http://apt.postgresql.org wheezy-pgdg Release: The following signatures were
> invalid: KEYEXPIRED 1381654177
>
> W: Failed to fetch
> http://apt.postgresql.org/pub/repos/apt/dists/wheezy-pgdg/Release

You have some other copy of that key in /etc/apt/trusted.gpg* . Use
"apt-key list" to locate and delete it. Most likely,
"rm /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg" will fix it.

https://wiki.postgresql.org/wiki/Apt#News
http://www.postgresql.org/message-id/20131010083115.GC24812@msgid.df7cb.de

Christoph
--
cb@df7cb.de | http://www.df7cb.de/

Re: BUG #10087: Invalid Apt GPG key

From
Alex Shafer
Date:
Thanks, that resolved the issue.


On Mon, Apr 21, 2014 at 2:12 PM, Christoph Berg <cb@df7cb.de> wrote:

> Re: ashafer01@gmail.com 2014-04-20 <
> 20140420185310.2709.7543@wrigleys.postgresql.org>
> > The following bug has been logged on the website:
> >
> > Bug reference:      10087
> > Logged by:          Alex Shafer
> > Email address:      ashafer01@gmail.com
> > PostgreSQL version: 9.3.0
> > Operating system:   Debian 7.0
> > Description:
> >
> > % wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc |
> > sudo apt-key add -
> > OK
> >
> > % sudo apt-get update
> > ...
> > W: A error occurred during the signature verification. The repository is
> not
> > updated and the previous index files will be used. GPG error:
> > http://apt.postgresql.org wheezy-pgdg Release: The following signatures
> were
> > invalid: KEYEXPIRED 1381654177
> >
> > W: Failed to fetch
> > http://apt.postgresql.org/pub/repos/apt/dists/wheezy-pgdg/Release
>
> You have some other copy of that key in /etc/apt/trusted.gpg* . Use
> "apt-key list" to locate and delete it. Most likely,
> "rm /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg" will fix it.
>
> https://wiki.postgresql.org/wiki/Apt#News
> http://www.postgresql.org/message-id/20131010083115.GC24812@msgid.df7cb.de
>
> Christoph
> --
> cb@df7cb.de | http://www.df7cb.de/
>