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 ~]# 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
--> 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
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.