Ginkgo master installation script fails

Dear all,

I am trying to install ginkgo (open-release/ginkgo.master) for testing purpose. I get the following error,

    TASK [mongo : Add the mongodb repo to the sources list] ************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: apt.cache.FetchFailedException
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Traceback (most recent call last):\n  File \"/tmp/ansible_RxvjTo/ansible_module_apt_repository.py\", line 565, in <module>\n    main()\n  File \"/tmp/ansible_RxvjTo/ansible_module_apt_repository.py\", line 553, in main\n    cache.update()\n  File \"/usr/lib/python2.7/dist-packages/apt/cache.py\", line 505, in update\n    raise FetchFailedException()\napt.cache.FetchFailedException\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 0}
        to retry, use: --limit @/var/tmp/configuration/playbooks/edx_sandbox.retry

I tried clearing clearing cache (sudo apt-get -y clean && sudo apt-get -y autoclean), but still it fails during the following step,

TASK [server_utils : Install ubuntu system packages] ***************************
failed: [localhost] (item=[u'ack-grep', u'mosh', u'curl', u'tree', u'screen', u'tmux', u'curl', u'vim-tiny', u'dnsutils', u'inetutils-telnet', u'netcat']) => {"failed": true, "item": ["ack-grep", "mosh", "curl", "tree", "screen", "tmux", "curl", "vim-tiny", "dnsutils", "inetutils-telnet", "netcat"], "msg": "Failed to update apt cache."}
        to retry, use: --limit @/var/tmp/configuration/playbooks/edx_sandbox.retry

Can someone help me to resolve this issue ?

Hello and welcome @Siva
could you tell us what type of installation and which version are you trying to install?
Can you manually upgrade currently installed packages using apt?

I am trying to install ginkgo (open-release/ginkgo.master) version. When I execute the native install script, it fails at “TASK [mongo : Add the mongodb repo to the sources list]” step due to apt.cache.FetchFailedException.

I don’t know how to resolve this. What should I do to fix this issue?

looks like that a network problem prevents mongodb from being fetched. try to solve it first.

Last week, I was able to successfully install the same without any issues. This week, if I do the same, error occurs at mongoDB setup, failing to add repo to sources list. When I retry, error occurs at installing ubuntu system packages, failing to update apt cache.

I don’t know what’s wrong.