The officially official Devuan Forum!

You are not logged in.

#1 2020-11-03 19:10:52

nobodyuknow
Member
Registered: 2017-09-10
Posts: 74  

SOLVED: Release file for updates is not valid yet

I built a Devuan Beowulf Cinnamon system yesterday. Today I tried to update.

sudo apt update
Get:1 http://deb.devuan.org/merged beowulf InRelease [33.2 kB]
Get:2 http://deb.devuan.org/merged beowulf-security InRelease [25.6 kB]
Get:3 http://deb.devuan.org/merged beowulf-updates InRelease [26.0 kB]
Reading package lists... Done       
E: Release file for http://deb.devuan.org/merged/dists/beow … /InRelease is not valid yet (invalid for another 3h 4min 44s). Updates for this repository will not be applied.

I've never seen this error message.

Last edited by nobodyuknow (2020-11-03 23:28:41)

Offline

#2 2020-11-03 19:44:38

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 1,142  
Website

Re: SOLVED: Release file for updates is not valid yet

Looks like your system clock is wrong. Are you dual-booting with Windows? If so then make sure that is using UTC instead of their ridiculous localtime starndard: https://wiki.archlinux.org/index.php/Sy … in_Windows

Check /etc/adjtime in Devuan and make sure it has UTC as the last line. Then try starting & enabling NTP:

# apt install ntp
# /etc/init.d/ntp start
# update-rc.d ntp defaults

Once the system clock is correct and set to UTC then update the motherboard clock:

# hwclock --systohc

Black Lives Matter

Offline

#3 2020-11-03 23:28:21

nobodyuknow
Member
Registered: 2017-09-10
Posts: 74  

Re: SOLVED: Release file for updates is not valid yet

@Head_on_a_Stick

I have Windows 10 installed on the internal SATA drive, with Devuan running via USB 3.0 external enclosure. I'm not dual-booting. I should have thought of the time problem, as I see it all the time on Windows. What I'm doing confuses the motherboard.

Thanks for the solution for Linux. That will help a lot.

Last edited by nobodyuknow (2020-11-03 23:33:46)

Offline

#4 2020-11-04 14:42:47

caieng
Member
Registered: 2020-10-29
Posts: 4  

Re: SOLVED: Release file for updates is not valid yet

Thanks very much Head_on_a_Stick, wasted so much time trying to figure out why the clock was wrong on Devuan but not on any of my other cinnamon desktops.  It is now correct, thanks to your help:   
# apt install ntp
That's all I needed.   Reboot, and now it acts like all the other Cinnamon desktops from Debian, Mint, Manjaro..
When I saw that message on my screen, a couple of days ago, just as nobodyuknow has written: 
...is not valid yet (invalid for another 3h 4min 44s),
I had entered bios, changed passwords, danced a jig, and played the ukelele, all to no avail.
cheers,
caieng

Offline

Board footer