Virtualmin package dependency issue related to perl

Installing package(s) with command yum -y install httpd .. Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.netriplex.com * extras: yum.singlehop.com * updates: mirror.symnds.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package httpd.x86_64 1:2.2.15-15.el6.vm.1 will be updated --> Processing Dependency: httpd = 1:2.2.15-15.el6.vm.1 for package: 1:httpd-devel-2.2.15-15.el6.vm.1.x86_64 --> Processing Dependency: httpd = 1:2.2.15-15.el6.vm.1 for package: 2:mod_ssl-2.2.15-15.el6.vm.1.x86_64 ---> Package httpd.x86_64 1:2.2.15-28.el6.vm.1 will be an update --> Processing Dependency: httpd-tools = 1:2.2.15-28.el6.vm.1 for package: 1:httpd-2.2.15-28.el6.vm.1.x86_64 --> Running transaction check ---> Package httpd-devel.x86_64 1:2.2.15-15.el6.vm.1 will be updated ---> Package httpd-devel.x86_64 1:2.2.15-28.el6.vm.1 will be an update --> Processing Dependency: /usr/local/bin/perl for package: 1:httpd-devel-2.2.15-28.el6.vm.1.x86_64 ---> Package httpd-tools.x86_64 1:2.2.15-15.el6.vm.1 will be updated ---> Package httpd-tools.x86_64 1:2.2.15-28.el6.vm.1 will be an update ---> Package mod_ssl.x86_64 2:2.2.15-15.el6.vm.1 will be updated ---> Package mod_ssl.x86_64 2:2.2.15-28.el6.vm.1 will be an update --> Processing Dependency: /usr/local/bin/perl for package: 1:httpd-devel-2.2.15-28.el6.vm.1.x86_64 --> Finished Dependency Resolution Error: Package: 1:httpd-devel-2.2.15-28.el6.vm.1.x86_64 (virtualmin) Requires: /usr/local/bin/perl You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest .. install failed!

Now updating httpd-devel .. Installing package(s) with command yum -y install httpd-devel .. Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.netriplex.com * extras: yum.singlehop.com * updates: mirror.symnds.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package httpd-devel.x86_64 1:2.2.15-15.el6.vm.1 will be updated ---> Package httpd-devel.x86_64 1:2.2.15-28.el6.vm.1 will be an update --> Processing Dependency: httpd = 1:2.2.15-28.el6.vm.1 for package: 1:httpd-devel-2.2.15-28.el6.vm.1.x86_64 --> Processing Dependency: /usr/local/bin/perl for package: 1:httpd-devel-2.2.15-28.el6.vm.1.x86_64 --> Running transaction check ---> Package httpd.x86_64 1:2.2.15-15.el6.vm.1 will be updated --> Processing Dependency: httpd = 1:2.2.15-15.el6.vm.1 for package: 2:mod_ssl-2.2.15-15.el6.vm.1.x86_64 ---> Package httpd.x86_64 1:2.2.15-28.el6.vm.1 will be an update --> Processing Dependency: httpd-tools = 1:2.2.15-28.el6.vm.1 for package: 1:httpd-2.2.15-28.el6.vm.1.x86_64 ---> Package httpd-devel.x86_64 1:2.2.15-28.el6.vm.1 will be an update --> Processing Dependency: /usr/local/bin/perl for package: 1:httpd-devel-2.2.15-28.el6.vm.1.x86_64 --> Running transaction check ---> Package httpd-devel.x86_64 1:2.2.15-28.el6.vm.1 will be an update --> Processing Dependency: /usr/local/bin/perl for package: 1:httpd-devel-2.2.15-28.el6.vm.1.x86_64 ---> Package httpd-tools.x86_64 1:2.2.15-15.el6.vm.1 will be updated ---> Package httpd-tools.x86_64 1:2.2.15-28.el6.vm.1 will be an update ---> Package mod_ssl.x86_64 2:2.2.15-15.el6.vm.1 will be updated ---> Package mod_ssl.x86_64 2:2.2.15-28.el6.vm.1 will be an update --> Processing Dependency: /usr/local/bin/perl for package: 1:httpd-devel-2.2.15-28.el6.vm.1.x86_64 --> Finished Dependency Resolution Error: Package: 1:httpd-devel-2.2.15-28.el6.vm.1.x86_64 (virtualmin) Requires: /usr/local/bin/perl You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest .. install failed!

