1

I realize this question has been asked multiple times and I've browsed through the answers and tried out the suggestions in them as good as I could. Still, the problem remains.

Since some replies to the question suggest to copy&paste the result of sudo apt-get update, I add it here, with the links it lists deleted since my reputation isn't good enough to be allowed posting more than two of those.

Hit:1 http://archive.canonical.com/ubuntu lucid InRelease
Hit:2
Hit:3
Hit:4
Hit:5
Ign:6
Hit:7
Hit:8
Hit:9
Reading package lists... Done                      
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4
W: Target Translations (partner/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4
W: Target Translations (partner/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4
W: Target DEP-11 (partner/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4
W: http://archive.canonical.com/ubuntu/dists/lucid/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4
W: Target Translations (partner/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4
W: Target Translations (partner/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4
W: Target DEP-11 (partner/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4

Any help is greatly appreciated.

Videonauth
  • 33,815
guf
  • 53

1 Answers1

1

Open a terminal (ctrl+alt+t) and do the following to fix your sources lists problem:

sudo rm /etc/apt/sources.list.d/maverick-partner.list
sudo rm /etc/apt/sources.list.d/lucid-partner.list

This will remove those old files which cause you an error, and probably did already cause you an error before you updated.

You might as well make sure your /etc/apt/sources.list contains proper links too. Below i post you a version of the 16.04 LTS sources list which has all package sources enabled. Just do sudo nano /etc/apt/sources.list and replace the content with the following block:

#deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
#deb http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner

You can delete the content of the file quickly when you place the cursor on the first line start and press ctrl+k until all lines are gone, then you copy the block here and paste it into the file with ctrl+shift+v. I simply condensed the whole file into a few lines so it would not take a lot of space here. Other thing you can do is, checking if the lines which contain http in the sources.list all mentioning xenial as version word.

After you done that, end your editing by ctrl+x, press y to save and return to confirm the file name.

After that run a sudo apt-get update && sudo apt-get dist-upgrade and then use simply the GUI tools provided to change the repositories you want to have switched on.

Videonauth
  • 33,815