Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Duplicate sources.list entry in ubuntu 12.04

  1. #11
    Join Date
    Sep 2006
    Beans
    6
    Distro
    Kubuntu 8.10 Intrepid Ibex

    Re: Duplicate sources.list entry in ubuntu 12.04

    +1
    Thnx for this fix, it worked. I had the same problem and removed these 2 double entries:

    deb http://archive.canonical.com/ubuntu precise partner
    deb-src http://archive.canonical.com/ubuntu precise partner

  2. #12
    Join Date
    Oct 2010
    Beans
    1

    Re: Duplicate sources.list entry in ubuntu 12.04

    S="/etc/apt/sources.list" ; S2="$S ${S}.d/*.list" ; grep -b "^deb`cat $S2 | grep -i "^deb[[:space:]]http" | sort | uniq -dc | sed -e 's;[[:space:]]\+[[:digit:]]\+[[:space:]]\+deb\(.\+$\);\1;g'`$" $S2
    Last edited by terdegstra; July 4th, 2012 at 12:54 AM.

  3. #13
    Join Date
    Oct 2012
    Beans
    1

    Re: Duplicate sources.list entry in ubuntu 12.04

    Thanks a lot, I have the same problem and solved following your method~

  4. #14
    Join Date
    Apr 2011
    Beans
    6

    Re: Duplicate sources.list entry in ubuntu 12.04

    hi,
    I have the same problem but I do not have this string in the file, so I do not know what to remove.

    sorry for confusion, I have found it and all works.
    Thank you.
    Last edited by Alex.Pi; January 8th, 2013 at 09:36 PM.

  5. #15
    Join Date
    Jul 2012
    Beans
    1

    Re: Duplicate sources.list entry in ubuntu 12.04

    Hello Ubuntu-guru,

    After several days of troubleshooting on this "Duplicate" problem I finality found your solution, and it worked.

    Thank you very, very much, regards,

    Wim Jansen - Hummelo (That's in "De Achterhoek")

  6. #16
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    5,003

    Re: Duplicate sources.list entry in ubuntu 12.04

    Hi Wim

    Something that may help in future searches

    http://www.googlubuntu.com/results/?...ch&cof=FORID:9

    And welcome to the forums

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •