How to remove duplicate sources list entry ubuntu?
For Ubuntu 12.04 Graphically: Press Alt + F2 and paste software-properties-gtk (or you can open “Software Center” then go to “Edit” > “Software Sources”). Go to tab “Other Software”, choose the duplicate entry and press the “Remove” button.
How do I add an entry to a source list?
Append new line of text to current sources. list file
- CLI echo “new line of text” | sudo tee -a /etc/apt/sources.list.
- GUI (Text Editor) sudo gedit /etc/apt/sources.list.
- Paste new line of text on new line at end of current sources. list text file in Text Editor.
- Save and close sources.list.
How to fix ” W : duplicate sources.list entry “?
deb http://archive.ubuntu.com/ubuntu precise main Here, it means, the repository is for binary packages, which are hosted in http://archive.ubuntu.com/ubuntu and this repository is for Ubuntu precise (12.04) and this repository contains the main (software which are officially supported by Canonical) component.
What does duplicate sources.list in Debian mean?
The sources.list file is actually several files: /etc/apt/sources.list, and files called something.list in the directory /etc/apt/sources.list.d. This message tells you that you have duplicate entries in those files: you have several lines pointing to the same source.
Where to delete duplicate entries in apt-get update?
However, it should be noted that apt-get update doesn’t only find duplicate entries via sources.list, but includes repository files located in /var/lib/apt/lists/. Deleting duplicate entries from there will only temporarily remove the apt-get update error messages if Ubuntu thinks it needs them, as the files will be automatically re-installed.
How to remove duplicate software in Ubuntu 12.04?
For Ubuntu 12.04. Graphically: Press Alt + F2 and paste software-properties-gtk (or you can open “Software Center” then go to “Edit” > “Software Sources”). Go to tab “Other Software”, choose the duplicate entry and press the “Remove” button.