0

I am getting this error while running sudo apt-get update:

E: Malformed entry 61 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.

Please provide any suggestions for getting rid of this error. Here is line 61 from sources.list:

deb http://archive.canonical.com/ partner
Gyan
  • 1

1 Answers1

0

Considering that the distribution you are using is the Ubuntu 16.04 Xenal Xerus codename. You need to replace

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

with

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

Ubuntu Sources List Generator can help you get the source of updates according to your needs.