CommandES Utiles Raspberry

Retrouver le numéro de série d’un Raspberry

# cat /proc/cpuinfo | grep Serial | sed s/.*\ //g

Mettre à jour le firmware d’un Raspberry

# sudo rpi-update

Si après un apt-get-update, vous avez l’erreur suivante,

#sudo apt-get update
Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Reading package lists… Done
E: Release file for http://archive.raspberrypi.org/debian/dists/buster/InRelease is not valid yet (invalid for another 1d 23h 5min 58s). Updates for this repository will not be applied.
E: Release file for http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease is not valid yet (invalid for another 1d 21h 58min 11s). Updates for this repository will not be applied.

Cela signifie qu’il y a un problème d’heure. Généralement cette erreur apparaît après un premier démarrage du Raspberry. Pour résoudre ce problème, il suffit de mettre à l’heure le Raspberry

# sudo date -s ‘2020/12/04 13:55:00’

Utiliser ensuite ntpdate pour effectuer une mise à jour via un serveur ntp

gbajart Written by:

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *