http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 35min 11s)

Warum Debian und/oder eine seiner Spielarten? Was muss ich vorher wissen? Wo geht es nach der Installation weiter?
Antworten
AxelMD
Beiträge: 1350
Registriert: 15.03.2009 08:02:11

http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 35min 11s)

Beitrag von AxelMD » 23.01.2021 09:37:33

Hallo Forum,

wie löse ich das folgende Problem?

Code: Alles auswählen

apt update
E: Release file for http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 35min 11s). Updates for this repository will not be applied.

/etc/apt/sources.list

Code: Alles auswählen

# 

# deb cdrom:[Debian GNU/Linux 10.3.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20200208-12:08]/ buster contrib main non-free

#deb cdrom:[Debian GNU/Linux 10.3.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20200208-12:08]/ buster contrib main non-free

deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main

deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

Problem ist die Systemzeit:

Code: Alles auswählen

timedatectl
               Local time: Sat 2021-01-23 08:51:09 CET
           Universal time: Sat 2021-01-23 07:51:09 UTC
                 RTC time: Sat 2021-01-23 07:51:09
                Time zone: Europe/Berlin (CET, +0100)
System clock synchronized: no
              NTP service: inactive
          RTC in local TZ: no
Wie stelle ich "System clock synchronized: " auf yes?

Code: Alles auswählen

 systemctl status systemd-timesyncd
● systemd-timesyncd.service - Network Time Synchronization
   Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
  Drop-In: /usr/lib/systemd/system/systemd-timesyncd.service.d
           └─disable-with-time-daemon.conf
   Active: inactive (dead)
Condition: start condition failed at Sat 2021-01-23 08:27:47 CET; 29min ago
           └─ ConditionFileIsExecutable=!/usr/sbin/chronyd was not met
     Docs: man:systemd-timesyncd.service(8)

Jan 23 08:27:47 omv5 systemd[1]: Condition check resulted in Network Time Synchronization being skipped.
Was läuft da falsch?

Kurzfristige Lösung:

Code: Alles auswählen

timedatectl set-time 'HH:mm:ss'
MfG
AxelMD
Zuletzt geändert von AxelMD am 23.01.2021 10:30:46, insgesamt 1-mal geändert.

DeletedUserReAsG

Re: http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 35min 11s)

Beitrag von DeletedUserReAsG » 23.01.2021 10:00:13

AxelMD hat geschrieben: ↑ zum Beitrag ↑
23.01.2021 09:37:33
Wie stelle ich "System clock synchronized: " auf yes?
Read The Friendly Manual:
man timedatectl hat geschrieben:

Code: Alles auswählen

      set-ntp [BOOL]                                                            
          Takes a boolean argument. Controls whether network time               
          synchronization is active and enabled (if available). If the argument 
          is true, this enables and starts the first existing network           
          synchronization service. If the argument is false, then this disables 
          and stops the known network synchronization services. The way that the
          list of services is built is described below.                         

AxelMD
Beiträge: 1350
Registriert: 15.03.2009 08:02:11

Re: http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 35min 11s)

Beitrag von AxelMD » 23.01.2021 10:32:22

Deine Lösung hilft mir nicht, insofern eine Threadverlängerung, trotzdem danke.

Code: Alles auswählen

 systemctl status systemd-timesyncd.service
● systemd-timesyncd.service - Network Time Synchronization
   Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
  Drop-In: /usr/lib/systemd/system/systemd-timesyncd.service.d
           └─disable-with-time-daemon.conf
   Active: inactive (dead)
Condition: start condition failed at Sat 2021-01-23 09:11:53 CET; 1h 20min ago
     Docs: man:systemd-timesyncd.service(8)

Jan 23 09:06:20 omv5 systemd[1]: Condition check resulted in Network Time Synchronization being skipped.
Jan 23 09:11:53 omv5 systemd[1]: Condition check resulted in Network Time Synchronization being skipped.
Wie kann ich den "systemd-timesyncd.service" starten?

Code: Alles auswählen

