Urgent....CORE Failing to install

I have a new Base Hat with a Telit LE910C1 module on a Pi 4 running latest OS (updated and upgraded)
Core is failing to install due to some repository issue. These units are due to go into the field on Monday, the prototypes all worked just fine but now building the production units and this happened.
Any help much appreciated, I’m not sure I can image an prototype boot drive and use that, I tried before and it all got a bit upset about being on a different Pi (they are all imaged off the same base but I’m doing the CORE stuff individually due to encountering that issue before)

[INFO] Sixfab user already exists, updating…
[INFO] Updating sudoers…
[INFO] Sudoers updated
[INFO] Updating system package index…
E: Release file for http://archive.raspberrypi.org/debian/dists/buster/InRelease is not valid yet (invalid for another 16h 56min 15s). Updates for this repository will not be applied.
E: Release file for http://archive.raspberrypi.org/debian/dists/buster/InRelease is not valid yet (invalid for another 16h 56min 11s). Updates for this repository will not be applied.
E: Release file for http://archive.raspberrypi.org/debian/dists/buster/InRelease is not valid yet (invalid for another 16h 56min 7s). Updates for this repository will not be applied.
[ERROR] Installer faced an error during the following command, please re-run installer
[ERROR] *****************************************************
[ERROR] sudo apt-get update -y
[ERROR] *****************************************************
pi@SIF:~ $

Hi @richard.ayers ,

This error appears because of your system date and time settings. Please make sure the time and date on your system are correct.

Reinstall CORE after making sure the system has the current time and date value.

To uninstall CORE from your device, run:

sudo bash -c "$(curl -sN https://install.connect.sixfab.com)" -- --uninstall

Your installation code is on device page, copy and run it.

Bingo, Date was out by 2 days, seems my timesyncd wasn’t running but that was an easy fix.

Thanks for the assist!

2 Likes

It raises the point that in a production system using these devices you ought to skip timesyncd or chrony and just set the system time from the modem. All of these modems have a command that returns accurate time which is probably good enough for most IOT applications.

On the Telit modems it is AT+CCLK?, e.g.:

AT+CCLK?
+CCLK: "21/10/23,13:02:48-28"

OK
1 Like

Indeed, which is why my timesyncd was turned off, I’m getting time from the GNSS but of course it wasn’t connected as when you do the install the USB for the SixFab is disconnected. So now I’m disabling timesyncd after the SixFab install, thanks for the pointer for getting it from the modem clock.

R