Rate this post

Last Updated on April 27, 2020 by Vikash Ekka

Target Packages (main/binary-amd64/Packages) is configured
Target Packages (main/binary-amd64/Packages) is configured


In this tutorial post we will try to fix “Target Packages (main/binary-amd64/Packages) is configured” on Ubuntu 20.04 LTS. If you have recently installed some packages/software’s like VSCode or Python, etc and after updating Ubuntu getting some this type of error in the terminals.

To fix the error first of all we do reset the repository by the following steps.


Reset your repositories like this:

IMPORTANT: First verify that you have software-properties-gtk installed (you can run software-properties-gtk -h to verify that you get a help-message)

Then, for safer side we will take a backup of sources.list file. To do so here I’m making a copy of sources.list file,

  1. sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak

  2. sudo software-properties-gtk

  3. Pick your options

  4. Save.

  5. Update Ubuntu

Once everything is working, you can then delete your backup with sudo rm -rf /etc/apt/sources.list.bak.

Do tick all option in Software and Updates.

W: Target Packages (main/binary-amd64/Packages) is configured multiple


Conclusion:-

This article will work on Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.Please let me know in this comment box if you are facing any kind of issue when applying above steps.

By Vikash Ekka

Hi All, My name is Vikash Ekka from India. I’m the founder and tech editor of https://www.vetechno.in. I have completed my Graduation in BCA. I love to write technical articles like Windows, Linux & MAC Tutorials, Tips, Tricks, How To fix, Tutorials About Ethical Hacking & Cyber Security Guide, and Software Review. Currently, I have been working as an IT professional since 2018.

Leave a Reply

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