When I tried to do a regular update on a Raspberry Pi 1 with sudo apt-get update, I got this error message:
E: Release file for http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease is not valid yet (invalid for another 1d 14h 44min 54s). Updates for this repository will not be applied.
Checking the date I saw that the Pi was not in sync with time. Adjusting the date is easy:
$ sudo timedatectl set-time "2019-11-09 21:25:00"
and now it worked again. Thanks Patric Fromaget / raspberrytips.com for the solution I found with a quick web search.
As my first Raspberry Pi catched some dust I found a new project involving it.
Researching current procedures regarding backup old image and add new image to the SD Card, here it is:
- Putting the SD Card in my reader in my Mac
- Utilities > Disk Utility
- File > New Image from boot
- Choose as type CD/DVD image and save it
The really cool and minimalistic tool Etcher is suggested by the RasPi homepage.
I chose the current Raspbian 9 to be put on the SD Card by Etcher.
Etcher in use
Once the copy/install process was finished I opened a terminal session, navigated to /Volumes/boot and used touch ssh.
This will enable ssh on the RasPi, directly enabling it to be contacted by a terminal session instead of putting a usb keyboard on it.
- User: pi
- Password: raspberry
Any changes can be done with sudo rasps-config – especially password and network name of system
Now the old RasPi can be used again, this time without extra ac plug but on the new Bestek Steckdosenturm.