systemctl start systemd-timesyncd.service
systemctl restart systemd-timesyncd.service
Hilft hier leider nicht.

ntp ist nicht installiert, so soll es sein:

Code: Alles auswählen

 apt purge ntp
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'ntp' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Code: Alles auswählen

timedatectl timesync-status
Failed to query server: Connection timed out

Code: Alles auswählen

systemctl restart timesyncd
Failed to restart timesyncd.service: Unit timesyncd.service not found.
Jetzt sieht es so aus:

Code: Alles auswählen

 timedatectl status
               Local time: Sat 2021-01-23 11:26:55 CET
           Universal time: Sat 2021-01-23 10:26:55 UTC
                 RTC time: Sat 2021-01-23 10:26:55
                Time zone: Europe/Berlin (CET, +0100)
System clock synchronized: yes
              NTP service: inactive
          RTC in local TZ: no
aber immer noch failed:

Code: Alles auswählen

systemd-timesyncd.service - Network Time Synchronization
   Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
  Drop-In: /usr/lib/systemd/system/systemd-timesyncd.service.d
           └─disable-with-time-daemon.conf
   Active: inactive (dead)
Condition: start condition failed at Sat 2021-01-23 11:28:51 CET; 43s ago
           └─ ConditionFileIsExecutable=!/usr/sbin/chronyd was not met
     Docs: man:systemd-timesyncd.service(8)

Jan 23 09:06:20 pc systemd[1]: Condition check resulted in Network Time Synchronization being skipped.
Jan 23 09:11:53 pc systemd[1]: Condition check resulted in Network Time Synchronization being skipped.
Jan 23 10:41:15 pc systemd[1]: Condition check resulted in Network Time Synchronization being skipped.
Zuletzt geändert von AxelMD am 23.01.2021 12:27:54, insgesamt 2-mal geändert.

DeletedUserReAsG

Re: http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 35min 11s)

Beitrag von DeletedUserReAsG » 23.01.2021 11:54:48

AxelMD hat geschrieben: ↑ zum Beitrag ↑
23.01.2021 10:32:22

Code: Alles auswählen

Failed to query server: Connection timed out
„Firewall“?

AxelMD
Beiträge: 1350
Registriert: 15.03.2009 08:02:11

Re: http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 35min 11s)

Beitrag von AxelMD » 23.01.2021 12:08:46

alles default

Mit "„Firewall“?" kann ich wenig anfangen, das hilft nicht weiter, trotzdem danke.

Benutzeravatar
TRex
Moderator
Beiträge: 8038
Registriert: 23.11.2006 12:23:54
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: KA

Re: http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 35min 11s)

Beitrag von TRex » 23.01.2021 12:25:07

AxelMD hat geschrieben: ↑ zum Beitrag ↑
23.01.2021 12:08:46
alles default

Mit "„Firewall“?" kann ich wenig anfangen, das hilft nicht weiter, trotzdem danke.
Male dir nen Satz drum herum: "ist da eine Firewall im Spiel?"

edit: und versuche mal, da herauszufinden, wo der sich hinverbinden will (also der analytische Weg). Ich kenn den Dienst nicht, könnte dir also nur mein Vorgehen beschreiben...
Jesus saves. Buddha does incremental backups.
Windows ist doof, Linux funktioniert nichtDon't break debian!Wie man widerspricht

AxelMD
Beiträge: 1350
Registriert: 15.03.2009 08:02:11

Re: http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 35min 11s)

Beitrag von AxelMD » 23.01.2021 12:26:40

Ich habe keine extra Firewall eingerichtet.

Eine Debian 10.7 Buster, eingerichtet in Virtualbox, egribt "systemctl status systemd-timesyncd" ein "active (running).
Zuletzt geändert von AxelMD am 23.01.2021 12:42:19, insgesamt 1-mal geändert.

willy4711

Re: http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 35min 11s)

Beitrag von willy4711 » 23.01.2021 12:35:45

AxelMD hat geschrieben: ↑ zum Beitrag ↑
23.01.2021 10:32:22
Wie kann ich den "systemd-timesyncd.service" starten?

