This question already has an answer here:
sudo apt-get update returns
E: Malformed line 54 in source list /etc/apt/sources.list (dist parse)
as output. Please help me to solve this issue.
Here are lines 53 and 54 in the source list:
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse deb http://archive.canonical.com/lucid partner