Não é possível atualizar pacotes - ou “Falha ao baixar arquivos de pacotes. Verifique a internet… ”ou“ requer instalação de fontes não autenticadas ”

2

Eu consegui isso primeiro

Failed to download package files. Check internet connection

erro e tentei o solução que parece funcionar para a maioria dos outros que tiveram o mesmo problema ... alterando o local de download. Eu tentei vários servidores diferentes sem efeito. Eu também tentei a segunda solução no link acima (ter que fazer um novo arquivo de lista de fontes).

Mais recentemente, o erro foi "instalação requer instalação de fontes não autenticadas". A primeira solução em este post é o mesmo que a segunda solução do primeiro link acima e não faz diferença na minha situação. Antes de começar a adicionar chaves públicas ou qualquer outra solução, concluí que seria melhor publicar minha saída especificamente e ver o que a comunidade tem a dizer.

Aqui está minha saída para apt-get update .

Aqui está a minha saída para apt-get upgrade .

Eu não tenho uma reputação alta o suficiente para postar mais de dois links, então aqui está a saída para /etc/apt/sources.list diretamente:

~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted #Added by software-properties

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe multiverse #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe main multiverse restricted #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse #Added by software-properties

deb http://us.archive.ubuntu.com/ubuntu/ trusty-security main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-security universe main multiverse restricted #Added by software-properties
deb http://us.archive.ubuntu.com/ubuntu/ trusty-security universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main

## added myself -- http://stackoverflow.com/questions/29630434/graphviz-installation-ubuntu-14-04
deb http://security.ubuntu.com/ubuntu lucid-security main
deb http://cz.archive.ubuntu.com/ubuntu lucid main
deb http://repository.spotify.com stable non-free
# deb-src http://repository.spotify.com stable non-free
# deb-src http://repository.spotify.com stable non-free
deb http://us.archive.ubuntu.com/ubuntu/ trusty-proposed multiverse restricted universe main
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-proposed multiverse restricted universe main #Added by software-properties

Com base no 6º erro da parte inferior da saída para apt-get update , parece que pelo menos um dos problemas é a incapacidade de autenticar algum pacote da Nvidia (provavelmente o repositório cuda que eu instalei de qualquer forma agora - foi que terrivelmente estúpido da minha parte fazer isso?).

Não sei o que fazer a seguir e gostaria de receber orientações. Agradecemos antecipadamente.

    
por aweeeezy 23.11.2016 / 20:04

1 resposta

0
  • Não sei por que você adiciona o repositório lucid ao trusty, mas de qualquer forma já deve saber o que está fazendo. O Lucid chega ao seu EndOfLife e seu repositório foi movido para o link então altere essa linha para:

    deb http://old-releases.ubuntu.com/ubuntu lucid-security main
    deb http://old-releases.ubuntu.com/ubuntu lucid main
    
  • Para o segundo erro sobre a autenticação do pacote cuda, seu sistema está ausente da chave pública GPG do nvidia, adicione-o usando

    wget -q http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/7fa2af80.pub -O- | sudo apt-key add -
    
por user.dz 25.11.2016 / 15:51