Is there a command line to find and delete duplicated entries in the /etc/apt/sources.list file?
or
is this possible via synaptic perhaps?
|
Is there a command line to find and delete duplicated entries in the or is this possible via synaptic perhaps? |
||||
|
|
|
For Ubuntu 12.04 Graphically: Press Alt + F2 and paste
If you need a command line option, here it is:
The command do this:
|
||||
|
|
|
For Ubuntu 9.10 - 12.04 There is an app called Y-PPA-Manager which can do that and much more. You can install it like that from a Terminal:
After that, just start the application an go to the Advanced menu.
Then select "Scan and remove duplicate PPAs" and hit OK.
|
||||
|
|
|
Install ubuntu-tweak and remove the duplicate entries from there,it will be easy for you..
|
||||
|
|
10.10 and EarlierApplications > Ubuntu Software Center > Edit > Software Sources > Other Software** OR System > Administration > Synaptic Packet Manager > Settings > Repositories**
Select and Remove duplicate entries. |
||||
|
|
|
Read this post: http://www.liberiangeek.net/2012/04/fix-duplicate-sources-list-entry-errors-in-ubuntu-12-04-precise-pangolin/ |
|||||||
|
|
I try to complete the possibilities offered from other users using terminal, since that's what you asked, mainly: login if you're using a text based install or Press alt+f2 and digit gnome-terminal if you're using GUI once there digit sudo nano /etc/apt/sources.list (To understand better: in the folder /etc you can find (nearly) all configuration files of your computer and in the apt folder you find the souces.list file that contains all the repositories that apt-get uses to update or install and upgrade software) edit visually the file removing or commenting with # the duplicated rows. Press control + x to exit and choose y to save the file n to quit without saving. Done that check your work with an update: sudo apt-get update Have fun! |
|||
|
|
No, there isn't a single command line to find and delete duplicated entries in the This is because the suggested command lines, which merely duplicate the function of the much simpler built-in Duplicate entries reported by However, it should be noted that |
||||
|
|