Now updating httpd-tools .. Installing package(s) with command yum -y install httpd-tools .. Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.netriplex.com * extras: yum.singlehop.com * updates: mirror.symnds.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package httpd-tools.x86_64 1:2.2.15-15.el6.vm.1 will be updated --> Processing Dependency: httpd-tools = 1:2.2.15-15.el6.vm.1 for package: 1:httpd-2.2.15-15.el6.vm.1.x86_64 ---> Package httpd-tools.x86_64 1:2.2.15-28.el6.vm.1 will be an update --> Running transaction check ---> Package httpd.x86_64 1:2.2.15-15.el6.vm.1 will be updated --> Processing Dependency: httpd = 1:2.2.15-15.el6.vm.1 for package: 1:httpd-devel-2.2.15-15.el6.vm.1.x86_64 --> Processing Dependency: httpd = 1:2.2.15-15.el6.vm.1 for package: 2:mod_ssl-2.2.15-15.el6.vm.1.x86_64 ---> Package httpd.x86_64 1:2.2.15-28.el6.vm.1 will be an update --> Running transaction check ---> Package httpd-devel.x86_64 1:2.2.15-15.el6.vm.1 will be updated ---> Package httpd-devel.x86_64 1:2.2.15-28.el6.vm.1 will be an update --> Processing Dependency: /usr/local/bin/perl for package: 1:httpd-devel-2.2.15-28.el6.vm.1.x86_64 ---> Package mod_ssl.x86_64 2:2.2.15-15.el6.vm.1 will be updated ---> Package mod_ssl.x86_64 2:2.2.15-28.el6.vm.1 will be an update --> Processing Dependency: /usr/local/bin/perl for package: 1:httpd-devel-2.2.15-28.el6.vm.1.x86_64 --> Finished Dependency Resolution Error: Package: 1:httpd-devel-2.2.15-28.el6.vm.1.x86_64 (virtualmin) Requires: /usr/local/bin/perl You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest .. install failed!

Now updating mod_ssl .. Installing package(s) with command yum -y install mod_ssl .. Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.netriplex.com * extras: yum.singlehop.com * updates: mirror.symnds.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package mod_ssl.x86_64 2:2.2.15-15.el6.vm.1 will be updated ---> Package mod_ssl.x86_64 2:2.2.15-28.el6.vm.1 will be an update --> Processing Dependency: httpd = 1:2.2.15-28.el6.vm.1 for package: 2:mod_ssl-2.2.15-28.el6.vm.1.x86_64 --> Running transaction check ---> Package httpd.x86_64 1:2.2.15-15.el6.vm.1 will be updated --> Processing Dependency: httpd = 1:2.2.15-15.el6.vm.1 for package: 1:httpd-devel-2.2.15-15.el6.vm.1.x86_64 ---> Package httpd.x86_64 1:2.2.15-28.el6.vm.1 will be an update --> Processing Dependency: httpd-tools = 1:2.2.15-28.el6.vm.1 for package: 1:httpd-2.2.15-28.el6.vm.1.x86_64 --> Running transaction check ---> Package httpd-devel.x86_64 1:2.2.15-15.el6.vm.1 will be updated ---> Package httpd-devel.x86_64 1:2.2.15-28.el6.vm.1 will be an update --> Processing Dependency: /usr/local/bin/perl for package: 1:httpd-devel-2.2.15-28.el6.vm.1.x86_64 ---> Package httpd-tools.x86_64 1:2.2.15-15.el6.vm.1 will be updated ---> Package httpd-tools.x86_64 1:2.2.15-28.el6.vm.1 will be an update --> Processing Dependency: /usr/local/bin/perl for package: 1:httpd-devel-2.2.15-28.el6.vm.1.x86_64 --> Finished Dependency Resolution Error: Package: 1:httpd-devel-2.2.15-28.el6.vm.1.x86_64 (virtualmin) Requires: /usr/local/bin/perl You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest .. install failed!

Perl is installed in /usr/bin/ rather than /usr/local/bin/, symlinking the desired path to the proper path does not correct the issue.

Status: 
Closed (fixed)

Comments

Hmm, that's unusual, and we didn't run into that issue during our testing.

What is the output of this command:

ls /etc/yum.repos.d/

Also, does it make a difference if you run yum clean all, and then attempt the update again?

Oh, I see -- I was able to reproduce that just now, I didn't have httpd-devel installed.

We'll get that fixed up, thanks!

In the meantime -- if you want to perform the update, you could try removing the httpd-devel package if you don't need it.

Thanks for the fast acknowledgement of the issue, it is greatly appreciated.

You've got to love those guys. I've been fighting this httpd-devel thing all day and you guys gave me a way out. Keep up the good work!

P.S. I realize this is not the place for such comments, but my initial idea for being here was to let you know about this trouble. Now, since i don't have to, I just use this to give you thumbs up for the lighting fast reflexes when it comes to bugs!

Thanks for your comments!

Joe will have that fixed up soon... sorry for the delay.

This is corrected now, though you may first need to run "yum clean all" in order to clear out the incorrect dependency check.

I can verify this particular issue has been corrected.