E: The repository 'http://security.debian.org/debian-security stable/updates Release' no longer has a Release file

I am trying to update my FreedomBox through Cockpit. When it tries to fetch updates it shows me the following error message:

E: The repository 'http://security.debian.org/debian-security stable/updates Release' no longer has a Release file.
W: Updating from such a repository can't be done securely, and is therefore disabled by default.
W: See apt-secure(8) manpage for repository creation and user configuration details.

Screenshot

Information

  • FreedomBox version: I think I have FreedomBox version 1.19.1
  • Hardware: I bought my FreedonBox preinstalled from the official website.

Could you please run cat /etc/os-release and copy the output here?

I’m wondering if this may be an old-stable (buster) image.

PRETTY_NAME=“Debian GNU/Linux 10 (buster)”
NAME=“Debian GNU/Linux”
VERSION_ID=“10”
VERSION=“10 (buster)”
VERSION_CODENAME=buster
ID=debian
HOME_URL=“debian,org/”
SUPPORT_URL=“debian,org/support”
BUG_REPORT_URL=“bugs.debian,org/”

In front of the two links belongs https://www. and the commas are dots obviously, but I cannot post more than one link…

Ok you are running Debian 10 (buster), which is now “oldstable”, the previous stable release.

I first recommend to manually edit /etc/apt/sources.list, and replace “stable” with “buster” wherever it occurs. If you also have the file /etc/apt/sources.list.d/freedombox2.list, you can do the same in that file. And then try to update again.

In the end, freedombox should update to 21.4.4 from buster-backports. This version includes a feature that can automatically update the distribution from buster to bullseye (current stable release).

1 Like

It worked thank you!