Issue #13616 has been reported by Luke Bigum.

----------------------------------------
Bug #13616: yum provider will not ensure => latest with different architectures 
of the same package
https://projects.puppetlabs.com/issues/13616

Author: Luke Bigum
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.7.12
Keywords: puppet package yum
Branch: 


The yum package provider seems to be getting confused when there are multiple 
architecture RPMs of the same package intalled, say i386 and x86_64. For 
example I am unable to use the package type to update both versions of the 
flash-plugin package. The version and arch checks detects that a package needs 
to be updated, but the yum call does not do an update:

    [root@pig ~]# rpm -qa | grep flash
    flash-plugin-10.2.159.1-release.i386
    flash-plugin-11.2.202.228-release.x86_64
    ...
    debug: /Stage[main]/Pairing_stations::Install/Package[flash-plugin]/ensure: 
flash-plugin "10.2.159.1-release" is installed, latest is 
"0:11.2.202.228-release"
    debug: Package[flash-plugin](provider=yum): Ensuring => latest
    debug: Puppet::Type::Package::ProviderYum: Executing '/usr/bin/yum -d 0 -e 
0 -y install flash-plugin'
    debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm -q 
flash-plugin --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| 
%{VERSION} %{RELEASE} %{ARCH}
    '
    notice: 
/Stage[main]/Pairing_stations::Install/Package[flash-plugin]/ensure: ensure 
changed '10.2.159.1-release' to '0:11.2.202.228-release'
    ...
    [root@pig ~]# rpm -qa | grep flash
    flash-plugin-11.2.202.228-release.x86_64
    flash-plugin-10.2.159.1-release.i386

Puppet would continually try and update this package and fail.

If the yum provider calls "yum update <package>" this would succeed.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to