Having a problem with yum install [centos 6.5 x64]

June 7, 2014 2.7k views
Hey guys, I am having a problem with my centos VPS. I was having a problem with my website, PHP wouldn't work, HTML wouldn't work so I decided to reinstall HTTPD. I assumed it will fix everything, but I only got myself into more trouble. I can't install HTTPD back and its really important that I get this done asap, as there are people waiting to access the website. Anyway this is the error I am getting: [root@premiumbay ~]# [root@premiumbay ~]# yum install httpd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centosb5.centos.org * epel: mirrors.einstein.yu.edu * extras: centosz3.centos.org * updates: mirror.itc.virginia.edu Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package httpd.x86_64 0:2.2.15-30.el6.centos will be installed --> Processing Dependency: httpd-tools = 2.2.15-30.el6.centos for package: httpd-2.2.15-30.el6.centos.x86_64 --> Finished Dependency Resolution Error: Package: httpd-2.2.15-30.el6.centos.x86_64 (updates) Requires: httpd-tools = 2.2.15-30.el6.centos Installed: 1:httpd-tools-2.2.15-29.el6.vm.1.x86_64 (@virtualmin) httpd-tools = 1:2.2.15-29.el6.vm.1 Available: httpd-tools-2.2.15-29.el6.centos.x86_64 (base) httpd-tools = 2.2.15-29.el6.centos Available: httpd-tools-2.2.15-30.el6.centos.x86_64 (updates) httpd-tools = 2.2.15-30.el6.centos You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest [root@premiumbay ~]# Anyway to fix it? Thanks for your time and help!
1 Answer
What I'm seeing is that you need httpd-tools-2.2.15-30, but what you have installed is httpd-tools-2.2.15-29. Try installing or updating httpd-tools to 2.2.15-30 and see if that makes it work.
Have another answer? Share your knowledge.