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

7 posts / 0 new
Last post
#1 Mon, 09/29/2014 - 15:29
simes

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.

Thanks.

Mon, 09/29/2014 - 18:24
andreychek

Howdy,

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 http://software.virtualmin.com/gpl/centos/6/x86_64/httpd-devel-2.2.15-31.el6.centos.vm.x86_64.rpm

Mon, 09/29/2014 - 18:53
simes

Thanks. This is output from command:

Retrieving http://software.virtualmin.com/gpl/centos/6/x86_64/httpd-devel-2.2.15-31.el6.centos.vm.x86_64.rpm
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:

[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1
Mon, 09/29/2014 - 22:06
andreychek

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 http://software.virtualmin.com/gpl/centos/6/x86_64/httpd-devel-2.2.15-31.el6.centos.vm.x86_64.rpm

Mon, 09/29/2014 - 22:28
simes

Thanks, that worked great! Much appreciated.

Fri, 05/04/2018 - 07:00
pagio

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?

Sun, 05/06/2018 - 12:59
Joe
Joe's picture

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.

--

Check out the forum guidelines!

Topic locked