não pode sudo apt-get update

0

Eu tentei reinstalar o pip, mas parece haver um problema com a localização de alguns arquivos relacionados ao gerenciador de atualização.

sudo apt-get install python-pip
[sudo] password for benoit: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package update-manager needs to be reinstalled, but I can't find an archive for it.

E então recebo o seguinte de uma tentativa de atualizar o gerenciador de atualização de pacotes.

$ sudo apt-get update
    Hit:1 http://archive.canonical.com/ubuntu xenial InRelease
    Get:2 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease [17,5 kB]            
    Hit:3 http://ca.archive.ubuntu.com/ubuntu xenial InRelease                                          
    Hit:4 http://ca.archive.ubuntu.com/ubuntu xenial-security InRelease                                 
    Hit:5 http://ppa.launchpad.net/teejee2008/ppa/ubuntu xenial InRelease                               
    Ign:6 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 InRelease                           
    Hit:7 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release  
    Ign:8 http://dl.google.com/linux/chrome/deb stable InRelease            
    Ign:9 http://dl.google.com/linux/earth/deb stable InRelease
    Ign:10 http://dl.google.com/linux/talkplugin/deb stable InRelease
    Ign:2 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease
    Hit:11 http://dl.google.com/linux/chrome/deb stable Release
    Hit:12 http://dl.google.com/linux/earth/deb stable Release
    Hit:15 http://dl.google.com/linux/talkplugin/deb stable Release
    Fetched 17,5 kB in 0s (29,9 kB/s)                 
    Reading package lists... Done
    W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list.d/google-chrome.list:3
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list.d/google-chrome.list:3
    W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list.d/google-chrome.list:3
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list.d/google-chrome.list:3
    W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list.d/google-chrome.list:3
    W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list.d/google-chrome.list:3
    W: GPG error: http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3BDAAC08614C4B38
    W: The repository 'http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease' is not signed.
    N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list.d/google-chrome.list:3
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list.d/google-chrome.list:3
    W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list.d/google-chrome.list:3
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list.d/google-chrome.list:3
    W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list.d/google-chrome.list:3
    W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:24 and /etc/apt/sources.list.d/google-chrome.list:3

Eu então tentei gerar novamente o arquivo source.list, o que não pareceu resolver o problema. Aqui está o meu arquivo source.list como está agora.

source.list

Eu não vejo bem onde devo investigar em seguida. Alguém poderia ajudar?

    
por BenoitA 21.06.2017 / 12:36

1 resposta

0

Tente instalar o pacote update-manager manualmente.

  1. Faça o download do pacote usando os links de aqui . Você pode escolher qualquer um, mas seria preferível usar o do seu país.

  2. Instale executando dpkg -i /file/you/downloaded

Se houver algum erro, por favor poste-o em um comentário.

    
por user689314 21.06.2017 / 20:22