-1

Hi having problems with updating ubuntu 14.01

sudo apt-get update

Gives me the following.

E: Typen »!DOCTYPE« er ukendt på linje 1 i kildelisten /etc/apt/sources.list.d/playonlinux.list E: Listen med kilder kunne ikke læses.

Translated:

E: Type >>!DOCTYPE<< is unknown on line 1 in sourcelist /etc/apt/sources.listd/playonlinux.list E: list with sources couldn't be read.

After the >> in the code this symbol (<), without the () but if I write it in, the block disappears in here... (hope it makes sense)

I'm aware that it maybe would help to delete playonlinux, but my software-center won't open and I don't know any other way of deleting the program..

sudo rm playonlinux

doesn't work, don't know if I'm using the code correct..

Kind regards - The rook

2 Answers2

0

You have an erroneous repo file. To fix it, type these commands:

sudo rm /etc/apt/sources.list.d/playonlinux.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E0F72778C4676186
sudo wget http://deb.playonlinux.com/playonlinux_trusty.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get update
sudo apt-get install playonlinux

That's all.

Frantique
  • 8,493
0

Open your terminal and type as

sudo nano  /etc/apt/sources.listd/playonlinux.list

Then remove that error from line then save & exit.

Then try with

sudo apt-get update

else

as you already deleted playonlinux ,

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

Good luck.

Raja G
  • 102,391
  • 106
  • 255
  • 328