0

I tried to reinstall pip but there seems to be a problem with the location of some files related to the update manager.

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.

And then I get the following from an attempt to update the package update manager.

$ 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

I then tried to regenerate the source.list file, which didn't seem to solve the problem. Here's my source.list file as it is now.

source.list

I don't quite see where I should investigate next. Could someone help?

1 Answers1

0

Try installing the update-manager package manually.

  1. Download the package using on of the links from here. You can choose any one, but it would be preferable to use the one for your country.

  2. Install by running dpkg -i /file/you/downloaded

If there are any errors, could you please post them in a comment.