Re: [Puppet Users] installing package giving error

Matthew Burgess
Fri, 18 Oct 2013 10:38:20 -0000

On 18 October 2013 08:04, kampy <narasimha18sv@gmail.com> wrote:

> Hi all,
>
> I am new to puppet. i just started exploring. when i am trying install a
> package it is giving the below error
>
> *$ puppet apply nmap.pp
> err: /Stage[main]/Nmap/Package[nmap]/ensure: change from purged to present
> failed: Execution of ''/usr/bin/apt-get -q -y -o
> DPkg::Options::=--force-confold install nmap'' returned 100:
Reading package
> lists...
> *
>

This suggests that there is an issue with ''apt-get''.  What
happens if you
run:

*/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install nmap*


on the command line?

Regards,

Matt.