Issue #13977 has been reported by Andrew Elwell.

----------------------------------------
Bug #13977: yum.puppetlabs.com has i386 facter package in x86_64 arch directory
https://projects.puppetlabs.com/issues/13977

Author: Andrew Elwell
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 
Affected Facter version: 


Please can someone remove facter-1.6.0-1.i386.rpm from 
http://yum.puppetlabs.com/el/5/products/x86_64/

as it's blocking a puppetised update:

<pre>
[root@ctb-bdiisite1 yum.repos.d]# puppet agent --test --server 
itgt-puppet.cern.ch
info: Caching catalog for ctb-bdiisite1.cern.ch
info: Applying configuration version '1334650775'
err: /Stage[main]/Puppet::Install/Package[facter]/ensure: change from 
1.6.1-1.el5 to 0:1.6.6-1.el5 failed: Could not update: Execution of 
'/usr/bin/yum -d 0 -e 0 -y install facter' returned 1: 

Transaction Check Error:
  package facter-1.6.1-1.el5.noarch (which is newer than facter-1.6.0-1.i386) 
is already installed


Error Summary
-------------

 at /etc/puppet/modules/puppet/manifests/install.pp:5
notice: /File[/etc/puppet/puppet.conf]: Dependency Package[facter] has 
failures: true
warning: /File[/etc/puppet/puppet.conf]: Skipping because of failed dependencies
notice: /Stage[main]/Puppet::Service/Service[puppet]: Dependency 
Package[facter] has failures: true
warning: /Stage[main]/Puppet::Service/Service[puppet]: Skipping because of 
failed dependencies
notice: Finished catalog run in 8.46 seconds
</pre>

however running the update manually does The Right Thing:

<pre>
[root@ctb-bdiisite1 yum.repos.d]# yum update
Loaded plugins: downloadonly, kernel-module
Excluding Packages from DAG rpms
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package facter.x86_64 0:1.6.7-1 set to be updated
--> Finished Dependency Resolution
Beginning Kernel Module Plugin
Finished Kernel Module Plugin

Dependencies Resolved

=============================================================================================================================
 Package                     Arch                        Version                
       Repository                       Size
=============================================================================================================================
Updating:
 facter                      x86_64                      1.6.7-1                
       puppetlabs                       68 k

Transaction Summary
=============================================================================================================================
Install       0 Package(s)
Upgrade       1 Package(s)

Total size: 68 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating       : facter                                                       
                                         1/2 
  Cleanup        : facter                                                       
                                         2/2 

Updated:
  facter.x86_64 0:1.6.7-1                                                       
                                             

Complete!
</pre>



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