Re: [Puppet Users] installing package giving error

kampy
Fri, 18 Oct 2013 10:48:06 -0000

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
<javascript:>> 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.