[SOLVED] edit apt

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

[SOLVED] edit apt

Post by bmike1 »

I get the following errors while updating:

Code: Select all

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 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.d/additional-repositories.list:1 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.d/additional-repositories.list:1 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.d/additional-repositories.list:1 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.d/additional-repositories.list:1 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/google-chrome.list:3
Is there an easy way to fix this or will I have to go into the individual files and find the multiple configuration? Will I have to edit them with visudo or something like that?
--
:-)~MIKE~(-:
Last edited by LockBot on Mon May 29, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
:)~Mikey~(:
t42
Level 11
Level 11
Posts: 3717
Joined: Mon Jan 20, 2014 6:48 pm

Re: edit apt

Post by t42 »

Menu -> Administration -> Software Sources -> Maintenance -> Remove dublicate entries button
-=t42=-
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

Re: edit apt

Post by bmike1 »

thank you so much
:)~Mikey~(:
Locked

Return to “Beginner Questions”