update output

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
shoio
Level 1
Level 1
Posts: 2
Joined: Tue Aug 07, 2018 6:44 pm

update output

Post by shoio » Sat Aug 18, 2018 4:03 pm

When I update my system it gives me the following output:

Code: Select all

Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Atingido:2 https://apt.dockerproject.org/repo ubuntu-xenial InRelease          
Ign:3 http://packages.linuxmint.com sonya InRelease                            
Atingido:4 http://dl.google.com/linux/chrome/deb stable Release                
Atingido:6 http://security.ubuntu.com/ubuntu xenial-security InRelease         
Atingido:7 http://archive.ubuntu.com/ubuntu xenial InRelease                   
Atingido:8 http://archive.canonical.com/ubuntu xenial InRelease                
Atingido:9 http://ppa.launchpad.net/audacity-team/daily/ubuntu xenial InRelease
Atingido:10 http://packages.linuxmint.com sonya Release                        
Atingido:11 http://archive.ubuntu.com/ubuntu xenial-updates InRelease          
Atingido:13 https://deb.nodesource.com/node_6.x xenial InRelease               
Atingido:14 https://download.sublimetext.com apt/stable/ InRelease             
Atingido:15 http://archive.ubuntu.com/ubuntu xenial-backports InRelease        
Atingido:16 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial InRelease
Atingido:17 http://ppa.launchpad.net/dobey/audiotools/ubuntu xenial InRelease  
Atingido:18 http://ppa.launchpad.net/kivy-team/kivy-daily/ubuntu xenial InRelease
Atingido:19 http://ppa.launchpad.net/kivy-team/kivy/ubuntu xenial InRelease    
Atingido:20 http://ppa.launchpad.net/nemh/systemback/ubuntu xenial InRelease   
Atingido:21 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease
Atingido:22 http://ppa.launchpad.net/noobslab/apps/ubuntu xenial InRelease     
Atingido:23 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease         
Atingido:24 http://ppa.launchpad.net/teejee2008/ppa/ubuntu xenial InRelease    
Atingido:25 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease  
Lendo listas de pacotes... Pronto
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/additional-repositories.list:2
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/additional-repositories.list:2
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/additional-repositories.list:2
W: Target Translations (main/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target Translations (main/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
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/additional-repositories.list:2
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/additional-repositories.list:2
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/additional-repositories.list:2
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/additional-repositories.list:2
W: Target Translations (main/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target Translations (main/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
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/additional-repositories.list:2
Any help?

User avatar
karlchen
Level 19
Level 19
Posts: 9204
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: update output

Post by karlchen » Sat Aug 18, 2018 4:21 pm

Hello, shoio.

All the warnings, which you posted, point to one single file: /etc/apt/sources.list.d/additional-repositories.list
This sources list file holds one or more duplicated lines, i.e. lines having identical content.
The software management system does not like duplicates.

Please, open a terminal window. Execute the command

Code: Select all

cat /etc/apt/sources.list.d/additional-repositories.list
Mark the complete output, which the command cat will display, and paste it into your next reply.

The content of the file /etc/apt/sources.list.d/additional-repositories.list will reveal which entries are present more than once.
The solution will be eliminating the duplicated lines from the file /etc/apt/sources.list.d/additional-repositories.list.

Regards,
Karl
Image
Linux Mint 18.1 64-bit Cinnamon Desktop, Total Commander 9.21a 64-bit
Ubuntu 18.04.1 32-bit Mate Desktop, Total Commander 9.21a 32-bit
Windows? - 1 window in every room

gm10
Level 9
Level 9
Posts: 2769
Joined: Thu Jun 21, 2018 5:11 pm

Re: update output

Post by gm10 » Sat Aug 18, 2018 4:56 pm

Or just run this for automatic cleanup of duplicates:

Code: Select all

F=/etc/apt/sources.list.d/additional-repositories.list;cat <(sort $F)|uniq|sudo tee $F
Maybe I should submit this as a patch to mintsources > Maintenance, seems to be happening so often...

User avatar
Pjotr
Level 20
Level 20
Posts: 10797
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: update output

Post by Pjotr » Sat Aug 18, 2018 6:49 pm

gm10 wrote:
Sat Aug 18, 2018 4:56 pm
Or just run this for automatic cleanup of duplicates:

Code: Select all

F=/etc/apt/sources.list.d/additional-repositories.list;cat <(sort $F)|uniq|sudo tee $F
Maybe I should submit this as a patch to mintsources > Maintenance, seems to be happening so often...
Cool! Please do that.
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

gm10
Level 9
Level 9
Posts: 2769
Joined: Thu Jun 21, 2018 5:11 pm

Re: update output

Post by gm10 » Sat Aug 18, 2018 11:48 pm

Pjotr wrote:
Sat Aug 18, 2018 6:49 pm
gm10 wrote:
Sat Aug 18, 2018 4:56 pm
Maybe I should submit this as a patch to mintsources > Maintenance, seems to be happening so often...
Cool! Please do that.
Done:
mintsources-duplicates.png
https://github.com/linuxmint/mintsources/pull/123

User avatar
Pjotr
Level 20
Level 20
Posts: 10797
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: update output

Post by Pjotr » Sun Aug 19, 2018 4:06 am

@gm10: thanks! :)
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Post Reply

Return to “Software & Applications”