How to solve W: Target Packages … is configured multiple times error in ubuntu

The “W: Target Packages … is configured multiple times error” is caused because of duplicate apt source entries in your ubuntu. It will break ubuntu update function. To solve this you need to remove the duplicate entry from your ubuntu source list.

Solve the ubuntu broken update problem: (W: Target Packages … is configured multiple times)

Download apt-remove-duplicate-source-entries python script from David Foerster as a zip file. It detects the duplicate entries and deactivates the duplicate apt source entries from /etc/sources.list and /etc/sources.list.d/*.list.
And extract it. Then move the

apt-remove-duplicate-source-entries.py

file to desktop.

Then open the Terminal app and type the below command

cd Desktop

And then type the below command.

sudo ./apt-remove-duplicate-source-entries.py

Restart your PC and try to update your ubuntu software via Software Updater.

If you get the “Problem with MergeList” or “package lists or status file could not be parsed or opened.” error, Then in your terminal app type the below command to remove the Merge List.

sudo rm -vf /var/lib/apt/lists/*

Then type the below command to generate a new list.

sudo apt-get update

Restart your ubuntu and try again to update you software.

SEE ALSO:   LiLi USB Creator 2.8.12 released

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *


*