lunes, 22 de febrero de 2016

Solución al Error E: then appstreamcli refresh > /dev/null; fi' Ubuntu 16.04 Alpha



Solución al Error E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi' 
 
En Ubuntu 16.04 Alpha



Si hacemos un apt-get update o cualquier otro comando relacionado con apt-get, y la Terminal nos muestra el siguiente mensaje de error:

Leyendo lista de paquetes... Hecho
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi'
E: Sub-process returned an error code


E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi' E: Sub-process returned an error code