i am getting this error messege'sudo' is not known on line 60 in source list /etc/apt/sources.list

Asked by Geoff S

i am new to ubuntu and so far am loving it but at hm today and was attempting to install some software and got the following error messege when i typed the "sudo apt get update" :'sudo' is not known on line 60 in source list /etc/apt/sources.list how can i resolve this

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu qtoctave Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
George Standish (george-standish-deactivatedaccount) said :
#1

There is a problem on line 60 of the file /etc/apt/sources.list -- i'm guessing it has a "sudo" written in there and it shouldn't.

You can open source.list by running "gksu gedit /etc/apt/sources.list", after entering your password, click on Search then "Go to Line Number", enter 60.

Verify that the line doesn't looks like the other lines starting with deb or deb-src most likely. If you can't figure it out you could just put a "#" at the front of the line and it will be ignored.

If you can't figure it out you could paste your sources.list into a reply and we could have a look at it.

Best of luck.

Can you help with this problem?

Provide an answer of your own, or ask Geoff S for more information if necessary.

To post a message you must log in.