Comments (2)
fatal: [host1.example.org]: FAILED! => {"changed": false, "cmd": "apt-get install python-apt -y -q", "failed": true, "msg": "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/d/distro-info-data/distro-info-data_0.28ubuntu0.8_all.deb Temporary failure resolving 'archive.ubuntu.com'\n\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-inst2.0_1.2.26_amd64.deb Temporary failure resolving 'archive.ubuntu.com'\n\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/lsb/lsb-release_9.20160110ubuntu0.2_all.deb Temporary failure resolving 'archive.ubuntu.com'\n\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/i/iso-codes/iso-codes_3.65-1_all.deb Temporary failure resolving 'archive.ubuntu.com'\n\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-apt/python-apt-common_1.1.0~beta1ubuntu0.16.04.1_all.deb Temporary failure resolving 'archive.ubuntu.com'\n\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-apt/python-apt_1.1.0~beta1ubuntu0.16.04.1_amd64.deb Temporary failure resolving 'archive.ubuntu.com'\n\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/x/xz-utils/xz-utils_5.1.1alpha+20120614-2ubuntu2_amd64.deb Temporary failure resolving 'archive.ubuntu.com'\n\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?", "rc": 100, "stderr": "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/d/distro-info-data/distro-info-data_0.28ubuntu0.8_all.deb Temporary failure resolving 'archive.ubuntu.com'\n\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-inst2.0_1.2.26_amd64.deb Temporary failure resolving 'archive.ubuntu.com'\n\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/lsb/lsb-release_9.20160110ubuntu0.2_all.deb Temporary failure resolving 'archive.ubuntu.com'\n\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/i/iso-codes/iso-codes_3.65-1_all.deb Temporary failure resolving 'archive.ubuntu.com'\n\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-apt/python-apt-common_1.1.0~beta1ubuntu0.16.04.1_all.deb Temporary failure resolving 'archive.ubuntu.com'\n\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-apt/python-apt_1.1.0~beta1ubuntu0.16.04.1_amd64.deb Temporary failure resolving 'archive.ubuntu.com'\n\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/x/xz-utils/xz-utils_5.1.1alpha+20120614-2ubuntu2_amd64.deb Temporary failure resolving 'archive.ubuntu.com'\n\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "stderr_lines": ["E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/d/distro-info-data/distro-info-data_0.28ubuntu0.8_all.deb Temporary failure resolving 'archive.ubuntu.com'", "", "E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-inst2.0_1.2.26_amd64.deb Temporary failure resolving 'archive.ubuntu.com'", "", "E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/lsb/lsb-release_9.20160110ubuntu0.2_all.deb Temporary failure resolving 'archive.ubuntu.com'", "", "E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/i/iso-codes/iso-codes_3.65-1_all.deb Temporary failure resolving 'archive.ubuntu.com'", "", "E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-apt/python-apt-common_1.1.0~beta1ubuntu0.16.04.1_all.deb Temporary failure resolving 'archive.ubuntu.com'", "", "E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-apt/python-apt_1.1.0~beta1ubuntu0.16.04.1_amd64.deb Temporary failure resolving 'archive.ubuntu.com'", "", "E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/x/xz-utils/xz-utils_5.1.1alpha+20120614-2ubuntu2_amd64.deb Temporary failure resolving 'archive.ubuntu.com'", "", "E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n distro-info-data iso-codes libapt-inst2.0 lsb-release python-apt-common\n xz-utils\nSuggested packages:\n isoquery lsb python-apt-dbg python-apt-doc\nThe following NEW packages will be installed:\n distro-info-data iso-codes libapt-inst2.0 lsb-release python-apt\n python-apt-common xz-utils\n0 upgraded, 7 newly installed, 0 to remove and 2 not upgraded.\nNeed to get 2573 kB of archives.\nAfter this operation, 18.2 MB of additional disk space will be used.\nErr:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 distro-info-data all 0.28ubuntu0.8\n Temporary failure resolving 'archive.ubuntu.com'\nErr:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapt-inst2.0 amd64 1.2.26\n Temporary failure resolving 'archive.ubuntu.com'\nErr:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 distro-info-data all 0.28ubuntu0.8\n Temporary failure resolving 'archive.ubuntu.com'\nErr:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 lsb-release all 9.20160110ubuntu0.2\n Temporary failure resolving 'archive.ubuntu.com'\nErr:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 iso-codes all 3.65-1\n Temporary failure resolving 'archive.ubuntu.com'\nErr:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-apt-common all 1.1.0~beta1ubuntu0.16.04.1\n Temporary failure resolving 'archive.ubuntu.com'\nErr:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-apt amd64 1.1.0~beta1ubuntu0.16.04.1\n Temporary failure resolving 'archive.ubuntu.com'\nErr:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 xz-utils amd64 5.1.1alpha+20120614-2ubuntu2\n Temporary failure resolving 'archive.ubuntu.com'\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " distro-info-data iso-codes libapt-inst2.0 lsb-release python-apt-common", " xz-utils", "Suggested packages:", " isoquery lsb python-apt-dbg python-apt-doc", "The following NEW packages will be installed:", " distro-info-data iso-codes libapt-inst2.0 lsb-release python-apt", " python-apt-common xz-utils", "0 upgraded, 7 newly installed, 0 to remove and 2 not upgraded.", "Need to get 2573 kB of archives.", "After this operation, 18.2 MB of additional disk space will be used.", "Err:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 distro-info-data all 0.28ubuntu0.8", " Temporary failure resolving 'archive.ubuntu.com'", "Err:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapt-inst2.0 amd64 1.2.26", " Temporary failure resolving 'archive.ubuntu.com'", "Err:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 distro-info-data all 0.28ubuntu0.8", " Temporary failure resolving 'archive.ubuntu.com'", "Err:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 lsb-release all 9.20160110ubuntu0.2", " Temporary failure resolving 'archive.ubuntu.com'", "Err:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 iso-codes all 3.65-1", " Temporary failure resolving 'archive.ubuntu.com'", "Err:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-apt-common all 1.1.0~beta1ubuntu0.16.04.1", " Temporary failure resolving 'archive.ubuntu.com'", "Err:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-apt amd64 1.1.0~beta1ubuntu0.16.04.1", " Temporary failure resolving 'archive.ubuntu.com'", "Err:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 xz-utils amd64 5.1.1alpha+20120614-2ubuntu2", " Temporary failure resolving 'archive.ubuntu.com'"]}
from ansible-interactive-tutorial.
This page helped
https://stackoverflow.com/questions/24991136/docker-build-could-not-resolve-archive-ubuntu-com-apt-get-fails-to-install-a
from ansible-interactive-tutorial.
Related Issues (20)
- Some error occurs in lesson 14
- Nothing happens on 7 ( Playbook conditionals ) step HOT 1
- Docker: Invalid reference format : repository name must be lowercase HOT 1
- Tutorial 13. Apache_tasks.yml doesnt look to be copied properly HOT 1
- Line not printing
- Cannot type in lesson prompt HOT 1
- Lesson Menu doesn´t show up in Ubuntu 18.04.2 LTS (Bionic Beaver) Subsystem for Windows 10 HOT 7
- host{0,1,2}.example.org ssh authentication fails HOT 1
- Replace state=installed with state=present HOT 1
- ansible-interactive-tutorial for docker HOT 6
- Link to available roles in lesson 14 leads nowhere HOT 2
- Minor issue in tutorial 14 - geerlingguy.java is not installed
- Does not work with podman
- Broken link in lesson 3: "First modules and facts" HOT 1
- "sh" command causes "panic: runtime error: slice bounds out of range"
- Nothing happening after Copy Module on lesson 3 HOT 1
- Level 14 error. HOT 1
- [Enhancement] A Feature to save the session ?
- Thanks!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-interactive-tutorial.