Comments (10)
You have a local network issue. At least something wrong with your DNS settings. Do you use a local DNS server?
from dietpi.
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.
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.
can you check the one configured
cat /etc/resolv.conf
from dietpi.
can you check the one configured
cat /etc/resolv.conf
nameserver 147.78.28.2
nameserver 147.78.28.10
from dietpi.
Seems to be a local ISP, probably it has temporary issues. See whether the using Cloudflare (above) does better.
from dietpi.
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.
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.
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.
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)
- No more /sys/class/leds/led0/trigger after update from DietPi 8.10.2 to DietPi v8.24.1 HOT 2
- dietpi-backup issue with chown on NFS server Truenas core HOT 3
- new install HOT 18
- DietPi-Software | BitTorrent: Raise/Remove parallel downloads limit? HOT 2
- [FAILED] DietPi-Update | APT upgrade HOT 1
- DietPi-Software | Synapse: Migrate to new Element fork
- DietPi-VPN | Unable to enter private key decryption password HOT 12
- dietpi upgrade failing HOT 3
- when trying to install kodi HOT 1
- DietPi-Backup | Enhance G_PROMPT_BACKUP HOT 10
- Orange Pi 5 kernel upgrade to 6.7 HOT 4
- nfs problem when trying to HOT 2
- PiVPN with Wireguard add keep alive HOT 7
- Open Beta v8.25 | Please help testing and hardening our upcoming release HOT 1
- concurrent execution of dietpi-backup after lost ssh connection HOT 6
- please update tasmoadmin HOT 14
- DietPi-Backup Error after update to 8.25 HOT 2
- Very first run from a fresh install gives error "HTTP/2 stream 1 was not closed cleanly before end of the underlying stream" while doing the DietPi-Update". HOT 7
- Iteration v9.0 (2024-01-20)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dietpi.