4

I am trying a local installation of the juju charms.

  1. Deply charm on machine1

  2. copy deb files from /var/cache/apt/archive to /root/test on machine2

  3. Modify the /etc/apt/sources.list to /root/test

  4. apt-get update

  5. When I try to deploy the charm on the machine2, I get the following error:

    warning: the following packages cannot be authenticated!
    

I did the search on error and tried few tricks like apt-key update but it did not work. How to resolve this?

David Foerster
  • 36,264
  • 56
  • 94
  • 147

1 Answers1

3

Try to add --force-yes option when you do the apt-get install. It worked for me.

Kulfy
  • 17,696
Eric Tan
  • 131