Err:8 stretch Release │ │ 404 Not Found [IP: 80]

I am getting this error when trying to update to the latest beta:
Err:8 Studenten Net Twente - Index of /debian/ stretch Release │
│ 404 Not Found [IP: 80] │ │
│ Reading package lists… │
│ E: The repository ‘Studenten Net Twente - Index of /debian/ stretch Release’ no longer has a Release file.

Looks like you are running oldoldstabe Debian Stretch system, which is not supported anymore.

Could you try to fill following data.


  • DietPi version | cat /boot/dietpi/.version
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • Kernel version | uname -a
  • Architecture | dpkg --print-architecture
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)

DietPi Version:
Distro Version:
bullseye 0
Kernel Version:
Linux DietPi-Unifi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
SBC model:
RPi 4 Model B (aarch64)

ok this is a Debian Bullseye system. But why is there a Debian Stretch source configured still? Can you share your source file configuration.

for i in /etc/apt/sources.list{,.d/*.list}; do echo "$i:"; cat "$i"; done

As newb I can only post two URLs per reply…

deb bullseye main contrib non-free
deb bullseye-updates main contrib non-free
deb stretch main
deb [ arch=amd64,arm64 ] MongoDB Repositories xenial/mongodb-org/3.6 multiverse
deb Index of /debian bullseye main

I have been running this build for awhile 2 years probably and have not had this upgrade problem before. This error is from an attempted update of DietPi v8.16.2 (beta) to v8.17.0

You would need to use code fence. This way you could post more links :wink:
I just merged your post into one.

The issue has nothing to do with DietPi or our Beta.

This is your issue, you added a 3rd party source list configuration yourself. Looks like they removed Debian Stretch support and you would need to update source file to Bullseye.

Goodbye dietpi!!!

What do you mean by this?

I think he took things the wrong way! A quick google of the offending script takes you to a website Glenn R. I would expect this guy to give a fix for you/him.

1 Like

As far as I can see, the mighty script is supporting Debian Bullseye and Bookworm. Maybe it is needed to execute the script again to switch to a newer version?

However, the whole stuff has no relationship with DietPi. Maybe I will test the script if I find time.

1 Like

just checked the install script 7.3.83. It’s working fine on my Orange Pi 5. What I don’t know, if the script is going to migrate an older version of the UniFi app. Sometthing to ask the original developer.