Happy me, I have received my Librem 5 today and wanted to update PureOS after setting up the wifi connection (which required to set the date manually to make the wifi working).
When I am trying to update via console
sudo apt update
it fails with essentially this error message:
E: Release file for https://repo.pureos.net/pureos/dists/amber-security/InRelease is not valid yet
(invalid for another 1h 59min 12s). Updates for this repository will not be applied.
What is the reason for that (why is a release file unavailable for a 2 h)?
When I open the PureOS Store, select “updates” and choose “Download” near the “OS Updates” message I also get an error:
Unable to download updates:
E: https://repo.pureos.net/pureos amber-updates/main arm64 tzdata all
2020e-0+deb10u1 is not (yet) available
(404 Not Found [IP: 220.127.116.11 443])
And: What is the official way of installing updates?
Did you also changed the timezone or only the time? Maybe a reboot after that could help.
The official way for applying updates is through the PureOS store. However, command line apt update / upgrade does basically the same!
Make sure the time is set on the Librem 5.
This usually happens when the batteries goes totally empty ( for me on Chestnut version ).
Then I retry
sudo apt-update. Usually it goes away after time is sync properly.
I set back the date/time config to “automatic” after installing the WIFI with manual time/date setttings + changing the timezone.
After a reboot I could successfully apply the
sudo apt update +
sudo apt upgrade at the console.
Note that the updates in the PureOS store did not work but after updating the OS from the console the PureOS store says I am up-to-date and shows no more updates.
My PureOS is now Linux pureos 5.9.0-1-librem5 (Jan 19, 2021) (