cannot update parrot

Hi,
(1) I cant update my system via apt-get update I got following error :
Get:1 http://deb.parrotsec.org/parrot stable InRelease [14.6 kB]
Get:2 http://deb.parrotsec.org/parrot stable/main amd64 Packages [16.8 MB]
Hit:3 https://deb.opera.com/opera-stable stable InRelease
Get:4 http://deb.parrotsec.org/parrot stable/main i386 Packages [16.7 MB]
Get:5 http://deb.parrotsec.org/parrot stable/contrib i386 Packages [127 kB]
Get:6 http://deb.parrotsec.org/parrot stable/contrib amd64 Packages [133 kB]
Get:7 http://deb.parrotsec.org/parrot stable/non-free i386 Packages [167 kB]
Get:8 http://deb.parrotsec.org/parrot stable/non-free amd64 Packages [191 kB]
Fetched 34.2 MB in 1min 26s (399 kB/s)
Reading package lists… Done
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (contrib/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Translations (contrib/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (contrib/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Translations (contrib/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1

(2) Can someone give me /etc/apt/sources.list.d/parrot.list file and /etc/apt/sources.list please
Thank u

How to fix this error message generated when using the terminal command sudo apt update -->> W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/parrot.list:1

Step 1: Select "Repositories from the “Settings” drop-down menu in Synaptic Package Manager.

Step 2: Copy all entries and their settings in the repositories list to a text file. Next, delete any duplicate entrries.

Step 3: Select “Reload Package Information” from the “Edit” drop-down menu. No errors should be returned. If errors are returned, restore the repositories list to its original state and try deleting duplicate entries again. Lather, rinse and repeat until your repository list is “clean”.

Step 4: Close Synaptic Package Manager, open a terminal and run the “sudo apt update” command. No errors should be returned.

Source: https://askubuntu.com/questions/760896/how-can-i-fix-apt-error-w-target-packages-is-configured-multiple-times

I encountered this for [Ubuntu] 18.10. I used Synaptic to check the repositories and then deleted the ones I thought were duplicates. Result: no more error messages.
share/improve this answer
answered Dec 24 '18 at 4:39
rob grune https://askubuntu.com/users/125080/rob-grune
538149