d-i step "Configure the keyboard" fails

Bug #1782835 reported by dann frazier
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
console-setup (Ubuntu)
Fix Released
Undecided
Adam Conrad
Bionic
Fix Released
Undecided
Adam Conrad

Bug Description

Testing a bionic build of d-i w/ proposed results in a failure.

From d-i's /var/log/syslog:

Jul 20 20:01:04 main-menu[897]: INFO: Menu item 'di-utils-shell' selected
Jul 20 20:03:23 main-menu[897]: INFO: Menu item 'console-setup-udeb' selected
Jul 20 20:03:25 main-menu[897]: (process:1567): /var/lib/dpkg/info/console-setup-udeb.postinst: line 52: dpkg-query: not found
Jul 20 20:03:25 main-menu[897]: WARNING **: Configuring 'console-setup-udeb' failed with error code 127
Jul 20 20:03:25 main-menu[897]: WARNING **: Menu item 'console-setup-udeb' failed.
Jul 20 20:03:41 main-menu[897]: INFO: Menu item 'di-utils-shell' selected
Jul 20 20:03:46 kernel: [ 224.155631] random: crng init done

dann frazier (dannf)
Changed in linux (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1782835

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu Bionic):
status: New → Incomplete
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

This might be related to the fix of bug #1762952, whose purpose is to not accomplish keyboard configuration in connection with an upgrade of the keyboard-configuration package.

The complaint seems to be "dpkg-query: not found", and the dpkg-query command is indeed used in the pending change. Is d-i run in an environment where dpkg is not present?

Adam Conrad (adconrad)
affects: linux (Ubuntu) → console-setup (Ubuntu)
Changed in console-setup (Ubuntu):
assignee: nobody → Adam Conrad (adconrad)
importance: Critical → Undecided
status: Incomplete → New
status: New → Fix Committed
Changed in console-setup (Ubuntu Bionic):
assignee: nobody → Adam Conrad (adconrad)
status: Incomplete → Confirmed
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello dann, or anyone else affected,

Accepted console-setup into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/console-setup/1.178ubuntu2.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in console-setup (Ubuntu Bionic):
status: Confirmed → Fix Committed
tags: added: verification-needed verification-needed-bionic
Revision history for this message
dann frazier (dannf) wrote :

I rebuilt bionic d-i against proposed and the problem is now gone.

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package console-setup - 1.178ubuntu4

---------------
console-setup (1.178ubuntu4) cosmic; 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)

 -- Adam Conrad <email address hidden> Fri, 20 Jul 2018 14:22:45 -0600

Changed in console-setup (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in console-setup (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of the Stable Release Update for console-setup has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.