0

When I put in sudo apt-get update into the Command Line, I get the following:

E: Type 'new' is not known on line 67 in source list /etc/apt/sources.list
E: The list of sources could not be read.

Before I saw this error line, I had tried installing Spotify according to the following (https://www.spotify.com/us/download/previews/), adding deb http://repository.spotify.com stable non-free to my source.list (by going through the "Software & Updates" tab, "Other Software" and "add...". But then it replied, Failed to load the package list, giving the same account as above:

E:Type 'new' is not known on line 67 in source list /etc/apt/sources.list, E:The list of sources could not be read
E:The package lists or status file could not be parsed or opened."

I am running Ubuntu 14.04.1 LTS.

Thanks.

Alex Jones
  • 8,192

2 Answers2

1

You need to edit the file: /etc/apt/sources.list using text editor like gedit and remove the bad source in line 67 and save the file.

Then run the following command:

sudo apt-get update

0

The file which you have downloaded has some error with HTML code, this might be the reason for the error " The list of sources could not be read".

So remove the file or folder and try it with Trusted one.

BDRSuite
  • 3,196
  • 1
  • 13
  • 11