Giter Site home page Giter Site logo

Comments (10)

Joulinar avatar Joulinar commented on July 18, 2024

You have a local network issue. At least something wrong with your DNS settings. Do you use a local DNS server?

from dietpi.

boterocamilo avatar boterocamilo commented on July 18, 2024

You have a local network issue. At least something wrong with your DNS settings. Do you use a local DNS server?

No, I do not have a DNS server.

from dietpi.

MichaIng avatar MichaIng commented on July 18, 2024

Which DNS server are you using?

cat /etc/resolv.conf

Does it help, in case, to switch to a public one?

echo 'nameserver 1.1.1.1' > /etc/resolv.conf
apt update

from dietpi.

Joulinar avatar Joulinar commented on July 18, 2024

can you check the one configured

cat /etc/resolv.conf

from dietpi.

boterocamilo avatar boterocamilo commented on July 18, 2024

can you check the one configured

cat /etc/resolv.conf

nameserver 147.78.28.2
nameserver 147.78.28.10

from dietpi.

MichaIng avatar MichaIng commented on July 18, 2024

Seems to be a local ISP, probably it has temporary issues. See whether the using Cloudflare (above) does better.

from dietpi.

Joulinar avatar Joulinar commented on July 18, 2024

did you configure them manually? They seem to be unreachable

root@DietPiProd:~# dig @147.78.28.2 dietpi.com
;; communications error to 147.78.28.2#53: host unreachable
;; communications error to 147.78.28.2#53: host unreachable
;; communications error to 147.78.28.2#53: host unreachable

; <<>> DiG 9.18.19-1~deb12u1-Debian <<>> @147.78.28.2 dietpi.com
; (1 server found)
;; global options: +cmd
;; no servers could be reached

root@DietPiProd:~#

Pls try following

echo 'nameserver 1.1.1.1' > /etc/resolv.conf
apt update

from dietpi.

boterocamilo avatar boterocamilo commented on July 18, 2024

did you configure them manually? Pls try following

echo 'nameserver 1.1.1.1' > /etc/resolv.conf
apt update

I did change it manually as suggested. These are now the errors when running apt update:

root@DietPi:~ echo 'nameserver 1.1.1.1' > /etc/resolv.conf
apt update
Hit:1 https://download.docker.com/linux/debian bookworm InRelease
Hit:2 https://deb.debian.org/debian bookworm InRelease                         
Get:3 https://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]       
Hit:4 https://download.mono-project.com/repo/debian buster InRelease           
Hit:5 https://deb.nodesource.com/node_17.x bookworm InRelease                  
Get:6 https://packages.sury.org/php bookworm InRelease [7539 B]                
Hit:7 https://dl.yarnpkg.com/debian stable InRelease                           
Hit:8 https://archive.raspberrypi.org/debian bookworm InRelease                
Get:9 https://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:10 https://deb.debian.org/debian bookworm-backports InRelease [56.5 kB]
Get:11 https://repo.jellyfin.org/debian bookworm InRelease [6639 B]
Get:12 https://packages.sury.org/php bookworm/main arm64 Packages [215 kB]
Reading package lists... Done                                                  
E: Release file for https://deb.debian.org/debian/dists/bookworm-updates/InRelease is not valid yet (invalid for another 4h 16min 23s). Updates for this repository will not be applied.
E: Release file for https://deb.debian.org/debian-security/dists/bookworm-security/InRelease is not valid yet (invalid for another 8h 16min 21s). Updates for this repository will not be applied.
E: Release file for https://deb.debian.org/debian/dists/bookworm-backports/InRelease is not valid yet (invalid for another 4h 16min 22s). Updates for this repository will not be applied.
E: Release file for https://repo.jellyfin.org/debian/dists/bookworm/InRelease is not valid yet (invalid for another 4h 45min 41s). Updates for this repository will not be applied.
root@DietPi:~# cat /etc/resolv.conf
nameserver 1.1.1.1

from dietpi.

Joulinar avatar Joulinar commented on July 18, 2024

InRelease is not valid yet (invalid for another 4h 45min 41s).

Your system time is out of sync

/boot/dietpi/func/run_ntpd 1
apt update

from dietpi.

boterocamilo avatar boterocamilo commented on July 18, 2024

InRelease is not valid yet (invalid for another 4h 45min 41s).

Your system time is out of sync

/boot/dietpi/func/run_ntpd 1
apt update

Indeed. Now after running this command it worked. Thanks a lot!

from dietpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.