I am trying to install hudson using puppet and I get the following error: err: /Stage[main]//Node[default]/Package[hudson]/ensure: change from absent to present failed: Execution of ''/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install hudson'' returned 100: Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: hudson 0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded. Need to get 0 B/56.2 MB of archives. After this operation, 57.6 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! hudson E: There are problems and -y was used without --force-yes I looked through the other similar errors in here but I do not have any missing keys. So, any clue on how to fix it? -- 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.
Also, during manual installation of hudson , this is necessary: Install these packages without verification [y/N]? I am not sure if it is not able to take "y" during installation. Please help, thanks! On Sep 30, 10:41 am, Namrata <namratakulka...@gmail.com> wrote:> I am trying to install hudson using puppet and I get the following > error: > > err: /Stage[main]//Node[default]/Package[hudson]/ensure: change from > absent to present failed: Execution of ''/usr/bin/apt-get -q -y -o > DPkg::Options::=--force-confold install hudson'' returned 100: Reading > package lists... > Building dependency tree... > Reading state information... > The following NEW packages will be installed: > hudson > 0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded. > Need to get 0 B/56.2 MB of archives. > After this operation, 57.6 MB of additional disk space will be used. > WARNING: The following packages cannot be authenticated! > hudson > E: There are problems and -y was used without --force-yes > > I looked through the other similar errors in here but I do not have > any missing keys. So, any clue on how to fix it?-- 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.
Felix Frank
2011-Oct-10 14:30 UTC
Re: [Puppet Users] Re: Package cannot be installed error.
Hi, in case you''re still wondering, you''re lacking the public key for the repository that serves the hudson package. Make sure to import the key using apt-key, then run apt-get update. For your security, you should make sure to use verified keys for all the repos you use. HTH, Felix On 09/30/2011 11:03 PM, Namrata wrote:> Also, during manual installation of hudson , this is necessary: > > Install these packages without verification [y/N]? > > I am not sure if it is not able to take "y" during installation. > Please help, thanks! > > On Sep 30, 10:41 am, Namrata <namratakulka...@gmail.com> wrote: >> I am trying to install hudson using puppet and I get the following >> error: >> >> err: /Stage[main]//Node[default]/Package[hudson]/ensure: change from >> absent to present failed: Execution of ''/usr/bin/apt-get -q -y -o >> DPkg::Options::=--force-confold install hudson'' returned 100: Reading >> package lists... >> Building dependency tree... >> Reading state information... >> The following NEW packages will be installed: >> hudson >> 0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded. >> Need to get 0 B/56.2 MB of archives. >> After this operation, 57.6 MB of additional disk space will be used. >> WARNING: The following packages cannot be authenticated! >> hudson >> E: There are problems and -y was used without --force-yes >> >> I looked through the other similar errors in here but I do not have >> any missing keys. So, any clue on how to fix it? >-- 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.