Update Manager

Asked by NakiMum

'E:Type '--2008-12-13' 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.'

Please help to uninstall this completely. I can only use 'terminal'.

I'm using Ubuntu Intrepid Ibex 8.1

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
NakiMum
Solved:
Last query:
Last reply:

This question was originally filed as bug #307974.

Revision history for this message
Chris Coulson (chrisccoulson) said :
#1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

Revision history for this message
Chris Coulson (chrisccoulson) said :
#2

Hi,

The error message is because you have an error in line 1 of the file /etc/apt/sources.list.d/playonlinux.list. Could you please post the contents of that file?

Revision history for this message
NakiMum (nakimum) said :
#3

Hi did what you asked and this is what I get

tanya@tanya-laptop:~$ /etc/apt/sources.list.d/playonlinux.list.
bash: /etc/apt/sources.list.d/playonlinux.list.: No such file or directory
tanya@tanya-laptop:~$

Hope this helps. Just let me know if I did something wrong somewhere.

Revision history for this message
Chris Coulson (chrisccoulson) said :
#4

Could you please post the output of "cat /etc/apt/sources.list.d/playonlinux.list" instead please

Revision history for this message
NakiMum (nakimum) said :
#5

Sure thing, hope this makes sense.

tanya@tanya-laptop:~$ cat /etc/apt/sources.list.d/playonlinux.list
--2008-12-13 22:45:18-- http://playonlinux.botux.net/playonlinux_hardy.list
Resolving playonlinux.botux.net... failed: Name or service not known.
wget: unable to resolve host address `playonlinux.botux.net'
tanya@tanya-laptop:~$

Revision history for this message
Chris Coulson (chrisccoulson) said :
#6

Thanks - the file /etc/apt/sources.list.d/playonlinux.list doesn't contain any valid sources, and you should just delete it:

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

Revision history for this message
NakiMum (nakimum) said :
#7

Hi there

tried, but it seems I can't get it deleted. Here's the result of the command

tanya@tanya-laptop:~$ sudo rm /etc/apt/sources.list.d/playonlinux.list
rm: cannot remove `/etc/apt/sources.list.d/playonlinux.list': No such file or directory
tanya@tanya-laptop:~$

If all else fails, I'll just re-install ubuntu. No hassles - all my data has been backed up.

Revision history for this message
Chris Coulson (chrisccoulson) said :
#8

Well, that means you already deleted the file. Could you please run:

"sudo apt-get update"

...and see if the error message still occurs.

Revision history for this message
NakiMum (nakimum) said :
#9

Hi Chris
had a look - the error message is gone and I can now install updates, etc.
Thank you for taking the time to help me. Really appreciate it.

Seasons greetings to all.

Revision history for this message
NakiMum (nakimum) said :
#10

Sorry I clicked the wrong button. This has been solved.