Hi
I’ve had this error today when doing apt update. I am a Linux noob but have used DietPi for some time. Current version is 9.14.2.
I have some idea on how to update upgrade but don’t know where to start troubleshooting.
So appreciate any help I can get.
root@DietPi:~# sudo apt update
Err:6 https://deb.debian.org/debian bullseye-backports Release
404 Not Found [IP: 199.232.46.132 443]
Reading package lists... Done
E: The repository 'https://deb.debian.org/debian bullseye-backports Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Thanks in advance.
hmm looks like Debian removed the repository for bullseye-backports
Instructions
which version of Debian you are using? Unfortunately you missed to fill the troubleshooting template
Required
- 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)
@MichaIng FYI
This repo was sent to archive.debian.org. From time to time Debian does it.
I had the following error when updating a DietPi system (raspberry zero w):
[ INFO ] DietPi-Update | APT update, please wait...
Hit:1 https://deb.debian.org/debian bullseye InRelease
Get:2 https://deb.debian.org/debian bullseye-updates InRelease [44.0 kB]
Get:3 https://dietpi.com/apt bullseye InRelease [3530 B]
Get:4 https://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
Get:5 https://dietpi.com/apt all InRelease [28.6 kB]
Ign:6 https://deb.debian.org/debian bullseye-backports InRelease
Err:7 https://deb.debian.org/debian bullseye-backports Release
404 Not Found [IP: 151.101.2.132 443]
Get:8 https://archive.raspberrypi.com/debian bullseye InRelease [39.0 kB]
Get:9 https://dietpi.com/apt bullseye/main arm64 Packages [3000 B]
Get:10 https://deb.debian.org/debian-security bullseye-security/main arm64 Packages [381 kB]
Get:11 https://archive.raspberrypi.com/debian bullseye/main arm64 Packages [323 kB]
Reading package lists...
E: The repository 'https://deb.debian.org/debian bullseye-backports Release' no longer has a Release file.
[FAILED] DietPi-Update | APT update
- Command: apt-get -y -eany update
[ INFO ] DietPi-Update | APT update, please wait...
Hit:1 https://deb.debian.org/debian bullseye InRelease
Hit:2 https://deb.debian.org/debian bullseye-updates InRelease
Hit:3 https://deb.debian.org/debian-security bullseye-security InRelease
Ign:4 https://deb.debian.org/debian bullseye-backports InRelease
Hit:5 https://dietpi.com/apt bullseye InRelease
Err:6 https://deb.debian.org/debian bullseye-backports Release
404 Not Found [IP: 151.101.194.132 443]
Hit:7 https://archive.raspberrypi.com/debian bullseye InRelease
Hit:8 https://dietpi.com/apt all InRelease
Reading package lists...
E: The repository 'https://deb.debian.org/debian bullseye-backports Release' no longer has a Release file.
[FAILED] DietPi-Update | APT update
- Command: apt-get -y -eany update
[FAILED] DietPi-Update | Unable to continue, DietPi-Update will now terminate.
This solved the problem:
$ diff ~/sources.list.backup /etc/apt/sources.list
4c4
< deb https://deb.debian.org/debian/ bullseye-backports main contrib non-free
---
> deb https://archive.debian.org/debian/ bullseye-backports main contrib non-free
The repo is still on regular APT server, AFAIK until after Debian Trixie release. But the backports suite was removed indeed: Index of /debian/dists
So we need to remove that with upcoming DietPi release as pre-patch.
Or provide it from archive indeed, but not sure whether it is worth it?
The practice is weird indeed:
I wonder why they do not mirror really all parts on both sides for a while, encourage the transition with some check in apt
or so for that time, before removing it from the main repo entirely.
Also the timing: For Buster this happend just last year: DietPi has encountered an error during update to v9.3.0 · Issue #7023 · MichaIng/DietPi · GitHub
In the meantime, it has completely gone from the main repo, hence need to push another commit to the Buster-compatible branch.
I am also seeing this issue:
cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=13
G_DIETPI_VERSION_RC=2
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
G_LIVE_PATCH_STATUS[0]=‘not applicable’
G_LIVE_PATCH_STATUS[1]=‘applied’
G_LIVE_PATCH_STATUS[2]=‘applied’
G_LIVE_PATCH_STATUS[3]=‘applied’
Linux kasm 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64 GNU/Linux
amd64
Virtual Machine (x86_64)
diff: /root/sources.list.backup: No such file or directory
workaround until DietPi v9.15 has been released. APT | Remove bullseye-backports or migrate to archive.debian.org · Issue #7630 · MichaIng/DietPi · GitHub
sudo sed -i '/bullseye-backports/d' /etc/apt/sources.list
Basically, you should think of upgrading from Bullseye to Bookworm since the next Debian version, Trixi, is about to be released.