Thursday, May 26, 2016

Malformed line in the source list /etc/apt/sources.list (dist parse), don't let me use update manager?




Here is the error hope i can get some help, i show you the update manager and the line of the error, if you need something else just ask for it.



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


Error line:



deb http://archive.canonical.com/ partner



The correct form of canonical partner repository address to be saved in /etc/apt/sources.list is following:



deb http://archive.canonical.com/ubuntu  partner


Just change the codename according to the release of Ubuntu you are using. For example the codename for Ubuntu 12.04 is precise, so the correct form for Ubuntu 12.04 will be:



deb http://archive.canonical.com/ubuntu precise partner



The codename of 14.04 is trusty.



So replace the malformed line with the correct form.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...