Issue #13616 has been updated by Luke Bigum. Status changed from Needs More Information to Closed
Interesting results with glibc, I tried a stock CentOS package on my own machine and I have same behaviour. Looks like the problem is with Yum and how it handles the same package name in two different repositories, http://linuxdownload.adobe.com/linux/i386/ and http://linuxdownload.adobe.com/linux/x86_64/. I'll close this bug as I don't think the problem is with Puppet. ---------------------------------------- Bug #13616: yum provider will not ensure => latest with different architectures of the same package https://projects.puppetlabs.com/issues/13616#change-60077 Author: Luke Bigum Status: Closed Priority: Normal Assignee: Luke Bigum 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.
