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
  • 7,982
  • 9
  • 55
  • 94
  • 2
    give us your sources.list file – Alex Jones Dec 04 '14 at 10:17
  • It seems that the error tells you everything. Line 67 of /etc/apt/sources.list is funky so please [edit] to show us what it is and we can suggest an improvement. – Oli Dec 04 '14 at 10:27

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,156
  • 1
  • 12
  • 11