Originally Posted by herakles_14
It did not make a difference.
I think we're having a communications and/or path problem
<enter your password when promted>
Now, let's make a backup copy of your sources.list file just so we have a square one to go back to if we need to.
cp -p ./sources.list ./working.sources.list
OK..the suggestion earlier in this thread (by goumba) is a good one, but I think you got confused by his example. Here's a more explicit instruction set which should address your particular issue.
As goumba suggested, let's use the sort -u command (sort unique) to output to a new file:
sort -u ./sources.list > ./sorted.sources.list
A quick check to see if the new file (sorted.sources.list) is smaller than the original (which it should be if we eliminated duplicate entries)
ls -lah |grep sources
This should output at least three lines, one each for sources.list, working.sources.list, and sorted.sources.list
IF sorted.sources.list is smaller in size than sources.list, we're probably OK to overwrite and try it (remembering that we have a backup copy of the original)
mv ./sorted.sources.list ./sources.list
Then try to do an
If that works without getting the errors you were getting before, you've done it.