Question

Having a problem with yum install [centos 6.5 x64]

Posted June 7, 2014 3.6k 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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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.
Submit an Answer