I was trying to Uninstall Wine 1.4 so I could then update to the most recent version (to solve a problem I was having with a Windows program I was trying to install) and when I clicked Uninstall Software Centre closed. I tried to open it and it would come up showing it was loading then close again. I have restarted the computer twice but it still has the same problem and it says it can't report the problem because it can't determine the package or source name.
Following from other similar posts I ran
and got the following message
E: Type ‘ain’ is not known on line 2 in source list /etc/apt/sources.list.d/ubuntu-wine-ppa-precise.list
E: The list of sources could not be read.
Now I think this may be my fault because I added a Source in the software list following the how to install wine
how to from Wine HQ (added ppa:ubuntu-wine/ppa), but then read somewhere in Ubuntu documentation that
it was better to add software from the Software Centre so I installed the Wine version that came up in the Software
Centre without deleting this source(though I think I have deleted it and added it when trying to get one of my programs
to work, so who knows what I may have broken).
I am using 32 bit Ubuntu 12.04.
Any help anyone has on how to fix this would be much appreciated,