Skip to content
This repository has been archived by the owner on Feb 21, 2018. It is now read-only.

Repository of installation not authenticated #14

Open
gl00ten opened this issue May 12, 2015 · 0 comments
Open

Repository of installation not authenticated #14

gl00ten opened this issue May 12, 2015 · 0 comments

Comments

@gl00ten
Copy link

gl00ten commented May 12, 2015

The following NEW packages will be installed:
  duo-unix
0 upgraded, 1 newly installed, 0 to remove and 43 not upgraded.
Need to get 301 kB of archives.
After this operation, 868 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  duo-unix
E: There are problems and -y was used without --force-yes

This fixes it, but is a security risk:

  file { "/etc/apt/apt.conf.d/99auth":       
    owner     => root,
    group     => root,
    content   => "APT::Get::AllowUnauthenticated yes;",
    mode      => 644;
  }

But the proper solution would be to add the repository to the allowed repositories.
(like they do for mongo http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ or for puppet https://docs.puppetlabs.com/guides/install_puppet/install_debian_ubuntu.html#step-1-enable-the-puppet-labs-package-repository )

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant