I'm back. Now the problem I have has migrated to Debian 11. I am trying
to update packages which gives me the error below. So then I try to install
grub-pc by its own which does not work. Any further ideas?
Here is the code I am using and still I get the error "dpkg: dependency
problems prev
The module requires the utils, but the debconf CLI itself does not and
should already be installed.
--
Brian Coca (he/him/yo)
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails fro
[image: Kathy L's profile photo]
I took your suggestion to use debconf. The only issue is that in order to
use debconf, I have to install debconf-utils. And when I try to install
that, it tries to install grub-pc and the dialog appears.
I'm not sure where to go from here - I can't update gr
In a continuation of my grub-pc issue I was going to install debconf-utils,
then in debconf-set-selections set the frontend to Noninteractive then
update grub-pc. However, when I install debconf-utils, it tries to install
grub-pc which brings up a dialog, which I don't want.
I'm not sure where
that should be good, the other is probably the resolved path from a
symlink (/dev/ does this a lot)
--
--
Brian Coca (he/him/yo)
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving ema
That make sense. I am trying to upgrade grub-pc which then prompts for the
hard drive where / is mounted. When I type in debconf-show grub-pc I get a
number of variables, including "install_devices". I expect this to be
something like /dev/sda or dev/nvme0n1p1, but instead it reads something
Sorry, I meant debconf, not dpkg_selections (not sure why I keep
confusing those), here is an example of me doing the same for
installing java package.
https://github.com/bcoca/ansible-oracle_java7-role/blob/master/tasks/main.yml#L17
--
--
Brian Coca (he/him/yo)
--
You received this me
Not 'holding' but you pre populate the questions to avoid the
prompting. Sadly `DEBIAN-FRONTEND: noninteractive` is not enough to
avoid prompts when the package requires and answer, so the only way
around this issue is 'answering before they ask', dpkg_selections
allows you to do this.
--
---
Brian,
Not quite sure I understand. Will holding grub-pc cause other problems in
the long-term?
On Tuesday, November 28, 2023 at 2:12:35 PM UTC-5 Brian Coca wrote:
> See dpkg_selections module to PRE populate answers/settings for
> packages when there are no defaults or (like your case) the def
See dpkg_selections module to PRE populate answers/settings for
packages when there are no defaults or (like your case) the defaults
do not work.
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/dpkg_selections_module.html
--
--
Brian Coca
--
You received this message
Sent from Gmail Mobile
On Tue, 28 Nov 2023 at 17:43, Kathy L wrote:
> I have an ansible playbook running against a Debian 10 VM. At the top of
> my playbook I have this environment variable:
> environment:
> DEBIAN-FRONTEND: noninteractive
That variable has a '-
I have an ansible playbook running against a Debian 10 VM. At the top of my
playbook I have this environment variable:
environment:
DEBIAN-FRONTEND: noninteractive
When I try to install any package, or update all packages I get the
following error:
12 matches
Mail list logo