Nginx error while installing open edX from ironwood.master release

Hi, I am finding the following error while installing open edX version ironwood.master on my server for nginx:

E: There were unauthenticated packages and -y was used without --allow-unauthenticated.

TASK [nginx : Install the nginx package] ***************************************
fatal: [localhost]: FAILED! => {“cache_update_time”: 1571645302, “cache_updated”: true, “changed”: false, “failed”: true, “msg”: “’/usr/bin/apt-get -y -o “Dpkg::Options::=–force-confdef” -o “Dpkg::Options::=–force-confold” install ‘nginx’’ failed: E: There were unauthenticated packages and -y was used without --allow-unauthenticated\n”, “rc”: 100, “stderr”: “E: There were unauthenticated packages and -y was used without --allow-unauthenticated\n”, “stderr_lines”: [“E: There were unauthenticated packages and -y was used without --allow-unauthenticated”], “stdout”: “Reading package lists…\nBuilding dependency tree…\nReading state information…\nThe following NEW packages will be installed:\n nginx\n0 upgraded, 1 newly installed, 0 to remove and 26 not upgraded.\nNeed to get 839 kB of archives.\nAfter this operation, 3007 kB of additional disk space will be used.\nWARNING: The following packages cannot be authenticated!\n nginx\n”, “stdout_lines”: [“Reading package lists…”, “Building dependency tree…”, “Reading state information…”, “The following NEW packages will be installed:”, " nginx", “0 upgraded, 1 newly installed, 0 to remove and 26 not upgraded.”, “Need to get 839 kB of archives.”, “After this operation, 3007 kB of additional disk space will be used.”, “WARNING: The following packages cannot be authenticated!”, " nginx"]}
to retry, use: --limit @/var/tmp/configuration/playbooks/openedx_native.retryPLAY RECAP *********************************************************************
localhost : ok=38 changed=5 unreachable=0 failed=1INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: Update apt-get ------------------------------------------------------------------ 7.66s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: Install the nginx package ------------------------------------------------------- 7.09s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: Install role-independent useful system packages [2] ----------------------------- 6.72s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: Install ubuntu system packages [1] ---------------------------------------------- 6.52s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: pip install virtualenv [1] ------------------------------------------------------ 6.46s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: Gathering Facts ----------------------------------------------------------------- 3.14s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: Install packages ---------------------------------------------------------------- 1.55s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: Copy the templates to their respestive destination [1] -------------------------- 1.55s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: Add apt key --------------------------------------------------------------------- 1.25s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: Update expired apt keys [1] ----------------------------------------------------- 0.97s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing:
Playbook Configure instance(s) finished: 2019-10-21 08:08:23.572689, 162 total tasks. 0:00:54.986047 elapsed.

@wak120191 Have you been able to resolve this issue?

If not, what is the Ubuntu version of the server you’re trying to install it on? Is it from a clean/fresh install of a vanilla Ubuntu image, or one modified by you / your hoster? If the later, it might be worth trying again with the former.

@wak120191 Please don’t start new topics to re-ask the same question.

@nedbat apologies I 'll take care of it in future.

@antoviaque Thank you for looking into this issue. It’s working now. Reason behind it was that downloads were disabled on the remote server.