warning: the following packages cannot be authenticated!
10,807
Try to add --force-yes
option when you do the apt-get install
. It worked for me.
Related videos on Youtube
Author by
Jugari Cross
Updated on September 18, 2022Comments
-
Jugari Cross almost 2 years
I am trying a local installation of the juju charms.
Deply charm on machine1
copy deb files from
/var/cache/apt/archive
to/root/test
on machine2Modify the
/etc/apt/sources.list
to/root/test
apt-get update
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 over 8 yearsPossible duplicate of Why am I getting authentication errors for packages from an Ubuntu repository?
-
David Foerster over 8 yearsWhich command exactly leads to the error message in step 5?
-
Jugari Cross over 8 years@David, I tried also the same search which appeared as google relevant suggestions. I tried few answers mentioned as part of search result. but none worked. When I deploy mysql, rabbitmq-server, some of the packages python-chardet-whl are being installed. If I install python-chardet-whl on command prompt with the option --force--yes, the package is installed. But if I try the installation without --force-yes option it fails
-
Jugari Cross over 8 yearsShould I change the question to soething relevant like this - Can debian packages from one machine can be installed on another?
-
David Foerster over 8 yearsMaybe… I'm not sure. You should definitely include a reference to the linked question in your question with a statement, that you tried all its answers unsuccessfully. You should also clarify, which command(s) lead(s) to the error message in your step 5.