Language: EN


How to resolve the error apt get stable oldstable

Rarely, when we go to update the packages with APT, we will encounter the following message.

Repository 'xxxxxxx' changed its 'yyyyy' value from 'stable' to 'oldstable'

The most likely cause for this failure is that the repository has moved from one version to another. For example, as indicated by the error message I have posted, it has moved from the ‘Stable’ version to ‘oldstable’.

Until we fix this default failure, we will not be able to install new packages or update those that we already have installed from this repository.

Fortunately, it is easy to avoid this error message. First, we make sure that the warning message is acceptable and does not imply, for example, a real security flaw for our computer.

If we are sure that everything is correct, and that we want to accept the changes, we use the following command.

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

In this simple way, we can finish updating the packages and continue working with APT as usual.