Saturday, October 25, 2008

Recuperando o Aptitude / Apt-get de uma instalação cancelada

Aptitude / Apt-get


Erro ao tentar usar o aptitude ou apt-get:

...
Writing extended state information... Error!
E: I wasn't able to locate a file for the PACKAGE_NAME package. This might mean you need to manually fix this package. (due to missing arch)
...

Removendo manualmente o pacote (PACKAGE_NAME):
  • sudo dpkg --force-remove-reinstreq --remove PACKAGE_NAME



Erro "BADSIG":
  • apt-get update -o Acquire::http::No-Cache=True


Referências: