Skip to main content

Debian 12 FTP Source Error

If you get this error when running sudo apt update it is because of a source that points to a Debian 13 source.

The Error:
N: Repository 'http://ftp.debian.org/debian stable InRelease' changed its 'Version' value from '12.11' to '13.1'
E: Repository 'http://ftp.debian.org/debian stable InRelease' changed its 'Codename' value from 'bookworm' to 'trixie'

image.png

The Fix:
  • Edit /etc/apt/sources.list.d/archive_uri-http_ftp_debian_org_debian-bookworm.list

    sudo vim /etc/apt/sources.list.d/archive_uri-http_ftp_debian_org_debian-bookworm.list
  • Change the first line from:

    deb [arch=amd64] http://deb.freepbx.org/freepbx17-prod stable main

    To this:

    deb [arch=amd64] http://deb.freepbx.org/freepbx17-prod bookworm main

  • Save it and now you can run your updates:

    sudo apt update -y && sudo apt upgrade -y