The list of sources could not be read – Ubuntu

E: Type ā€˜nā€™ is not known on line 2 in source list /etc/apt/sources.list.d/bean123ch-burg-lucid.list

E: The list of sources could not be read.

To fix this or similar errors open the file, for example “/etc/apt/sources.list.d/bean123ch-burg-lucid.list” and check for rouge characters. In this case there was new line with the letter ‘n’ in place, removing it […]