Code: Alles auswählen

systemctl start systemd-timesyncd.service
systemctl restart systemd-timesyncd.service
Hilft hier leider nicht.
Vielleicht erstmal

Code: Alles auswählen

systemctl enable systemd-timesyncd.service
TRex hat geschrieben: ↑ zum Beitrag ↑
23.01.2021 12:25:07
edit: und versuche mal, da herauszufinden, wo der sich hinverbinden will (also der analytische Weg). Ich kenn den Dienst nicht, könnte dir also nur mein Vorgehen beschreiben...
Das wird normaler weise schon im Installer eingestellt (Standard wäre: 2.debian.pool.ntp.org)

Code: Alles auswählen

 timedatectl timesync-status
       Server: 2a01:4f8:110:12c8::123 (2.debian.pool.ntp.org)
Poll interval: 34min 8s (min: 32s; max 34min 8s)             
         Leap: normal                                        
      Version: 4                                             
      Stratum: 2                                             
    Reference: 83BC03DE                                      
    Precision: 1us (-24)                                     
Root distance: 28.082ms (max: 5s)                            
       Offset: +2.402ms                                      
        Delay: 21.144ms                                      
       Jitter: 4.552ms                                       
 Packet count: 11                                            
    Frequency: +13,962ppm      
EDIT

Schau mal nach, was in der /etc/systemd/timesyncd.conf steht.

Mal nachschauen:

Code: Alles auswählen

systemctl list-unit-files | grep time
Zuletzt geändert von willy4711 am 23.01.2021 12:45:10, insgesamt 1-mal geändert.

AxelMD
Beiträge: 1350
Registriert: 15.03.2009 08:02:11

Re: http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 35min 11s)

Beitrag von AxelMD » 23.01.2021 12:43:46

Code: Alles auswählen

cat /etc/systemd/timesyncd.conf
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See timesyncd.conf(5) for details.

[Time]
#NTP=
#FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org
#RootDistanceMaxSec=5
#PollIntervalMinSec=32
#PollIntervalMaxSec=2048
Bei dem funktionierenden Debian 10 in Virtualbox sieht es genauso aus.

willy4711

Re: http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 35min 11s)

Beitrag von willy4711 » 23.01.2021 12:50:20

Die /etc/systemd/timesyncd.conf ist erstmal identisch mit meiner.
Mal versucht den Service mit enable zu aktivieren?
willy4711 hat geschrieben: ↑ zum Beitrag ↑
23.01.2021 12:35:45

Vielleicht erstmal

Code: Alles auswählen

systemctl enable systemd-timesyncd.service

willy4711

Re: http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 35min 11s)

Beitrag von willy4711 » 23.01.2021 13:02:09

Aus:

Code: Alles auswählen

systemctl status systemd-timesyncd.service
AxelMD hat geschrieben: ↑ zum Beitrag ↑
23.01.2021 10:32:22

Code: Alles auswählen

Drop-In: /usr/lib/systemd/system/systemd-timesyncd.service.d
           └─disable-with-time-daemon.conf
Das steht bei mir nicht. Kann das aber auch nicht interpretieren.

EDIT

Vielleicht erzählt das Journal ein bisschen mehr:

Code: Alles auswählen

journalctl -b |grep timesync -A5 -B3

willy4711

Re: http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 35min 11s)

Beitrag von willy4711 » 23.01.2021 13:23:58

Noch ein Versuch:
AxelMD hat geschrieben: ↑ zum Beitrag ↑
23.01.2021 10:32:22
Jetzt sieht es so aus:

Code: Alles auswählen

 timedatectl status
               Local time: Sat 2021-01-23 11:26:55 CET
           Universal time: Sat 2021-01-23 10:26:55 UTC
                 RTC time: Sat 2021-01-23 10:26:55
                Time zone: Europe/Berlin (CET, +0100)
System clock synchronized: yes
              NTP service: inactive
          RTC in local TZ: no
Da NTP-Service inaktiv mal versuchen:

Code: Alles auswählen

timedatectl set-ntp true

Antworten