1

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
1
  • just comment it out using # and try apt-get update again.
    – j0h
    Jan 31, 2015 at 18:36

1 Answer 1

2

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

deb http://archive.canonical.com/ubuntu <codename> 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.

2
  • but it doesnt allow me to save the chances Jan 31, 2015 at 18:23
  • @StefanPopescu: Is the problem solved?
    – heemayl
    Jan 31, 2015 at 18:44

Not the answer you're looking for? Browse other questions tagged .