inviqa / inviqa-seed-default

Deprecated in favour of https://github.com/my127/workspace
2 stars 1 forks source link

Fix yum cron installation failure. #81

Closed kierenevans closed 7 years ago

kierenevans commented 7 years ago

yum-cron fails to install due to:

  ==> default:     Chef::Exceptions::Exec
  ==> default:     ----------------------
  ==> default:     yum -d0 -e0 -y install yum-cron-3.4.3-150.el7.centos returned 1:
  ==> default:       
  ==> default: STDOUT: 
  ==> default:     STDERR: 
  ==> default:     
  ==> default:     Transaction check error:
  ==> default:       file /etc/yum/yum-cron-hourly.conf from install of yum-cron-3.4.3-150.el7.centos.noarch conflicts with file from package yum-3.4.3-132.el7.centos.0.1.noarch
  ==> default:       file /etc/yum/yum-cron.conf from install of yum-cron-3.4.3-150.el7.centos.noarch conflicts with file from package yum-3.4.3-132.el7.centos.0.1.noarch

We have been adhoc fixing it by upgrading yum or disabling yum-cron installation in places. This PR pulls in the upgrading of yum into new seed plants.

After doing hem vm up with a freshly planted default seed, the yum conflict was encountered. After doing hem vm destroy and implementing the fix in this PR, I was able to provision a VM successfully.

andytson-inviqa commented 7 years ago

closing in favour of the updated base image