2

I entered sudo apt-get update in Terminal and got the following output

enter image description here

What to do now?

kos
  • 35,891
Rahul Raj
  • 610
  • 2
  • 7
  • 17
  • Please use the search function to determine if a question has been asked already before asking a new question. The vast majority of the results popping out when searching "malformed" are in fact the same exact question. – kos Nov 01 '15 at 16:19
  • @Kos I went through the suggested questions but I was unable to understand and I don't have enough reputation to comment there so I asked it . – Rahul Raj Nov 01 '15 at 16:30

1 Answers1

1

Execute

sudo sed -i '/playonlinux/d' /etc/apt/sources.list

to remove the wrong entry in sources.list and add the repository:

wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo wget http://deb.playonlinux.com/playonlinux_precise.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get update
A.B.
  • 90,397
  • If you get a duplicate error, give me a comment. – A.B. Nov 01 '15 at 16:13
  • sudo sed -i '/playonlinux/d' /etc/apt/sources.list did nothing and then I entered the second command which worked then I entered sudo sed -i '/playonlinux/d' /etc/apt/sources.list,which is working. – Rahul Raj Nov 01 '15 at 16:37
  • The first command removes the wrong entry. There is no output in the terminal. – A.B. Nov 01 '15 at 16:38