Keeps trying to upgrade to EE from CE , which I dont want

I have recently migrated servers and I made the mistake of installing EE anyway I managed to unwind that and got CE installed and everything working but now when I run yum update it tries to upgrade ce to ee and I cant seem to remove the package ? Any help appreciated.

Have you had a look at your yum repo files. Probably one in /etc/yum.repos.d/ that was setup for EE (gitlab_gitlab-ee.repo). Either rename or remove it and then install the CE one from

curl -sS | sudo bash

then do.

yum clean all
yum update

and hopefully it should only list CE packages now.