Shell: Debian apt-key expired

Wenn ein „apt-get update“ folgende Fehlermeldung zurückliefert:
W: GPG error: http://aptmirror.de wheezy-pgdg Release: The following signatures were invalid: KEYEXPIRED 1456343043

…dann muss der Key erneuert werden. Dazuz werden die keys gesucht, die expired sind.

sudo apt-key list | grep expired

Ausgabe (Beispiel):
pub 4096R/ACCC4CF8 2011-10-13 [expired: 2016-02-24]
pub 4096R/B98321F9 2010-08-07 [expired: 2017-08-05]

Erneuern des ersten Keys:

sudo apt-key adv --recv-keys --keyserver keys.gnupg.net ACCC4CF8

Als Ausgabe sieht man folgendes (kann abweichen):
Executing: gpg –ignore-time-conflict –no-options –no-default-keyring –secret-keyring /tmp/tmp.oRQjXACVP7 –trustdb-name /etc/apt//trustdb.gpg –keyring /etc/apt/trusted.gpg –primary-keyring /etc/apt/trusted.gpg –keyring /etc/apt/trusted.gpg.d//apt.postgresql.org.gpg –keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-automatic.gpg –keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-security-automatic.gpg –keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-stable.gpg –keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg –keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg –keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg –keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg –recv-keys –keyserver keys.gnupg.net ACCC4CF8
gpg: requesting key ACCC4CF8 from hkp server keys.gnupg.net
gpg: key ACCC4CF8: „PostgreSQL Debian Repository“ 5 new signatures
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: new signatures: 5

Danach sollte das Update ohne Fehler wieder funktionieren:

sudo apt-get update