• We did not send an email asking for donations - please read this post.

Update Error Messages

jc1829b

New Member
Joined
Jul 20, 2022
Messages
2
Reaction score
0
Credits
52
Linux Mint 20.3 Cinnamon
Version 5.2.7
Linux Kernal 5.4.0-122generic

Presently every time I attempt system updates as directed by the System Update utility, I receive a host of error messages:

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/winehq-focal.sources:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/winehq-focal.sources:1
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/winehq-focal.sources:1
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/winehq-focal.sources:1
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/winehq-focal.sources:1
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/winehq-focal.sources:1
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/winehq-focal.sources:1
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/winehq-focal.sources:1
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/winehq-focal.sources:1
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/winehq-focal.sources:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/winehq-focal.sources:1
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/winehq-focal.sources:1
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/winehq-focal.sources:1
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/winehq-focal.sources:1
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/winehq-focal.sources:1
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/winehq-focal.sources:1
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/winehq-focal.sources:1
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/winehq-focal.sources:1

I am running Wine 7.0 on my system for downloading of Windows-based programs only. Uncertain WHY(?) I'm getting these error messages and HOW(?), if necessary, to I rectify them?
 


f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
4,967
Reaction score
3,613
Credits
36,207
Open a terminal and share the output of the following commands.
Code:
cat /etc/apt/sources.list.d/additional-repositories.list
cat /etc/apt/sources.list.d/winehq-focal.sources
 
OP
jc1829b

jc1829b

New Member
Joined
Jul 20, 2022
Messages
2
Reaction score
0
Credits
52
Open a terminal and share the output of the following commands.
Code:
cat /etc/apt/sources.list.d/additional-repositories.list
cat /etc/apt/sources.list.d/winehq-focal.sources
cat /etc/apt/sources.list.d/additional-repositories.list
- response: deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
cat /etc/apt/sources.list.d/winehq-focal.sources
- response:
Types: deb
URIs: https://dl.winehq.org/wine-builds/ubuntu
Suites: focal
Components: main
Architectures: amd64 i386
Signed-By: /usr/share/keyrings/winehq-archive.key
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
4,967
Reaction score
3,613
Credits
36,207
Both those repos source files have the same source url, remove one of those two sources files and it will stop complaining about the same source being used multiple times.
 
Last edited:

bob466

Well-Known Member
Joined
Oct 22, 2020
Messages
644
Reaction score
453
Credits
4,724
You can fix this in Software Sources...
Click on Update Manager...Edit...Software sources...Enter password...Maintenance...on right click...Remove Duplicate Entries.
happy0034.gif
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Staff online

Members online


Top