I had this issue wit cloudinit. The locale was wrongly set.
`$ do-release-upgrade` returns the same kind of result.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874195
Title:
ansible is not able
I just confirmed, that it is not the apt proxy I am using. I will now try the
new automated installer instead of preseeding.
Apparently it has something to do with the preseeding I did. Actually
apt/apt-get/aptitude worked fine and have no problems to install packages. Just
the ansible-apt modu
Alright. The Ansible module is mostly using the python3-apt bindings
directly, so I would suggest debugging APT first rather than adding the
whole Ansible stack on top in your debugging :-).
I'll close the bug now then.
** Changed in: ansible (Ubuntu)
Status: New => Invalid
--
You receiv
I just did a fresh install of 20.04 from the live cd, and the playbook
works there as well. It must be something with my automated installation
method. Currently I am still using preseed and an apt proxy. I will
continue debugging the setup, as it still does not work in this
environment.
--
You r
Thats great info. At least it generally is able to run.
The shebang is there to be able to call the playbook as ./apt.yml.
For testing I removed the first two lines (comments) and on my fresh focal
system it still fails:
PLAY [Install packages]
In addition, could you provide the verbose output from ansible-playbook
-vvv apt.yml ?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874195
Title:
ansible is not able to install packages via apt on
Just created a new focal container, apt update, apt upgrade, apt install
ansible. I copied your playbook, but without the shebang (not sure
what's that doing there?) and ran it.
It works fine. Perhaps you could try to remove the shebang (first line
being ---), and run it with ansible-playbook apt.
Yes,
I already reduced the playbook to the following:
#!/usr/bin/env ansible-playbook
#
---
- name: Install packages
hosts: localhost
tasks:
- name: install apt packages
apt:
pkg:
- git
become: true
It still fails.
--
You rec
Hi Ralf,
Could you try removing "update_cache: no", since cache_valid_time sets it to
yes explicitly.
Just a hunch this could be your apt cache not being up-to-date before you try
to install...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed t
apport information
** Tags added: apport-collected focal
** Description changed:
When using ansible on 20.04, package installation via apt fail.
Consider the following playbook:
#!/usr/bin/env ansible-playbook
#
---
- name: Install packages
hosts: localhost
tasks:
I just confirmed that on Ubuntu 18.04 the playbook works fine.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874195
Title:
ansible is not able to install packages via apt on 20.04
To manage notifi
Thank you for taking the time to report this bug and helping to make
Ubuntu better. Please execute the following command only once, as it
will automatically gather debugging information, in a terminal:
apport-collect 1874195
When reporting bugs in the future please use apport by using 'ubuntu-
bu
12 matches
Mail list logo