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.
I don't quite see where I should investigate next. Could someone help?
/etc/apt/sources.list
file that are also specified in files inside the/etc/apt/sources.list.d/
directory - theW:
messages tell you which those are) and see if it makes any difference. – steeldriver Jun 21 '17 at 16:35$ sudo apt-get update Get:1 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease [17,5 kB] Hit:2 http://ca.archive.ubuntu.com/ubuntu xenial InRelease Hit:3 http://archive.canonical.com/ubuntu xenial InRelease Ign:4 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 InRelease Hit:5 http://ppa.launchpad.net/teejee2008/ppa/ubuntu xenial InRelease
– BenoitA Jun 21 '17 at 19:59Hit:6 http://ca.archive.ubuntu.com/ubuntu xenial-security 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:1 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease Ign:9 http://dl.google.com/linux/talkplugin/deb stable InRelease Hit:10 http://dl.google.com/linux/chrome/deb stable Release Hit:11 http://dl.google.com/linux/talkplugin/deb stable Release Fetched 17,5 kB in 0s (24,0 kB/s) Reading package lists... Done
– BenoitA Jun 21 '17 at 20:01W: 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.
– BenoitA Jun 21 '17 at 20:01sudo apt-get --purge remove update-manager
and other variants, but I get the exact same output, that archive files are missing. – BenoitA Jun 21 '17 at 20:04