Hallo zusammen, habe ein Problem wenn ich das Update durchführen möchte

pi@raspberrypi:~ $ sudo apt-get update
Get:1 http://packages.azlux.fr/debian buster InRelease [3,983 B]
Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Get:3 http://ftp.de.debian.org/debian testing InRelease [116 kB]
Get:4 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:5 http://packages.azlux.fr/debian buster/main armhf Packages [2,507 B]
Get:6 http://archive.raspberrypi.org/debian buster/main armhf Packages [330 kB]
Get:7 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Err:3 http://ftp.de.debian.org/debian testing InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
Reading package lists... Done
W: GPG error: http://ftp.de.debian.org/debian testing InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
E: The repository 'http://ftp.de.debian.org/debian testing InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
pi@raspberrypi:~ $

Kann mir da jemand helfen ?

Habe ich versucht, kommt wieder:

sudo apt-get update
Hit:1 Index of /debian/ buster InRelease
Hit:2 Index of /raspbian buster InRelease
Hit:3 Index of /debian buster InRelease
Get:4 Index of /debian testing InRelease [116 kB]
Err:4 Index of /debian testing InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
Reading package lists... Done
W: GPG error: Index of /debian testing InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138
E: The repository 'Index of /debian testing InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Nächste Versuch, nächster Fehler
pi@raspberrypi:~ $ apt-get update
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

Ohne sudo wird's nicht gehen.

Es scheint nur wenige Leute zu geben, die den gleichen fehlenden Key wie du haben. Aber die haben anscheinend auch keine Lösung gefunden... :-/

https://www.raspberrypi.org/forums/viewtopic.php?t=250150

Habe es jetzt noch einmal Versucht.

pi@raspberrypi:~ $ pihole -up
[i] Checking for updates...
[i] Pi-hole Core: up to date
[i] Web Interface: update available
[i] FTL: update available

[i] Pi-hole Web Admin files out of date, updating local repo.
[✓] Check for existing repository in /var/www/html/admin
[✓] Update repo in /var/www/html/admin

[i] If you had made any changes in '/var/www/html/admin/', they have been stashed using 'git stash'

[i] FTL out of date, it will be updated by the installer.

[✓] Root user check

    .;;,.
    .ccccc:,.
     :cccclll:.      ..,,
      :ccccclll.   ;ooodc
       'ccll:;ll .oooodc
         .;cll.;;looo:.
             .. ','.
            .',,,,,,'.
          .',,,,,,,,,,.
        .',,,,,,,,,,,,....
      ....''',,,,,,,'.......
    .........  ....  .........
    ..........      ..........
    ..........      ..........
    .........  ....  .........
      ........,,,,,,,'......
        ....',,,,,,,,,,,,.
           .',,,,,,,,,'.
            .',,,,,,'.
              ..'''.

[✗] Update local cache of available packages
Error: Unable to update package cache. Please try "apt-get update"
Unable to complete update, please contact Pi-hole Support
pi@raspberrypi:~ $

Es wird nicht gehen, solange die Keys nicht da sind.

Hier wird vorgeschlagen, mal den Mirror zu wechseln:

Gab es denn eine Fehlermeldung, als du versucht hast, die Keys zu importieren?

Hi, es scheint funktioniert zu haben, habe keine Fehlermeldung mehr bekommen.
Wie überprüfte ich jetzt am besten ob die Version aktuell ist ?
UND VIELEN DANK FÜR DEINE HILFE!!!!!!

pihole -v

pi@raspberrypi:~ $ pihole -v
Pi-hole version is development v5.0-521-g60f0ab5 (Latest: v5.1.1)
AdminLTE version is devel v5.0-473-g3b2f70f (Latest: v5.1)
FTL version is development vDev-0a12fb5 (Latest: v5.1)

pi@raspberrypi:~ $ pihole -up
[i] Checking for updates...
[i] Pi-hole Core: up to date
[i] Web Interface: update available
[i] FTL: up to date

[i] Pi-hole Web Admin files out of date, updating local repo.
[✓] Check for existing repository in /var/www/html/admin
[✓] Update repo in /var/www/html/admin

[i] If you had made any changes in '/var/www/html/admin/', they have been stashed using 'git stash'
[i] Local version file information updated.

Du bist nicht auf dem Hauptzweig, sondern auf den Entwicklingszweigen. Von dort funktioniert pihole -up nicht um auf 5.1.1 zu kommen.
Du must erst auf Master zurück wechsel

pihole checkout master

Vielen, vielen dank !!!!!!!!!!!!!!!!!!