Well I am mentioning the following solution and I hope it will help you to overcome from this situation. You have to take backup of the all the information from the sources.list file. You can achieve the same using the following piece of the code.
Code:
sudo cp /etc/apt/sources.list /etc/apt/sources.list-backup
. Now use the following piece of the code on the terminal.
Code:
gksudo gedit /etc/apt/sources.list
It will allow you to launch the file to edit. Please let me know if the above mentioned solution worked for you or not. If you are having any query about the solution then please feel free to ask.
Bookmarks