List of sources could not be read

Asked by fritzed

fritzed@fritzed-desktop:~$ sudo apt-get update
E: Type '--20:48:40--' is not known on line 1 in source list /etc/apt/sources.list.d/medibuntu.list

Must have very specific instructions to correct

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Gord Allott
Solved:
Last query:
Last reply:
Revision history for this message
Ralph Janke (txwikinger) said :
#1

Thanks for the question.

There is an unexpected line in your list.

open up the file under root permissions, i.e.

sudo nano /etc/apt/sources.list.d/medibuntu.list

from a commandline terminal (you get use another editor then nano if you prefer).

Either add # in front of the first line, or delete the first line.

If you need more help, please paste the contents of the file here, and we can tell you more concrete how to handle the file.

Hope this helps.

Revision history for this message
fritzed (efritz) said :
#2

Thanks for your quick response. Unfortunately, I will need even more basic help.i.e. 1. how do I open up the file under room permissions?? 2. how do I get to commandline in terminal??

Revision history for this message
fritzed (efritz) said :
#3

oops typo...."root permissions" not "room"

Revision history for this message
Best Gord Allott (gordallott) said :
#4

fritzed, press alt+f2, a small window should popup. in that type this:
"gksudo gedit /etc/apt/sources.list.d/medibuntu.list"

without the quote marks and press okay. you should now have a text file open with "--20:48:40--" written at the top. you can delete that line or put a # at the start of it. save it and try sudo apt-get update again :)

Revision history for this message
fritzed (efritz) said :
#5

Problem is now resolved.
Thanks
Fritzed

Revision history for this message
HavardH72 (havard-drytech) said :
#6

I erased all lines in the medibuntu.list file to make it work again.
Don't know what really happened.

Strange!!