Hi Matthew,

the same script when i tried from a cloud VM. i am able to install all the 
packages. please help me in resolving the issues.
The environment i am using is a proxy one as i am in company env which has 
some restrictions. 
Do you mean that this may be the problem ?
the IP i am using does have apt-get permissions. 
Please let me know how to get rid of this issue.

Regards,
kampy


On Friday, 18 October 2013 16:18:06 UTC+5:30, kampy wrote:
>
> Hi Matthew,
>
> I am seeing the same error.
>
> # /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install nmap.
> Reading package lists...
> Building dependency tree...
> Reading state information...
> The following extra packages will be installed:
>   libqtwebkit4 libtie-ixhash-perl libxml-twig-perl libxml-xpath-perl nmap
> Suggested packages:
>   libunicode-map8-perl libunicode-string-perl xml-twig-tools
> The following NEW packages will be installed:
>   libnmap-parser-perl libqtwebkit4 libtie-ixhash-perl libxml-twig-perl 
> libxml-xpath-perl nmap nmapsi4 zenmap
> 0 upgraded, 8 newly installed, 0 to remove and 149 not upgraded.
> Need to get 9,174 kB of archives.
> After this operation, 42.1 MB of additional disk space will be used.
> WARNING: The following packages cannot be authenticated!
>   libqtwebkit4 libxml-twig-perl libnmap-parser-perl libtie-ixhash-perl 
> libxml-xpath-perl nmap nmapsi4 zenmap
> E: There are problems and -y was used without --force-yes
>
> Please help me in resolving these errors.
>
> Regards,
> kampy
>
> On Friday, 18 October 2013 16:08:20 UTC+5:30, Matthew Burgess wrote:
>>
>> On 18 October 2013 08:04, kampy <narasi...@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.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to