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.
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
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.
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’
Sorry for not replying. I have been traveling out of the country for the last few days.
This workaround fixed it. I’ve also upgraded to Bookworm by following the instructions on the linked page. Newbie me didn’t know about the upgrade process and thought apt upgrade would have done that.