[Solved] packages configured multiple times and can't tell which

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
User avatar
ineuw
Level 4
Level 4
Posts: 244
Joined: Sun Nov 13, 2016 12:27 am
Location: Canada

[Solved] packages configured multiple times and can't tell which

Post by ineuw » Tue Jun 12, 2018 3:30 pm

Sorry for this long post but I can't tell which is a duplicate, so I posted the message and the contents of the files. Can someone please point out which is the duplicate?

ineuw@lm183x64 ~ $ inxi -Sz
System: Host: lm183x64 Kernel: 4.13.0-45-generic x86_64 (64 bit)
Desktop: Cinnamon 3.6.7 Distro: Linux Mint 18.3 Sylvia

message from update

Code: Select all

W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/official-package-repositories.list:8
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/official-package-repositories.list:8
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/official-package-repositories.list:8
W: Target Translations (partner/i18n/Translation-en_CA) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/official-package-repositories.list:8
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/official-package-repositories.list:8
sources list

Code: Select all

#------------------------------------------------------------------------------#
#                            OFFICIAL UBUNTU REPOS                             #
#------------------------------------------------------------------------------#

###### Ubuntu Main Repos
deb http://ca.archive.ubuntu.com/ubuntu/ xenial main restricted universe 
deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial main restricted universe 

###### Ubuntu Update Repos
deb http://ca.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe 
deb http://ca.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe 
deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe 
deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe 

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner

official-package-repositories.list

Code: Select all

deb http://packages.linuxmint.com sylvia main upstream import backport 

deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ xenial partner
Last edited by ineuw on Tue Jun 12, 2018 3:59 pm, edited 1 time in total.
Windows 10 and Linux Mint 19v2 Cinnamon 16gb RAM and a Macbook 3.1 laptop, 64bit 4gb RAM.

User avatar
richyrich
Level 18
Level 18
Posts: 8963
Joined: Mon May 04, 2009 8:31 pm

Re: packages configured multiple times and can't tell which

Post by richyrich » Tue Jun 12, 2018 3:52 pm

Keep the official-package-repositories.list and delete the whole sources.list file. They are all dupes of the official list.

Post Reply

Return to “Newbie Questions”