edit apt files

Jim azanorak at gmail.com
Tue Nov 29 15:23:00 MST 2022


This is one I might be able to help with since I had this same problem 
not long ago.  Here's part of that first error that was in your post.

iTarget 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

According to the line above,  iTarget Packages 
(main/binary-amd64/Packages)is listed in 
/etc/apt/sources.list.d/additional-repositories.list and in 
/etc/apt/sources.list.d/google-chrome.list.  It should only be in one file.

When I had this problem come up, I edited one of the files mentioned in 
the error messages, and saved the file.  I did the same for the other 
items it said were in there in multiple files. When I was done I ran 
sudo apt-get update.

Can anyone else tell me and Michael if there's anything important I missed?



On 11/29/22 10:47, Michael via PLUG-discuss wrote:
> I get the following errors while updating:
> [code]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[/code]
>
> 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~(-:
>
> ---------------------------------------------------
> PLUG-discuss mailing list:PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20221129/aad9f81d/attachment.htm>


More information about the PLUG-discuss mailing list