Dependency issue related to httpd-2.2.15-31.el6.centos.vm.x86_64

Hi vm forum! When I was setting up a new server - for good reason some of the first packages I installed were webmin & virtualmin. However, I’m trying to install httpd-devel and I am getting the following issue:

--> Processing Dependency: httpd = 2.2.15-31.el6.centos for package: httpd-devel-2.2.15-31.el6.centos.x86_64 --> Finished Dependency Resolution Error: Package: httpd-devel-2.2.15-31.el6.centos.x86_64 (updates) Requires: httpd = 2.2.15-31.el6.centos Installed: 1:httpd-2.2.15-31.el6.centos.vm.x86_64 (@virtualmin) httpd = 1:2.2.15-31.el6.centos.vm Available: httpd-2.2.15-29.el6.centos.x86_64 (base) httpd = 2.2.15-29.el6.centos Available: httpd-2.2.15-30.el6.centos.x86_64 (updates) httpd = 2.2.15-30.el6.centos Available: httpd-2.2.15-31.el6.centos.x86_64 (updates) httpd = 2.2.15-31.el6.centos

Not sure how to get round this as 1) not clear why it’s not ok with 2.2.15-31.el6.centos.vm (would be grateful for an insight into this) and secondly removing 2.2.15-31.el6.centos.vm and replacing with core Centos version is definitely out of the question - it being such a core dependency on the server.



It looks like it’s trying to pull in the httpd-devel package from CentOS, rather than the one from the Virtualmin repository.

Does it work if you install the Virtualmin version of that package directly? You should be able to install it using this command:

rpm -ivh

Thanks. This is output from command:

error: Failed dependencies:
apr-devel is needed by httpd-devel-1:2.2.15-31.el6.centos.vm.x86_64
apr-util-devel is needed by httpd-devel-1:2.2.15-31.el6.centos.vm.x86_64

I just looked through the referenced repo to see if I’d be able to install the further two dependencies, but not able to locate them.

I do have repo enabled, so it has gone a bit further in information with the direct rpm command. Presuming this is correct:

name=Webmin Distribution Neutral

The dependencies it’s asking for aren’t two that are included in the Virtualmin software repository.

Try installing those other two like this first:

yum install apr-devel apr-util-devel

And then once you do that, try this command again:

rpm -ivh

Thanks, that worked great!
Much appreciated.

Hi there,

I have the same problem with httpd-devel when trying to Install Zend OpCache on CentOS 6. So, when i try to install httpd-devel I am getting the following error:

–> Processing Dependency: httpd = 2.2.15-60.el6.centos.6 for package: httpd-devel-2.2.15-60.el6.centos.6.x86_64
–> Finished Dependency Resolution
Error: Package: httpd-devel-2.2.15-60.el6.centos.6.x86_64 (updates)
Requires: httpd = 2.2.15-60.el6.centos.6
Installed: 1:httpd-2.2.15-31.el6.centos.vm.x86_64 (@virtualmin)
httpd = 1:2.2.15-31.el6.centos.vm
Available: httpd-2.2.15-59.el6.centos.x86_64 (base)
httpd = 2.2.15-59.el6.centos
Available: httpd-2.2.15-60.el6.centos.4.x86_64 (updates)
httpd = 2.2.15-60.el6.centos.4
Available: httpd-2.2.15-60.el6.centos.5.x86_64 (updates)
httpd = 2.2.15-60.el6.centos.5
Available: httpd-2.2.15-60.el6.centos.6.x86_64 (updates)
httpd = 2.2.15-60.el6.centos.6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

I have Yum Priorities installed where CentOS Repo (Base/Updates/Extras) have priority=1 and Virtualmin Repo priority=2.

Searching for a Virtualmin httpd-devel Package shows that only httpd-devel-2.2.15-60.el6.4.vm.x86_64.rpm & httpd-devel-2.2.15-60.el6.5vm.x86_64.rpm exists, so I probably need to upgrade Apache to ver. 2.2.15-60.el6.centos.6 first.

Can you please help me Install Zend OpCache on CentOS 6, having multiple versions of php and using php 7.0 for a Sub-Server?

Oh no! Don’t post serial numbers and license keys in public forums (the yum repo configuration file you posted has authentication details)! There are private tickets in the issue tracker, if you need to share sensitive information with us about a Pro installation. (I’m not sure if your second comment was ever published or got caught by the spam filter…I hope it got stopped before any search engines picked it up or notifications went out, or we’ll need to issue a new serial number and key for you.)

You do not want to change to the CentOS httpd package. It will break your Virtualmin configured sites, because it is built with suexec docroot set to /var/www instead of /home.

I don’t know why httpd-devel isn’t installing for you. It may be a dependency issue in my build. I’ll have to look into it. It looks like I need to build a .6 package anyway, so I’ll get that sorted today. Not sure how I missed that and how nobody brought it up in all that time (it’s been out for several months), but I guess not many people are still running CentOS 6.