+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
+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
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.
Thanks a lot, I have the same problem and solved following your method~
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.
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")
Hi Wim
Something that may help in future searches
http://www.googlubuntu.com/results/?...ch&cof=FORID:9
And welcome to the forums
Bookmarks