EPEL trouble in automatic server deployment

"Extra Packages for Enterprise Linux (EPEL) is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages for Red Hat Enterprise (RHEL) and its compatible spinoffs such as CentOS or Scientific Linux. "

Today I found one of my servers didn't get the proper package installed when deployed to the production. So I had a little dive into the problem and found out it's the EPEL gave me some trouble. In the deployment script, I have yum install the packages from my local EPEL and EPEL-testing repositories. There is a dependency issue for the newer version in EPEL5-testing repository for package rubygem-hoe as I found out as below in detail because the deendent package is not released yet. So I went to deployment script and disabled the testing repository and problem resolved. Maybe I should not use the testing repository at all.

What make it a little more complicated is the automatic deployment nature for massive of the servers. Tracing the deployment script is the most reliable way to get the problem fixed.

Here is the dep check result for my repositories:

# yum deplist rubygem-hoe
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Finding dependencies:
package: rubygem-hoe.noarch 2.1.0-1.el5  (in epel5-testing)
  dependency: rubygems
   provider: rubygems.noarch 1.2.0-2.el5
   provider: rubygems.noarch 1.3.1-1.el5
  dependency: rubygem(rubyforge) >= 1.0.3
   Unsatisfied dependency
 
dependency: rubygem(rake) >= 0.8.7
   Unsatisfied dependency

  dependency: /usr/bin/ruby
   provider: ruby.x86_64 1.8.5-5.el5_2.6
  dependency: ruby(abi) = 1.8
   provider: ruby-libs.x86_64 1.8.5-5.el5_2.6
   provider: ruby-libs.i386 1.8.5-5.el5_2.6
  dependency: /usr/bin/env
   provider: coreutils.x86_64 5.97-19.el5

package: rubygem-hoe.noarch 1.8.2-1.el5 (in epel5)
  dependency: rubygems
   provider: rubygems.noarch 1.2.0-2.el5
   provider: rubygems.noarch 1.3.1-1.el5
  dependency: /usr/bin/ruby
   provider: ruby.x86_64 1.8.5-5.el5_2.6
  dependency: ruby(abi) = 1.8
   provider: ruby-libs.x86_64 1.8.5-5.el5_2.6
   provider: ruby-libs.i386 1.8.5-5.el5_2.6
  dependency: /usr/bin/env
   provider: coreutils.x86_64 5.97-19.el5
  dependency: rubygem(rubyforge) >= 1.0.0
   provider: rubygem-rubyforge.noarch 1.0.1-1.el5
  dependency: rubygem(rake) >= 0.8.3
   provider: rubygem-rake.noarch 0.8.3-1.el5

Post new comment

  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • You may post PHP code. You should include <?php ?> tags.

More information about formatting options