Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/restricted amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_restricted_binary-i386_Packages)
share|improve this question

marked as duplicate by Mitch, Rinzwind, Braiam, karel, minerz029 Dec 1 '13 at 6:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

1 Answer 1

You can build a default file following the procedure:

  1. Move older file

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

  2. Then open software-properties-gtk to build a new one. Type the below command in a terminal

    software-properties-gtk

In the window

Select all four catagory in Ubuntu Software tab

Select precise-security, precise-updates and precise-backports catagory in Updates tab.

Select Canonical partner and Intependent catagory from Other software tab.

That's it. Now you will have a new deafault error free sources.list file.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.