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?
Mejor respuesta
Sería útil si publicaras tus repositorios, pero, dicho esto, tienes dos formas de arreglar esto.
Primero sería usar apt
en lugar de apt-get
. apt
se prefiere a apt-get
para uso interactivo en versiones recientes de Ubuntu; y apt
debería, en teoría, arreglar esto por ti.
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 anclados y, finalmente, díganos, ¿es esto una actualización?