Issue #18238 has been reported by Jon Skarpeteig.

----------------------------------------
Bug #18238: Upgrading multilib versions (i686 + x86_64) not working
https://projects.puppetlabs.com/issues/18238

Author: Jon Skarpeteig
Status: Unreviewed
Priority: High
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.6.17
Keywords: CentOS, multilib
Branch: 


CentOS 6.3 using Puppet client from epel repo:

$pkg_name = ["libtiff.i686", "libtiff.x86_64"]
package {
                $pkg_name :
                        ensure => "latest"
        }

Result:

err: /Stage[main]/Buildserverclass/Package[libtiff.x86_64]/ensure: change from 
3.9.4-6.el6_3 to 3.9.4-9.el6_3 failed: Could not update: Execution of 
'/usr/bin/yum -d 0 -e 0 -y install libtiff.x86_64' returned 1: Error: Protected 
multilib versions: libtiff-3.9.4-9.el6_3.x86_64 != libtiff-3.9.4-6.el6_3.i686
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
 at /etc/puppet/manifests/profiles.pp:187

err: /Stage[main]/Buildserverclass/Package[libtiff.i686]/ensure: change from 
3.9.4-6.el6_3 to 3.9.4-9.el6_3 failed: Could not update: Execution of 
'/usr/bin/yum -d 0 -e 0 -y install libtiff.i686' returned 1: Error: Protected 
multilib versions: libtiff-3.9.4-9.el6_3.i686 != libtiff-3.9.4-6.el6_3.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
 at /etc/puppet/manifests/profiles.pp:187

Using 

    $pkg_name = ["libtiff"]

Gives same result (but only for x86_64)


Expected behavior:

yum install libtiff.i686 libtiff.x86_64 -y

Which successfully upgrades the library when run at the OS level.


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