Closed boterocamilo closed 1 year ago
You have a local network issue. At least something wrong with your DNS settings. Do you use a local DNS server?
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.
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
can you check the one configured
cat /etc/resolv.conf
can you check the one configured
cat /etc/resolv.conf
nameserver 147.78.28.2 nameserver 147.78.28.10
Seems to be a local ISP, probably it has temporary issues. See whether the using Cloudflare (above) does better.
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
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
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
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!
Hi everyone,
As stated in the title, I cannot update my installed software. I have tried several options: dietpi-software, apt update… I even ran dietpi-update, to see if it was an update pending to install. However, I couldn’t either submit a Bug report. See an example as follows:
About the bug report, I could not do it for some strange reason, see here the error:
root@DietPi:~# dietpi-update
DietPi-Update ───────────────────────────────────────────────────── Phase: Checking for available DietPi update
[ OK ] DietPi-Update | Checking IPv4 network connectivity [FAILED] DietPi-Update | Checking DNS resolver
Copy and paste only the BLUE lines below into the ticket -
Details:
Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
curl --connect-timeout 8 --retry 1 --retry-delay 4 -sSvT bcd872a6-1671-4cf7-a1f1-5adb3c63a7ed.7z sftp://dietpi-survey:upload2dietpi@ssh.dietpi.com:29248/bugreport/
Steps to reproduce:
Expected behaviour:
Actual behaviour:
Extra details:
Additional logs:
Press any key to continue... [FAILED] DietPi-Update | Unable to continue, DietPi-Update will now terminate.