Issue #1671 has been updated by luke.

Status changed from Needs design decision to Rejected

Destructive actions like this, without an easy way to revert, will always 
require intervention from the user.
----------------------------------------
Feature #1671: Yum should remove packages causing dependency issues
http://projects.reductivelabs.com/issues/show/1671

Author: lazzurs
Status: Rejected
Priority: Low
Assigned to: luke
Category: package
Target version: unplanned
Complexity: Unknown
Affected version: 0.24.5
Keywords: 


Hello,

Currently if a system has a package that conflicts with a package puppet is 
trying to install puppet will just give up.  Given puppet is a configuration 
management tool it should be viewed as the authorative source of configuration 
and ensure that configuration.  I have included an output below as an example.  
What I would prefer the yum handler did in this situation is to force the 
package install, even if this means removing existing packages.
<pre>
err: //Node[bols]/desktopsys/desktop::packages/Package[kmod-nvidia-xen]/ensure: 
change from absent to latest failed: Could not update: Execution of 
'/usr/bin/yum -d 0 -e 0 -y install kmod-nvidia-xen' returned 1: 
xorg-x11-drv-fglrx-8.522-2.8.08.lvn8.x86_64 from installed has depsolving 
problems
  --> xorg-x11-drv-fglrx conflicts with xorg-x11-drv-nvidia
xorg-x11-drv-nvidia-173.14.12-1.lvn8.x86_64 from F8-x86_64-livna has depsolving 
problems
  --> xorg-x11-drv-nvidia conflicts with xorg-x11-drv-fglrx
Error: xorg-x11-drv-nvidia conflicts with xorg-x11-drv-fglrx
Error: xorg-x11-drv-fglrx conflicts with xorg-x11-drv-nvidia
 at /var/lib/puppet/modules/desktop/manifests/packages.pp:60
err: //Node[bols]/desktopsys/desktop::packages/Package[kernel]/ensure: change 
from 2.6.25.14-69.fc8 to 2.6.26.5-28.fc8 failed: Could not update: Execution of 
'/usr/bin/yum -d 0 -e 0 -y install kernel' returned 1: 
kmod-fglrx-2.6.25.14-69.fc8-8.522-2.8.08.lvn8.x86_64 from installed has 
depsolving problems
  --> Missing Dependency: kernel-x86_64 = 2.6.25.14-69.fc8 is needed by package 
kmod-fglrx-2.6.25.14-69.fc8-8.522-2.8.08.lvn8.x86_64 (installed)
Error: Missing Dependency: kernel-x86_64 = 2.6.25.14-69.fc8 is needed by 
package kmod-fglrx-2.6.25.14-69.fc8-8.522-2.8.08.lvn8.x86_64 (installed)
 at /var/lib/puppet/modules/desktop/manifests/packages.pp:12
err: //Node[bols]/desktopsys/desktop::packages/Package[kmod-nvidia]/ensure: 
change from absent to latest failed: Could not update: Execution of 
'/usr/bin/yum -d 0 -e 0 -y install kmod-nvidia' returned 1: 
kmod-fglrx-2.6.25.14-69.fc8-8.522-2.8.08.lvn8.x86_64 from installed has 
depsolving problems
  --> Missing Dependency: kernel-x86_64 = 2.6.25.14-69.fc8 is needed by package 
kmod-fglrx-2.6.25.14-69.fc8-8.522-2.8.08.lvn8.x86_64 (installed)
xorg-x11-drv-fglrx-8.522-2.8.08.lvn8.x86_64 from installed has depsolving 
problems
  --> xorg-x11-drv-fglrx conflicts with xorg-x11-drv-nvidia
xorg-x11-drv-nvidia-173.14.12-1.lvn8.x86_64 from F8-x86_64-livna has depsolving 
problems
  --> xorg-x11-drv-nvidia conflicts with xorg-x11-drv-fglrx
Error: xorg-x11-drv-nvidia conflicts with xorg-x11-drv-fglrx
Error: xorg-x11-drv-fglrx conflicts with xorg-x11-drv-nvidia
Error: Missing Dependency: kernel-x86_64 = 2.6.25.14-69.fc8 is needed by 
package kmod-fglrx-2.6.25.14-69.fc8-8.522-2.8.08.lvn8.x86_64 (installed)
 at /var/lib/puppet/modules/desktop/manifests/packages.pp:61
</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://reductivelabs.com/redmine/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