On rare occasions when updating packages with APT, you may encounter the following message.
Repository ‘xxxxxxx’ changed its ‘yyyyy’ value from ‘stable’ to ‘oldstable’
The most likely cause for this error is that the repository has moved from one version to another. For example, as indicated by the error message I provided, it has moved from the ‘Stable’ version to ‘oldstable’.
Until we fix this error, we will not be able to install new packages or update the ones we already have installed from this repository.
Fortunately, it’s easy to avoid this error message. First, we make sure that the warning message is acceptable and does not represent, for example, a real security flaw for our system.
If we are sure everything is correct, and we want to accept the changes, we use the following command.
sudo apt-get update —allow-releaseinfo-change
In this simple way, we can complete the package update and continue working with APT normally.

