Jira (PUP-5707) Yum package provider: ensure => latest fails when RHEL channel has broken or bad duplicate errata

4 views
Skip to first unread message

Adam Stephens (JIRA)

unread,
Jan 13, 2016, 11:03:08 AM1/13/16
to puppe...@googlegroups.com
Adam Stephens created an issue
 
Puppet / Bug PUP-5707
Yum package provider: ensure => latest fails when RHEL channel has broken or bad duplicate errata
Issue Type: Bug Bug
Affects Versions: PUP 4.3.1
Assignee: Unassigned
Created: 2016/01/13 8:02 AM
Priority: Normal Normal
Reporter: Adam Stephens

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.}}

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc)
Atlassian logo

Adam Stephens (JIRA)

unread,
Jan 13, 2016, 11:04:20 AM1/13/16
to puppe...@googlegroups.com
Adam Stephens updated an issue
Change By: Adam Stephens
Yum can report errata as broken or bad duplicates in certain scenarios. See [yum check-update reports broken update notices |https://access.redhat.com/solutions/1502743] 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.}}

Adam Stephens (JIRA)

unread,
Jan 13, 2016, 11:05:32 AM1/13/16
to puppe...@googlegroups.com
Adam Stephens updated an issue
Yum can report errata as broken or bad duplicates in certain scenarios. See [yum check-update reports broken update notices |https://access.redhat.com/solutions/1502743] for an example "solution". While this is intermittent and likely an issue with the Red Hat channel, Puppet fails to ensure latest

{ { noformat}
[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
{noformat } }

Which is caused by:

{
{ noformat}
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.

{noformat
} }

Erik Hansen (JIRA)

unread,
Feb 25, 2016, 1:38:19 PM2/25/16
to puppe...@googlegroups.com

Adam Bottchen (JIRA)

unread,
Mar 18, 2016, 2:11:03 PM3/18/16
to puppe...@googlegroups.com
Adam Bottchen commented on Bug PUP-5707
 
Re: Yum package provider: ensure => latest fails when RHEL channel has broken or bad duplicate errata

This issue is a duplicate of

PUP-5555 where a patch has been provided and merged.

Henrik Lindberg (JIRA)

unread,
Mar 18, 2016, 2:35:30 PM3/18/16
to puppe...@googlegroups.com

Henrik Lindberg (JIRA)

unread,
May 16, 2017, 1:11:03 PM5/16/17
to puppe...@googlegroups.com
Henrik Lindberg updated an issue
Change By: Henrik Lindberg
Labels: triaged
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Ciprian Badescu (Jira)

unread,
Jul 8, 2020, 9:09:03 AM7/8/20
to puppe...@googlegroups.com
Ciprian Badescu updated an issue
Change By: Ciprian Badescu
Fix Version/s: PUP 6.17.0
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Ciprian Badescu (Jira)

unread,
Jul 9, 2020, 2:52:03 AM7/9/20
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages