[Bug 1882232] Re: install chromium-browser in a chroot fails

2020-06-05 Thread Dimitri John Ledkov
My debconf prompt is different and has options to retry abort skip, or press ok. My screen is larger, is there a scrollbar that is not visible? can you scroll down to skip and press skip? Alternatively, can you use debconf pressed to pressed the answer to the quesiton as Skip:

[Bug 1882232] Re: install chromium-browser in a chroot fails

2020-06-05 Thread Jo K
Ansible use his own module to wrap apt command, and it uses non- interactive way, not just "-y". Anyway i confirm that this fails under a chroot : $ DEBIAN_FRONTEND=noninteractive chroot /target apt-get -y install chromium-browser Reading package lists... Building dependency tree... Reading

[Bug 1882232] Re: install chromium-browser in a chroot fails

2020-06-05 Thread Dimitri John Ledkov
"-y" is not enough to install non-interactive under ansible. Either specify debconf non-interactive frontened, or ask ansible to preseed the debconf answer that you acknowledge the debconf note that the package will provide. -- You received this bug notification because you are a member of

[Bug 1882232] Re: install chromium-browser in a chroot fails

2020-06-05 Thread Jo K
To reproduce apt install ansible -y ansible localhost -m apt -a "name=chromium-browser" You can try it in a container. That's not exactly a chroot but... docker run --rm -it ubuntu:latest /bin/bash apt update && apt install ansible -y ansible localhost -m apt -a "name=chromium-browser" -- You

[Bug 1882232] Re: install chromium-browser in a chroot fails

2020-06-05 Thread Jo K
I did install with "apt install chromium-browser -y" for the demonstration. In my specific case, i use ansible so it is non interactive. That task fails. - name: install browsers apt: state: latest name: - firefox - firefox-locale-fr - chromium-browser -

[Bug 1882232] Re: install chromium-browser in a chroot fails

2020-06-05 Thread Dimitri John Ledkov
That's a debconf note. How did you invoke installation? All package installation is interactive. If you want non-interactive package installation one has to pass options to apt to "do not disturb me" and accept defaults to any questions around installation or upgrades.