|
Yum can report errata as broken or bad duplicates in certain scenarios. See yum check-update reports broken update notices for an example "solution". While this is intermittent and likely an issue with the Red Hat channel, Puppet fails to ensure latest
{{[root@puppet-astephens puppet-enterprise-2015.3.1-el-7-x86_64]# puppet apply -e "package {'puppet-agent': ensure => 'latest'}
" Notice: Compiled catalog for puppet-astephens.dev.cmmint.net in environment production in 0.57 seconds Error: Could not get latest version: undefined method `[]' for nil:NilClass Error: /Stage[main]/Main/Package[puppet-agent]/ensure: change from 1.3.2-1.el7 to latest failed: Could not get latest version: undefined method `[]' for nil:NilClass Notice: Applied catalog in 1.34 seconds}}
Which is caused by:
{{Update notice RHSA-2014:0675 (from rhel-x86_64-server-optional-7) is broken, or a bad duplicate, skipping. You should report this problem to the owner of the rhel-x86_64-server-optional-7 repository. Update notice RHSA-2014:0686 (from rhel-x86_64-server-optional-7) is broken, or a bad duplicate, skipping. Update notice RHSA-2014:0685 (from rhel-x86_64-server-optional-7) is broken, or a bad duplicate, skipping. Update notice RHSA-2014:0702 (from rhel-x86_64-server-optional-7) is broken, or a bad duplicate, skipping. Update notice RHSA-2014:0678 (from rhel-x86_64-server-optional-7) is broken, or a bad duplicate, skipping. Update notice RHSA-2014:0704 (from rhel-x86_64-server-optional-7) is broken, or a bad duplicate, skipping.}}
|