GPG Error on update

Creating a bug report/issue

Required Information

  • DietPi version
    G_DIETPI_VERSION_CORE=8
    G_DIETPI_VERSION_SUB=11
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
    G_LIVE_PATCH_STATUS[0]=‘not applicable’

  • Distro version
    bullseye 0

  • Kernel version
    Linux DietPi 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux

  • SBC model
    RPi 4 Model B (aarch64)

  • Power supply used
    Powered using 5V 8A power supply via Adafruit RGB Matrix Bonnet for Raspberry Pi | The Pi Hut

  • SD card used
    SanDisk ultra

Additional Information (if applicable)

I’m trying to update DietPi from v8.11.2 to v8.14.2 however am getting a GPG error stating that the signature is invalid.

I recently had a power cut whilst the RPi was powered. Last time that happened my SD card became corrupted and I had to reflash DietPi to get things working again. Since the most recent power cut, I’m now getting an internal compiler error when trying to compile my C++ program using GCC. I have no idea if any of these things are linked…

Steps to reproduce

  1. dietpi-update

Expected behaviour

  • DietPi updates to v8.14.2

Actual behaviour

  • GPG error

Additional logs:

Ign:1 http://vontaene.de/raspbian-updates . InRelease
Get:2 http://vontaene.de/raspbian-updates . Release [249 B]
Hit:3 https://archive.raspberrypi.org/debian bullseye InRelease
Hit:4 https://deb.debian.org/debian bullseye InRelease
Hit:5 https://deb.debian.org/debian bullseye-updates InRelease
Get:6 http://vontaene.de/raspbian-updates . Release.gpg [198 B]
Hit:7 https://downloads.plex.tv/repo/deb public InRelease
Hit:8 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:9 https://deb.debian.org/debian bullseye-backports InRelease
Ign:6 http://vontaene.de/raspbian-updates . Release.gpg
Reading package lists...
W: GPG error: http://vontaene.de/raspbian-updates . Release: The following signatures were invalid: EXPKEYSIG F0DAA5410C667A3E Erik Andresen <erik@vontaene.de> 1B769315806F6D5E04A4D783F0DAA5410C667A3E
E: The repository 'http://vontaene.de/raspbian-updates . Release' is not signed.
E: Problem parsing dependency 21 of pcmanfm:arm64=1.3.2-1
E: Error occurred while processing pcmanfm (NewVersion2)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

Looks like you added a 3rd party repository yourself

The repository 'http://vontaene.de/raspbian-updates . Release' is not signed

Have a look if it has been setup correctly. Maybe remove the repository if you don’t know what it is used for.

1 Like

I’ve removed that repository now as I no longer require it however I still get the following:

E: Problem parsing dependency 21 of pcmanfm:arm64=1.3.2-1
E: Error occurred while processing pcmanfm (NewVersion2)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
mv /var/lib/dpkg/status /var/lib/dpkg/status.old
touch /var/lib/dpkg/status
apt update