Hi,

Haven't tested but can you try:
> package{"aspell-en": ensure => absent, } ->
> package{"aspell":    ensure => absent, }


and see if you can order it. You might also get luck from 'before => '

Cheers,
Den
On 19/08/2011, at 8:56, Jakov Sosic <jso...@srce.hr> wrote:

> Hi.
> 
> I encountered a following problem, if I state for example:
> 
> package{"aspell-en": ensure => absent, }
> package{"aspell":    ensure => absent, }
> 
> I get error in logs because of dependencies. It seems that puppet uses
> 'yum' for installation on CentOS and 'rpm -e' for removal of packages,
> so it cannot handle this kind of dependencies:
> 
> # rpm -e --test aspell-en
> error: Failed dependencies:
>    aspell-en is needed by (installed) aspell-0.60.3-7.1.x86_64
> # rpm -e --test aspell
> error: Failed dependencies:
>    aspell >= 12:0.60 is needed by (installed) aspell-en-6.0-2.1.x86_64
> 
> 
> Do you have any idea or advice how to solve this kind of problems?
> 
> I've searched the list and found:
> 
> http://www.mail-archive.com/puppet-users@googlegroups.com/msg03702.html
> 
> and consensus is that "RPM circular dependencies have nothing to do with
> puppet". OK, but any advice on how to circumvent this issue as elegant
> as possible?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to