You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's usual to find Ubuntu server with multiple architectures installed but docker does not support it.
In case of multiple architectures are enabled on the server the production deploy will fail.
changed: false
module_stderr: |
Traceback (most recent call last):
File "/tmp/ansible_WZuk1q/ansible_module_apt_repository.py", line 551, in
main()
File "/tmp/ansible_WZuk1q/ansible_module_apt_repository.py", line 543, in main
cache.update()
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 473, in update
raise FetchFailedException(e)
apt.cache.FetchFailedException: W:Failed to fetch https://download.docker.com/linux/ubuntu/dists/trusty/InRelease Unable to find expected entry 'stable/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
, E:Some index files failed to download. They have been ignored, or old ones used instead.
module_stdout: ""
msg: "MODULE FAILURE"
rc: 1
It's usual to find Ubuntu server with multiple architectures installed but docker does not support it.
In case of multiple architectures are enabled on the server the production deploy will fail.
changed: false
module_stderr: |
Traceback (most recent call last):
File "/tmp/ansible_WZuk1q/ansible_module_apt_repository.py", line 551, in
main()
File "/tmp/ansible_WZuk1q/ansible_module_apt_repository.py", line 543, in main
cache.update()
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 473, in update
raise FetchFailedException(e)
apt.cache.FetchFailedException: W:Failed to fetch https://download.docker.com/linux/ubuntu/dists/trusty/InRelease Unable to find expected entry 'stable/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
, E:Some index files failed to download. They have been ignored, or old ones used instead.
module_stdout: ""
msg: "MODULE FAILURE"
rc: 1
Solved removing i386 support:
udo dpkg --remove-architecture i386 && sudo apt-cache clean && sudo apt-get update
The text was updated successfully, but these errors were encountered: