This question already has an answer here:
So I recently tried to install playonlinux on Ubuntu 16.04 and it was installing but stopped halfway through the installation, so I closed it and that was where I messed up.
Now every time I enter
sudo apt-get update
in the terminal the error is:
E: Type '--2017-01-12' 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.