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

Asked by MetungKP

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:
Last query:
Last reply:
Revision history for this message
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.

Revision history for this message
MetungKP (metungkp) said :
#2

I've only got 65 lines.

Revision history for this message
Ian Ace (iaculallad) said :
#3

I mean, scroll down to line 62.

Revision history for this message
MetungKP (metungkp) said :
#4

Thanks Ian Ace, that solved my question.

Revision history for this message
MetungKP (metungkp) said :
#5

Thanks! Ian

Revision history for this message
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.

Revision history for this message
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.
>