No se puede actualizar

No se puede actualizar

Cuando entro sudo apt-get updateen la línea de comando, aparece lo siguiente:

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.

Antes de ver esta línea de error, intenté instalar Spotify de acuerdo con lo siguiente (https://www.spotify.com/us/download/previews/), agregando deb http://repository.spotify.com stable non-freea mi lista de fuentes (pasando por la pestaña "Software y actualizaciones", "Otro software" y "agregar...". Pero luego respondió, Failed to load the package listdando la misma cuenta que arriba:

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."

Estoy ejecutando Ubuntu 14.04.1 LTS.

Gracias.

Respuesta1

Debe editar el archivo: /etc/apt/sources.list usando un editor de texto como gedit, eliminar la fuente incorrecta en la línea 67 y guardar el archivo.

Luego ejecute el siguiente comando:

sudo apt-get update

Respuesta2

El archivo que ha descargado tiene algún error con el código HTML, este podría ser el motivo del error "No se pudo leer la lista de fuentes".

Así que elimine el archivo o carpeta y pruébelo con uno de confianza.

información relacionada