Update Manager Crashing, Cannot Report Bug, Don't Know Where or How to get new update manager

Asked by Alex Richardson

When update-manager or synaptic are initialized, a crash occurs. 'E:Malformed line 56 in source list /etc/apt/sources.list (dist parse)'. This is apparently a very old bug? Filing a bug report via apport is impossible, following the directions on the wiki fail repeatedly for package update-manager. Need help very soon, since I cannot do much without synaptic honestly.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

head -n 56 /etc/apt/sources.list | tail -n 1

I bet you missed a space, we'll see

Thanks

Revision history for this message
Alex Richardson (canti-raid) said :
#2
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#3

ok run:

gksudo gedit /etc/apt/sources.list

find the line:
deb http://dl.google.com/linux/chrome/deb/ unstable

and change it to:
deb http://dl.google.com/linux/chrome/deb/ unstable main

Save the new file, close gedit and run:

sudo apt-get udpdate

Is it smooth?

Revision history for this message
Alex Richardson (canti-raid) said :
#4

Thanks a whole lot. Sorry for the idiot question.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

It's a fine question :)

You'll learn with time and be fairly self sufficient