Quando tento instalar ou atualizar qualquer pacote, recebo:
Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.
Eu suspeito fortemente que isso esteja relacionado ao erro que recebo na atualização:
$ sudo aptitude update
Get: 1 http://ftp.us.debian.org wheezy InRelease [208 kB]
Get: 2 http://debian.lcs.mit.edu wheezy InRelease [208 kB]
Ign http://ftp.us.debian.org wheezy InRelease
Hit http://ftp.us.debian.org wheezy/main amd64 Packages/DiffIndex
Hit http://ftp.us.debian.org wheezy/contrib amd64 Packages/DiffIndex
Hit http://ftp.us.debian.org wheezy/non-free amd64 Packages/DiffIndex
Hit http://ftp.us.debian.org wheezy/contrib Translation-en
Hit http://ftp.us.debian.org wheezy/main Translation-en
Hit http://ftp.us.debian.org wheezy/non-free Translation-en
Get: 3 http://debian.lcs.mit.edu wheezy-updates InRelease [116 kB]
Ign http://debian.lcs.mit.edu wheezy InRelease
Ign http://debian.lcs.mit.edu wheezy-updates InRelease
Hit http://debian.lcs.mit.edu wheezy/main Sources/DiffIndex
Hit http://debian.lcs.mit.edu wheezy/main amd64 Packages/DiffIndex
Hit http://debian.lcs.mit.edu wheezy/main Translation-en
Ign http://ftp.us.debian.org wheezy/contrib Translation-en_US
Ign http://debian.lcs.mit.edu wheezy-updates/main Sources/DiffIndex
Ign http://debian.lcs.mit.edu wheezy-updates/main amd64 Packages/DiffIndex
Ign http://ftp.us.debian.org wheezy/main Translation-en_US
Ign http://ftp.us.debian.org wheezy/non-free Translation-en_US
Hit http://debian.lcs.mit.edu wheezy-updates/main Sources
Hit http://debian.lcs.mit.edu wheezy-updates/main amd64 Packages
Ign http://debian.lcs.mit.edu wheezy/main Translation-en_US
Ign http://debian.lcs.mit.edu wheezy-updates/main Translation-en_US
Ign http://debian.lcs.mit.edu wheezy-updates/main Translation-en
Fetched 531 kB in 1s (304 kB/s)
W: GPG error: http://ftp.us.debian.org wheezy InRelease: Unknown error executing gpgv
W: GPG error: http://debian.lcs.mit.edu wheezy InRelease: Unknown error executing gpgv
W: GPG error: http://debian.lcs.mit.edu wheezy-updates InRelease: Unknown error executing gpgv
Eu tentei reinstalar o conjunto de chaves:
sudo aptitude reinstall debian-archive-keyring
(que surpreendentemente não causa um aviso).
apt
debian-wheezy
aptitude
gpg
user1794469
fonte
fonte
Respostas:
Tente isso por favor:
Abra um terminal e execute os seguintes comandos:
fonte
Depois de ler a resposta do APZ , mas querendo usar o aptitude , executei com sucesso os seguintes comandos:
O erro provavelmente está relacionado ao conteúdo obsoleto do cache do apt, mas a mensagem de erro que recebi foi um pouco diferente:
fonte
Você parece ser atingido pelo bug do Debian # 657561 . Você pode tentar mover os arquivos / var / lib / apt / lists problemáticos / * InRelease e executar novamente a atualização do apt-get.
fonte
rm -r /var/lib/apt/lists/*