E: Malformed line 62 in source list /etc/apt/sources.list (URI) E: The list of sources could not be read.

Asked by MetungKP on 2011-05-30

I keep getting this each time I run aqn update:

E: Malformed line 62 in source list /etc/apt/sources.list (URI)
E: The list of sources could not be read.

Please, Help?

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Ian Ace
Solved:
2011-05-30
Last query:
2011-05-30
Last reply:
2011-05-30
Best Ian Ace (iaculallad) said : #1

Open your sources.list file:

gksudo gedit /etc/apt/sources.list

Scroll down to line 70 (you'll see a line counter in the bottom right-hand corner), and append # (hash symbol). Save and Close file.

Redo the update:

sudo apt-get update

HTH.

MetungKP (metungkp) said : #2

I've only got 65 lines.

Ian Ace (iaculallad) said : #3

I mean, scroll down to line 62.

MetungKP (metungkp) said : #4

Thanks Ian Ace, that solved my question.

MetungKP (metungkp) said : #5

Thanks! Ian

Nabin Kumar Yadav (nabin2jnk) said : #6

Open your sources.list file:

gksudo gedit /etc/apt/sources.list

Scroll down to line 70 (you'll see a line counter in the bottom right-hand corner), and append # (hash symbol). Save and Close file.

Redo the update:

sudo apt-get update

I tried to do the same thing but after appending hash symbol, I tried to save; could not save; showing error message: " Could not save the file /etc/apt/sources.list. You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again." Now what I need to do. Please help me. Looking forward to hearing from you.

Nabin Kumar Yadav (nabin2jnk) said : #7

Thanks a lot I could edit and save.

On Sun, Nov 20, 2011 at 3:55 AM, Nabin Kumar Yadav <
<email address hidden>> wrote:

> Question #159594 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/159594
>
> Nabin Kumar Yadav posted a new comment:
> Open your sources.list file:
>
> gksudo gedit /etc/apt/sources.list
>
> Scroll down to line 70 (you'll see a line counter in the bottom right-
> hand corner), and append # (hash symbol). Save and Close file.
>
> Redo the update:
>
> sudo apt-get update
>
> I tried to do the same thing but after appending hash symbol, I tried to
> save; could not save; showing error message: " Could not save the file
> /etc/apt/sources.list. You do not have the permissions necessary to save
> the file. Please check that you typed the location correctly and try
> again." Now what I need to do. Please help me. Looking forward to
> hearing from you.
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>