Hi Antony
On Tue, Jul 13, 2010 at 6:53 AM, Antony Mayi <antonymayi@yahoo.com> wrote:
> Hi,
>
> I am using apt-rpm provider and have following manifest for keeping some
> package at particular version
>
> package { "somepackage":
> ensure => "1.0.0"
> }
>
> however if from some reason the package gets upgraded to some higher
> version, puppet can''t downgrade it because of following error:
>
> Jul 13 11:32:25 server puppetd[14095]:
> (//module/Package[somepackage]/ensure) change from 1.0.1 to 1.0.0 failed:
> Could not update: Execution of ''/usr/bin/apt-get -q -y install
> somepackage=1.0.0'' returned 100: Reading Package Lists... Building
> Dependency Tree... The following packages will be DOWNGRADED somepackage
> E: There are problems and -y was used without --force-yes 0 upgraded, 0
> newly installed, 1 downgraded, 0 removed and 2 not upgraded. Need to get
> 0B/8361B of archives. After unpacking 50B disk space will be freed. at
> /etc/puppet/modules/module/manifests/somepackage.pp:12
>
> is it possible to use the standard ''Package'' resource for
downgrading some
> package with apt-rpm provider?
>
> This is similar situation with yum provider
http://projects.reductivelabs.com/issues/2866
cheers, Antony.>
> --
> 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+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
--
Tony
http://blog.tonyskapunk.net
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.