I get this error when running “apt update”. Output of command below (http replaced with hllp so forum accept the post).
Get:1 hllp://download2.hiveos.farm/repo/binary InRelease [1724 B]
Get:2 hllp://download.hiveos.farm/repo/binary InRelease [1724 B]
Get:3 hllp://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:4 hllp://build.openvpn.net/debian/openvpn/stable bionic InRelease [3222 B]
Hit:5 hllp://ppa.launchpad.net/h-realh/roxterm/ubuntu bionic InRelease
Hit:6 hllp://archive.ubuntu.com/ubuntu bionic InRelease
Get:7 hllp://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:8 hllp://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Reading package lists…
E: Release file for hllp://download2.hiveos.farm/repo/binary/InRelease is not valid yet (invalid for another 44d 2h 44min 45s). Updates for this repository will not be applied.
E: Release file for hllp://download.hiveos.farm/repo/binary/InRelease is not valid yet (invalid for another 44d 2h 44min 45s). Updates for this repository will not be applied.
E: Release file for hllp://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 44d 22h 18min 1s). Updates for this repository will not be applied.
E: Release file for hllp://build.openvpn.net/debian/openvpn/stable/dists/bionic/InRelease is not valid yet (invalid for another 7d 15h 53min 40s). Updates for this repository will not be applied.
E: Release file for hllp://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 44d 22h 19min 3s). Updates for this repository will not be applied.
E: Release file for hllp://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease is not valid yet (invalid for another 44d 22h 20min 14s). Updates for this repository will not be applied.
Hello, and excuse me, but what am I supposed to do with this answer?
sudo apt install ntp sudo service ntp restart
I put it on console but it reads in a single line, not two as shown, but still I got this error:
8m 8s - sudo apt install ntp sudo service ntp restart (failed, exitcode=100)
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists…
Building dependency tree…
Reading state information…
E: Unable to locate package service
E: Unable to locate package restart
I’ve tried with “apt update” which was an answer I found on facebook, but got this:
13m 8s - apt update (failed, exitcode=100)
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 hllp://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:2 hllp://ppa.launchpad.net/h-realh/roxterm/ubuntu bionic InRelease
Hit:3 hllp://archive.ubuntu.com/ubuntu bionic InRelease
Get:4 hllp://build.openvpn.net/debian/openvpn/stable bionic InRelease [3222 B]
Get:5 hllp://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:6 hllp://download.hiveos.farm/repo/binary InRelease [1724 B]
Get:7 hllp://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:8 hllp://download2.hiveos.farm/repo/binary InRelease [1724 B]
Reading package lists…
E: Release file for hllp://build.openvpn.net/debian/openvpn/stable/dists/bionic/InRelease is not valid yet (invalid for another 13d 10h 15min 37s). Updates for this repository will not be applied.
E: Release file for hllp://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 65d 6h 26min 12s). Updates for this repository will not be applied.
E: Release file for hllp://download.hiveos.farm/repo/binary/InRelease is not valid yet (invalid for another 65d 0h 54min 58s). Updates for this repository will not be applied.
E: Release file for hllp://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 65d 6h 27min 16s). Updates for this repository will not be applied.
E: Release file for hllp://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease is not valid yet (invalid for another 65d 6h 28min 28s). Updates for this repository will not be applied.
E: Release file for hllp://download2.hiveos.farm/repo/binary/InRelease is not valid yet (invalid for another 65d 0h 54min 57s). Updates for this repository will not be applied.
And via the normal update option, I get this:
4h 22m - Selfupgrade failed> Current version: 0.6-213@220129
Get:1 hllp://download.hiveos.farm/repo/binary InRelease [1724 B]
Get:2 hllp://download2.hiveos.farm/repo/binary InRelease [1724 B]
Reading package lists…
E: Release file for hllp://download.hiveos.farm/repo/binary/InRelease is not valid yet (invalid for another 65d 5h 1min 37s). Updates for this repository will not be applied.
E: Release file for hllp://download2.hiveos.farm/repo/binary/InRelease is not valid yet (invalid for another 65d 5h 1min 37s). Updates for this repository will not be applied.
Repository update failed
–
Restarting autofan and watchdog
Starting miners
Miner screen is already running
Run miner or screen -r to resume screen
Upgrade failed
I haven’t been able to update for like 3 days, I was wondering if it was a general bug but it seems not, what should I do next? Thank you.
- BTW, this rule of only 2 links and 1 media permitted for new users is like, no useful at all -
Thank you Keaton for replying. I did it as suggested but it isn’t working yet:
When I did input sudo apt install ntp it lost connection and restarted my farm. I waited a while to see if something was loading, but then the error popped up in red letters:
1m 41s - sudo apt install ntp (failed, exitcode=143) - when clicked on it: -
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
.
Reading package lists…
Building dependency tree…
Reading state information…
I knew doing the second command wasn’t going to do anything, still: sudo service ntp restart
2m 59s - sudo service ntp restart (failed, exitcode=5) - when clicked on it: -
Failed to restart ntp.service: Unit ntp.service not found.
It’s kind of weird that it stopped updating suddenly. Any other suggestions will be appreciated.