Repository does not have a Release file 🐧 Linux

E: The repository '...' does not have a Release file

apt can’t find index files for a source — the repo doesn’t support your Ubuntu/Debian release, the URL is wrong, or the release reached end of life.

Seen on: Linux

Meaning

PPAs and vendor repos publish per release codename (jammy, noble, bookworm). Adding one for a codename it doesn’t support, or running an EOL release whose mirrors moved to old-releases, produces this.

Common causes

  • Repo/PPA has no build for your release codename
  • EOL release moved to old-releases.ubuntu.com
  • Typo in the source URL
  • Release file “not valid yet” due to wrong system clock

⚡ Quick fix

  1. Remove or fix the source in /etc/apt/sources.list.d/
  2. Upgrade the OS, or point an EOL release at old-releases
  3. Fix the clock (timedatectl) for “not valid yet”

Detailed fix by platform

Ubuntu

  1. bash
    grep -r ^deb /etc/apt/sources.list /etc/apt/sources.list.d/
    sudo add-apt-repository --remove ppa:someone/ppa
    timedatectl

How to diagnose

  1. Source — Which line fails?
  2. Codename — lsb_release -cs supported by the repo?
  3. Clock — Correct date?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.