This bug was fixed in the package console-setup - 1.178ubuntu2.2
--------------- console-setup (1.178ubuntu2.2) bionic; urgency=medium
* debian/console-setup-udeb.postinst: Guard the dpkg call in the postinst, so it isn't attempted in the debian-installer environment (LP: #1782835)
console-setup (1.178ubuntu2.1) bionic; urgency=medium
* debian/keyboard-configuration.postinst: - Don't change /etc/default/keyboard at package upgrades on desktops, since it may conflict with how desktops deal with keyboard configuration (LP: #1762952).
-- Adam Conrad <email address hidden> Fri, 20 Jul 2018 14:22:45 -0600
This bug was fixed in the package console-setup - 1.178ubuntu2.2
---------------
console-setup (1.178ubuntu2.2) bionic; urgency=medium
* debian/ console- setup-udeb. postinst: Guard the dpkg call in the postinst,
so it isn't attempted in the debian-installer environment (LP: #1782835)
console-setup (1.178ubuntu2.1) bionic; urgency=medium
* debian/ keyboard- configuration. postinst: keyboard at package upgrades on
- Don't change /etc/default/
desktops, since it may conflict with how desktops deal with
keyboard configuration (LP: #1762952).
-- Adam Conrad <email address hidden> Fri, 20 Jul 2018 14:22:45 -0600