This worked after I used the right name for the package.
"gtk2" instead of "gtk"

This was the error I was getting and I should have paid more
attention:
err: //Node[talos-r3-fed-002.build.mozilla.org]/staging-talosslave/
talos_fedora/Package[gtk]/ensure: change from absent to latest failed:
Could not update: Execution of '/bin/rpm -i --oldpackage
http://staging-puppet.build.mozilla.org//talos/linux/RPMS/i686/gtk2-2.18.9-3.fc12.i686.rpm'
returned 1:        file /usr/bin/gdk-pixbuf-query-loaders-32 from
install of gtk2-2.18.9-3.fc12.i686 conflicts with file from package
gtk2-2.18.3-19.fc12.i686


On Apr 16, 2:54 pm, armenzg <arme...@gmail.com> wrote:
> Hi I am trying to upgrade gtk from gtk2.18.3-19 to gtk2.18.9-3.
>
> I have downloaded the package that I want in a shared drive.
>
> class talos_fedora {
>     Package{ provider => rpm, ensure => installed }
>
>     package {
>         "gtk":
>             source => "${httproot}/talos/linux/RPMS/${hardwaremodel}/
> gtk2-2.18.9-3.fc12.${hardwaremodel}.rpm";
>     }
>
> }
>
> It doesn't allow me to install because there is an existent version.
>
> This is what puppet tries:
> /bin/rpm -i 
> --oldpackagehttp://staging-puppet.build.mozilla.org//talos/linux/RPMS/i686/gtk2-2...
> but it conflicts with the installed version.
>
> I want to use something like "rpm -U". How do I do that?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://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-us...@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