Debian Bug report logs - #968122
keyboard-configuration: Empty /sys/bus/usb/devices causes runtime error in the debconf script

version graph

Package: keyboard-configuration; Maintainer for keyboard-configuration is Debian Install System Team <[email protected]>; Source for keyboard-configuration is src:console-setup (PTS, buildd, popcon).

Reported by: Ryutaroh Matsumoto <[email protected]>

Date: Sun, 9 Aug 2020 12:03:03 UTC

Severity: important

Found in version console-setup/1.196

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#968122; Package keyboard-configuration. (Sun, 09 Aug 2020 12:03:05 GMT) (full text, mbox, link).


Acknowledgement sent to Ryutaroh Matsumoto <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Install System Team <[email protected]>. (Sun, 09 Aug 2020 12:03:05 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Ryutaroh Matsumoto <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: keyboard-configuration: Empty /sys/bus/usb/devices causes runtime error in the debconf script
Date: Sun, 09 Aug 2020 21:01:01 +0900
Package: keyboard-configuration
Version: 1.196
Severity: important

Dear Maintainer,

By
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968109
I have empty /sys/bus/usb/devices directory.

Then dpkg-reconfigure keyboard-configuration fails as

root@rpi4-20200805:~# dpkg-reconfigure keyboard-configuration
cat: '/sys/bus/usb/devices/*:*/bInterfaceClass': No such file or directory
cat: '/sys/bus/usb/devices/*:*/bInterfaceSubClass': No such file or directory
cat: '/sys/bus/usb/devices/*:*/bInterfaceProtocol': No such file or directory

and I have no method to configure my keyboard layout.

Best regards, Ryutaroh Matsumoto

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: arm64 (aarch64)

Kernel: Linux 5.7.0-2-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages keyboard-configuration depends on:
ii  debconf                 1.5.74
ii  liblocale-gettext-perl  1.07-4

keyboard-configuration recommends no packages.

keyboard-configuration suggests no packages.

Versions of packages keyboard-configuration is related to:
pn  console-common        <none>
pn  console-data          <none>
pn  console-tools         <none>
pn  gnome-control-center  <none>
pn  kbd                   <none>
ii  systemd               246-2

-- debconf information:
  keyboard-configuration/ctrl_alt_bksp: false
  keyboard-configuration/altgr: Right Alt (AltGr)
  keyboard-configuration/layoutcode: us
  keyboard-configuration/xkb-keymap:
  debian-installer/console-setup-udeb/title:
  keyboard-configuration/compose: No compose key
  keyboard-configuration/unsupported_config_layout: true
  keyboard-configuration/store_defaults_in_debconf_db: true
  keyboard-configuration/switch: No temporary switch
  keyboard-configuration/variant:
  keyboard-configuration/optionscode:
  keyboard-configuration/unsupported_layout: true
  keyboard-configuration/unsupported_options: true
  keyboard-configuration/toggle: Alt+Shift
  keyboard-configuration/unsupported_config_options: true
  keyboard-configuration/layout:
  keyboard-configuration/modelcode: pc105
  keyboard-configuration/model:
  keyboard-configuration/variantcode:
  keyboard-configuration/other:



Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#968122; Package keyboard-configuration. (Sun, 11 Feb 2024 14:39:02 GMT) (full text, mbox, link).


Acknowledgement sent to Thomas Lange <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (Sun, 11 Feb 2024 14:39:02 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Thomas Lange <[email protected]>
To: [email protected]
Subject: I confirm this bug
Date: Sun, 11 Feb 2024 15:34:45 +0100
I can confirm this bug.

Using qemu/kvm with autopkgtests I have
keyboard-configuration 1.221 inside the testbed and the postinst
script of keyboard-configuration fails with

cat: '/sys/bus/usb/devices/*:*/bInterfaceClass': No such file or directory
cat: '/sys/bus/usb/devices/*:*/bInterfaceSubClass': No such file or directory
cat: '/sys/bus/usb/devices/*:*/bInterfaceProtocol': No such file or directory

-- 
regards Thomas



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 15:41:47 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.