Creating a bug report/issue
I have searched the existing open and closed issues
Required Information
-
DietPi version | cat /boot/dietpi/.version
-
G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=12
G_DIETPI_VERSION_RC=1
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
-
Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
-
bookworm 0
-
Kernel version | uname --all
-
Linux DietPi 6.12.25+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.25-1+rpt1 (2025-04-30) aarch64 GNU/Linux
-
Architecture | dpkg --print-architecture
-
arm64
-
SBC model | echo $G_HW_MODEL_NAME
or (EG: RPi3)
-
RPi 4 Model B (aarch64)
-
Power supply used | (EG: 5V 1A RAVpower)
-
5V/3A
-
SD card used | (EG: SanDisk ultra)
-
SanDisk ultra 32GB
Additional Information (if applicable)
-
Software title | (EG: Nextcloud)
-
Was the software title installed freshly or updated/migrated?
-
installed freshly
-
Can this issue be replicated on a fresh installation of DietPi?
← If you sent a “dietpi-bugreport”, please paste the ID here →
-
Bug report ID | echo $G_HW_UUID
-
f824e029-c7c2-42d6-a6d8-54890ab4626f
Steps to reproduce
- I just write the current image for the raspberry and connect via terminal
Expected behaviour
- Package updates completed successfully
Actual behaviour
- The update fails and ends with a screen with error logs
Extra details
- I also checked the same thing with my other computer NanoPi Neo3 and got exactly the same result, I also tried another router and again nothing changes. This screen with error logs appears even when I try to log in Dietpi-Software.
APT update │
│ - Command: apt-get -y -eany update │
│ - Exit code: 100 │
│ - DietPi version: v9.12.1 (MichaIng/master) | HW_MODEL: 4 | HW_ARCH: 3 | DISTRO: 7 │
│ - Error log: │
│ Ign:1 https://dietpi.com/apt bookworm InRelease │
│ Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease │
│ Hit:3 https://deb.debian.org/debian bookworm InRelease │
│ Ign:4 https://dietpi.com/apt all InRelease │
│ Hit:5 https://deb.debian.org/debian bookworm-updates InRelease │
│ Hit:6 https://deb.debian.org/debian-security bookworm-security InRelease │
│ Hit:7 https://deb.debian.org/debian bookworm-backports InRelease │
│ Ign:1 https://dietpi.com/apt bookworm InRelease │
│ Ign:4 https://dietpi.com/apt all InRelease │
│ Ign:1 https://dietpi.com/apt bookworm InRelease │
│ Ign:4 https://dietpi.com/apt all InRelease │
│ Err:1 https://dietpi.com/apt bookworm InRelease │
│ Could not handshake: Error in the pull function. [IP: 188.114.97.11 443] │
│ Err:4 https://dietpi.com/apt all InRelease │
│ Could not handshake: Error in the pull function. [IP: 188.114.97.11 443] │
│ Reading package lists... │
│ E: Failed to fetch https://dietpi.com/apt/dists/bookworm/InRelease Could not handshake: Error in the pull function. │
│ [IP: 188.114.97.11 443] │
│ E: Failed to fetch https://dietpi.com/apt/dists/all/InRelease Could not handshake: Error in the pull function. [IP: │
│ 188.114.97.11 443] │
│ E: Some index files failed to download. They have been ignored, or old ones used instead. │
│ │
│ Retry : Re-run the last command that failed │
│ DietPi-Config : Edit network, APT/NTP mirror settings etc │
│ Open subshell : Open a subshell to investigate or solve the issue │
│ Send report : Upload bug report including system info to DietPi │
│ Print report : Print bug report template for GitHub or forum │
│ ●─ Devs only ─────────────────────────────────────● │
│ Change command : Adjust and rerun the command │
│ │
│ │
│ <Select> <Exit>
Here is the content of the screen that ends the update. If this is a problem on my provider’s side, please tell me how to ask them a question to solve this problem.
The provider claims that it hasn’t changed any settings recently. However, everything worked fine on the previous build, then I noticed that I couldn’t do version updates, they all ended with this screen.
login as: root
root@192.168.0.109's password:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
─────────────────────────────────────────────────────
DietPi v9.12.1 : 18:32 - Sun 05/18/25
─────────────────────────────────────────────────────
- LAN IP : 192.168.0.109 (eth0)
[ OK ] DietPi-Software | Initialised database
[ OK ] DietPi-Software | Reading database
DietPi-Software
─────────────────────────────────────────────────────
Step: Applying initial first run setup steps
[ OK ] DietPi-Software | Checking IPv4 network connectivity
[ OK ] DietPi-Software | Checking DNS resolver
[ OK ] DietPi-TimeSync | systemctl stop systemd-timesyncd
[ OK ] DietPi-TimeSync | mkdir -p /run/systemd/timesync
[ INFO ] DietPi-Software | APT update, please wait...
Ign:1 https://dietpi.com/apt bookworm InRelease
Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:3 https://deb.debian.org/debian bookworm InRelease
Ign:4 https://dietpi.com/apt all InRelease
Hit:5 https://deb.debian.org/debian bookworm-updates InRelease
Hit:6 https://deb.debian.org/debian-security bookworm-security InRelease
Hit:7 https://deb.debian.org/debian bookworm-backports InRelease
Ign:1 https://dietpi.com/apt bookworm InRelease
Ign:4 https://dietpi.com/apt all InRelease
Ign:1 https://dietpi.com/apt bookworm InRelease
Ign:4 https://dietpi.com/apt all InRelease
Err:1 https://dietpi.com/apt bookworm InRelease
Could not handshake: Error in the pull function. [IP: 188.114.97.11 443]
Err:4 https://dietpi.com/apt all InRelease
Could not handshake: Error in the pull function. [IP: 188.114.97.11 443]
Reading package lists...
E: Failed to fetch https://dietpi.com/apt/dists/bookworm/InRelease Could not handshake: Error in the pull function. [IP: 188.114.97.11 443]
E: Failed to fetch https://dietpi.com/apt/dists/all/InRelease Could not handshake: Error in the pull function. [IP: 188.114.97.11 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.
[FAILED] DietPi-Software | APT update
- Command: apt-get -y -eany update
[FAILED] DietPi-Software | Unable to continue, DietPi-Software will now terminate.
─────────────────────────────────────────────────────
DietPi v9.12.1 : 18:37 - Sun 05/18/25
─────────────────────────────────────────────────────
- LAN IP : 192.168.0.109 (eth0)
[ OK ] DietPi-Login | Desired setting in /boot/dietpi.txt was already set: AUTO_SETUP_AUTOMATED=0
root@DietPi:~#
apt update
root@DietPi:~# apt update
Ign:1 https://dietpi.com/apt bookworm InRelease
Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease
Ign:3 https://dietpi.com/apt all InRelease
Hit:4 https://deb.debian.org/debian bookworm InRelease
Hit:5 https://deb.debian.org/debian bookworm-updates InRelease
Hit:6 https://deb.debian.org/debian-security bookworm-security InRelease
Hit:7 https://deb.debian.org/debian bookworm-backports InRelease
Ign:1 https://dietpi.com/apt bookworm InRelease
Ign:3 https://dietpi.com/apt all InRelease
Ign:1 https://dietpi.com/apt bookworm InRelease
Ign:3 https://dietpi.com/apt all InRelease
Err:1 https://dietpi.com/apt bookworm InRelease
Could not handshake: Error in the pull function. [IP: 188.114.97.11 443]
Err:3 https://dietpi.com/apt all InRelease
Could not handshake: Error in the pull function. [IP: 188.114.97.11 443]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch https://dietpi.com/apt/dists/bookworm/InRelease Could not handshake: Error in the pull function. [IP: 188.114.97.11 443]
W: Failed to fetch https://dietpi.com/apt/dists/all/InRelease Could not handshake: Error in the pull function. [IP: 188.114.97.11 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@DietPi:~#
Seems to be something on your system/local network. Maybe some issue with the system time. Can you check date
if it fit?
root@DietPi:~# date
Mon May 19 06:10:35 BST 2025
My local time is 10:10:35
I am in the Russian Federation.
I changed it in the settings ru_RU.UTF-8
But the system time has not changed. The time has not changed.
I set up my time, now it is displayed correctly (Ekaterinburg, it turns out, belongs to the Asia region):
root@DietPi:~# date
Mon May 19 10:50:45 +05 2025
However, this did not solve the problem of updating the dietpi:
root@DietPi:~# sudo apt update
Ign:1 https://dietpi.com/apt bookworm InRelease
Ign:2 https://dietpi.com/apt all InRelease
Hit:3 https://deb.debian.org/debian bookworm InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:5 https://deb.debian.org/debian bookworm-updates InRelease
Hit:6 https://deb.debian.org/debian-security bookworm-security InRelease
Hit:7 https://deb.debian.org/debian bookworm-backports InRelease
Ign:1 https://dietpi.com/apt bookworm InRelease
Ign:2 https://dietpi.com/apt all InRelease
Ign:1 https://dietpi.com/apt bookworm InRelease
Ign:2 https://dietpi.com/apt all InRelease
Err:1 https://dietpi.com/apt bookworm InRelease
Could not handshake: Error in the pull function. [IP: 172.67.193.183 443]
Err:2 https://dietpi.com/apt all InRelease
Could not handshake: Error in the pull function. [IP: 172.67.193.183 443]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch https://dietpi.com/apt/dists/bookworm/InRelease Could not handshake: Error in the pull function. [IP: 172.67.193.183 443]
W: Failed to fetch https://dietpi.com/apt/dists/all/InRelease Could not handshake: Error in the pull function. [IP: 172.67.193.183 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
I ask out developer to have a look.