Centos – yum and rpm nothing happens

centoscentos6rpmyum

I am experiencing an odd problem in CentOS 6.

when I try to use yum or rpm nothing happens.

For example if I type

yum update

it simply returns to the command prompt.

I have checked that yum and rpm exists in /usr/bin and it is present and the permissions are correct. I have even copied the yum binary file from another server and still it does not work.

Does anyone have any ideas on what to try to resolve this?

Thank you

Best Answer

Final solution was to completely re-install the operating system. Not an ideal fix but we could not see another way around it.

edit: Turns out my colleague installed dante-server on the server. The rpm from epel is broken and causes major issues on CentOS servers currently. To resolve the issue stop dante-server from running.