Help getting Percona working with AtoM from a bad state

I have been trying to install Percona 5.6 to use with AtoM and I have messed it up. I tried with 5.6 and failed, pulled it out, tried with 5.7, and tried to pull it out but it tells me it is “not fully installed or removed” Tried apt-get remove --auto-remove, dpkg --remove. I want to completely remove it and try to put it in clean and see if it will work. Any help would be appreciated