Pregunta:
Cuando ejecuto apt-get update
en mi ubuntu 17.10, recibo el siguiente error:
E: Repository 'http://ppa.launchpad.net/ondrej/php/ubuntu artful InRelease' changed its 'Label' value from '*****
The main PPA for PHP (5.6, 7.0, 7.1) with many PECL extensions *****' to '*****
The main PPA for supported PHP versions with many PECL extensions *****'
N: This must be accepted explicitly before updates for this repository can be applied.
See apt-secure(8) manpage for details."
La página de manual realmente no apunta a una solución. Mi pregunta es, ¿cómo acepto explícitamente el cambio?
Respuesta:
Sería útil si publicara sus repositorios, pero, dicho esto, tiene 2 formas de solucionar este problema.
Primero sería usar apt
lugar de apt-get
. apt
es preferible a apt-get
para uso interactivo en las últimas versiones de Ubuntu; y, en teoría, apt
debería solucionar este problema.
sudo apt update
sudo apt upgrade
Su segunda opción es usar --allow-releaseinfo-change
sudo apt-get update --allow-releaseinfo-change
Si esas opciones no resuelven el problema, publique sus repositorios, ¿está utilizando repositorios mixtos o anclado y, finalmente, díganos si se trata de una actualización?