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 .pyz file in the Downloads folder. It detects the duplicate entries and deactivates the duplicate apt source entries from /etc/sources.list and /etc/sources.list.d/*.list.

Open your terminal (ctrl+alt+t) and navigate to the Downloads folder.

cd Downloads

Then run below command.

sudo chmod +x ~ aptsources-cleanup.pyz

Enter your Ubuntu password. Then in Terminal app and type the below command

sudo python3 -OEs aptsources-cleanup.pyz

Follow the on screen instructions and confirm the changes. It will solve all all these problems. If still you get the error just restart your PC and try to update your Ubuntu software via Software Updater.

Also Read:  Turn Your Terminal into Fake Hollywood Hacking Screen

Watch Video:

Problem with MergeList/package lists or status file could not be parsed or opened:

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.

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



This Post Has 2 Comments

  1. Paul Williams

    So many ways I cannot repay you, but please accept my humble THANK YOU SO VERY MUCH!

  2. Ojaytheone

    awesome!!

Leave a Reply