How to fix Do you want to accept these changes and continue updating from this repository? [y/N] in APT

APTBEGINNERLOWUpdated Dec 29, 2025· 156 views

APT prompts this when a repository changes metadata like Suite or Origin, typically during major Debian releases. Accept the changes to continue updates.

Quick fix

Fixes Do you want to accept these changes and continue updating from this repository? [y/N]

sudo apt update
  1. Accept the prompt interactively with apt
  2. Use apt-get with --allow-releaseinfo-change flag
  3. Configure APT to allow changes permanently
  4. Identify which field changed (optional)
apt — error
sudo apt update
Do you want to accept these changes and continue updating from this repository? [y/N]

What this error means

APT prevents automatic updates when repository metadata changes significantly. This safety feature, introduced in APT 1.5, requires you to confirm that you understand and accept changes like a distribution moving from "stable" to "oldstable" or a company name change in the Origin field. This protects you from unknowingly applying major version changes without awareness.

Typical symptoms

  • APT update fails and asks for confirmation with a [y/N] prompt
  • apt-get update command hangs waiting for user input
  • Repository metadata changes mentioned (Origin, Suite, Label, or Version)
  • Package installation blocked until repository changes are accepted
  • Synaptic or other APT GUI tools show an error without offering resolution

Common causes

  1. A Debian major release occurred and old releases moved to "oldstable" (most common: Debian 10→11, 11→12)
  2. Repository owner changed company name (e.g., Google Inc. → Google LLC)
  3. Repository migrated to new servers or changed its Origin URL
  4. Repository Suite value changed from "testing" to "stable" or similar
  5. Release file metadata updated with new version or label information

How to fix "Do you want to accept these changes and continue updating from this repository? [y/N]"

1Accept the prompt interactively with apt

If you are using the apt command (not apt-get), the prompt will appear directly:

bash
sudo apt update

When prompted "Do you want to accept these changes and continue updating from this repository? [y/N]", type y and press Enter. This is the safest approach as you review what is changing.

2Use apt-get with --allow-releaseinfo-change flag

If apt update isn't available or you need to automate the update, use the --allow-releaseinfo-change flag:

bash
sudo apt-get update --allow-releaseinfo-change

This flag tells APT to automatically accept repository metadata changes. You only need to run this once; future updates will succeed.

3Configure APT to allow changes permanently

To make this change persistent across all future updates, create or edit /etc/apt/apt.conf.d/99-allow-release-changes and add:

bash
sudo nano /etc/apt/apt.conf.d/99-allow-release-changes

Add this line (replace Suite with the field that changed: Origin, Label, Codename, Suite, Version, or DefaultPin):

bash
Acquire::AllowReleaseInfoChange::Suite "true";

Save and exit (Ctrl+X, then Y for yes). Now apt update will work without prompts.

4Identify which field changed (optional)

If you want to know which field changed before accepting, look at the full error output. It will show something like:

bash
Repository 'http://deb.debian.org/debian bullseye InRelease' changed its 'Suite' value from 'stable' to 'oldstable'

The field name appears in quotes. You can then use the specific flag:

bash
sudo apt-get update --allow-releaseinfo-change-suite

Other options: --allow-releaseinfo-change-origin, --allow-releaseinfo-change-label, --allow-releaseinfo-change-version, --allow-releaseinfo-change-codename.

Advanced notes

This prompt is a deliberate security feature. Repository metadata changes indicate significant updates (like major Debian releases), and APT requires confirmation to ensure you are aware. If you see this prompt frequently from the official Debian repositories, it usually means a new stable release has been published and your system is transitioning to the previous release's branch. This is normal and safe to accept. For third-party repositories that change metadata unexpectedly, investigate the repository before accepting—it could indicate a compromise or migration. You can reset or review APT's configuration in /etc/apt/apt.conf.d/ if needed.

Frequently asked questions

What does "Do you want to accept these changes and continue updating from this re" mean?
APT prevents automatic updates when repository metadata changes significantly. 5, requires you to confirm that you understand and accept changes like a distribution moving from "stable" to "oldstable" or a company name change in the Origin field. This protects you from unknowingly applying major version changes without awareness.
How do I fix "Do you want to accept these changes and continue updating from this re"?
APT prompts this when a repository changes metadata like Suite or Origin, typically during major Debian releases. Accept the changes to continue updates.
What causes "Do you want to accept these changes and continue updating from this re"?
A Debian major release occurred and old releases moved to "oldstable" (most common: Debian 10→11, 11→12) Repository owner changed company name (e.g., Google Inc. → Google LLC) Repository migrated to new servers or changed its Origin URL
Is the "Do you want to accept these changes and continue updating from this re" error serious?
It is a low-severity error — more of a blocker than a risk. The steps above resolve it.

Official resources & further reading