Hello, today I try to update and upgrade my Dietpi installation and I have errors with certificates:
sudo apt update
Stary:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Ign:2 https://archive.raspberrypi.org/debian buster InRelease
Błąd:3 https://archive.raspberrypi.org/debian buster Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 93.93.135.118 443]
Ign:4 https://download.webmin.com/download/repository sarge InRelease
Stary:5 https://download.webmin.com/download/repository sarge Release
Czytanie list pakietów... Gotowe
E: The repository 'https://archive.raspberrypi.org/debian buster Release' no longer has a Release file.
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.
sudo apt upgrade
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
Obliczanie aktualizacji... Gotowe
Następujące pakiety zostaną zaktualizowane:
libraspberrypi-bin libraspberrypi0 raspberrypi-bootloader raspberrypi-kernel raspberrypi-sys-mods rpi-eeprom rpi-eeprom-images
7 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
Konieczne pobranie 78,0 MB archiwów.
Po tej operacji zostanie zwolnione 8 984 kB miejsca na dysku.
Kontynuować? [T/n] t
Błąd:1 https://archive.raspberrypi.org/debian buster/main armhf raspberrypi-kernel armhf 1.20200512-2
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 176.126.240.167 443]
Błąd:2 https://archive.raspberrypi.org/debian buster/main armhf libraspberrypi-bin armhf 1.20200512-2
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 176.126.240.167 443]
Błąd:3 https://archive.raspberrypi.org/debian buster/main armhf libraspberrypi0 armhf 1.20200512-2
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 176.126.240.167 443]
Błąd:4 https://archive.raspberrypi.org/debian buster/main armhf raspberrypi-bootloader armhf 1.20200512-2
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 176.126.240.167 443]
Błąd:5 https://archive.raspberrypi.org/debian buster/main armhf raspberrypi-sys-mods armhf 20200514
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 176.126.240.167 443]
Błąd:6 https://archive.raspberrypi.org/debian buster/main armhf rpi-eeprom-images all 7.1-1
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 176.126.240.167 443]
Błąd:7 https://archive.raspberrypi.org/debian buster/main armhf rpi-eeprom all 7.1-1
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 176.126.240.167 443]
E: Nie udało się pobrać https://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/raspberrypi-kernel_1.20200512-2_armhf.deb Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 176.126.240.167 443]
E: Nie udało się pobrać https://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/libraspberrypi-bin_1.20200512-2_armhf.deb Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 176.126.240.167 443]
E: Nie udało się pobrać https://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/libraspberrypi0_1.20200512-2_armhf.deb Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 176.126.240.167 443]
E: Nie udało się pobrać https://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware/raspberrypi-bootloader_1.20200512-2_armhf.deb Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 176.126.240.167 443]
E: Nie udało się pobrać https://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-sys-mods/raspberrypi-sys-mods_20200514_armhf.deb Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 176.126.240.167 443]
E: Nie udało się pobrać https://archive.raspberrypi.org/debian/pool/main/r/rpi-eeprom/rpi-eeprom-images_7.1-1_all.deb Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 176.126.240.167 443]
E: Nie udało się pobrać https://archive.raspberrypi.org/debian/pool/main/r/rpi-eeprom/rpi-eeprom_7.1-1_all.deb Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 176.126.240.167 443]
E: Nie udało się pobrać niektórych archiwów, proszę spróbować uruchomić apt-get update lub użyć opcji --fix-missing.
I try --fix-missing, dpkg-reconfigure ca-certificates but that don’t help.
Regards Przemek