Entry error in terminal

Asked by Brenda Bennett

I was trying to upgrade playonlinux and I made an entry error. This is the error that is showing

E: Type '--2014-09-07' is not known on line 1 in source list /etc/apt/sources.list.d/playonlinux.list
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.

Please advise how to solve this problem.

I am using Ubuntu 14.04

I tried sudo apt-get clean and it would not clean.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Brenda Bennett
Solved:
Last query:
Last reply:
Revision history for this message
Brenda Bennett (blb521) said :
#1

I tried to go into the package manager, but it would let me do a repository dialog

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What is the output of :

cat -n /etc/apt/sources.list

Thanks

Revision history for this message
Thomas Krüger (thkrueger) said :
#3

You have a bad entry in the file /etc/apt/sources.list.d/playonlinux.list maybe you have entered a bad package repository line.
You can fix the problem with:

sudo rm /etc/apt/sources.list.d/playonlinux.list

It will remove the bad package repository. Then you can add it again. But make sure you enter exactly what you have to. The best way to do that is to copy/paste the line.

Revision history for this message
Brenda Bennett (blb521) said :
#4

Thanks, the rm command solved the problem