Thank you so much. I just updated both of my servers and they work now. For some reason I had to cd into the sources.list.d folder and rm from there as it didn't work at first.
I have to admit I think I came across this solution but it didn't work so I moved on. In my frustration I didn't bother to check that the file was removed and kept moving.