0

This question already has an answer here:

When I use sudo apt-get update, I get an error:

$ sudo apt-get update
E: Malformed entry 56 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.

I've found the line throwing the error:

deb http;//archive.canonical.com/ xenial partner

Any help would be greatly appreciated.

marked as duplicate by Zanna, Pilot6, Ravexina, Elder Geek, Anwar Apr 19 '17 at 16:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Just looking at the sources.list file, aren't there other lines (that don't give errors) you can compare this one to? Or webpage addresses? That semicolon stands out – Xen2050 Apr 19 '17 at 6:24
3

Shouldn't it be http: instead of http;

  • Ohh dear, I have been forgot about ":" Thanks Now it working correctly.. – Priyashan Rmhi Apr 19 '17 at 6:33

Not the answer you're looking for? Browse other questions tagged or ask your own question.