Bug#900806: console-setup: 'lsmod: not found' during install
Package: console-setup
Version: 1.184
Severity: normal
console-setup uses 'lsmod' in config script but does not depend on kmod (or a depend package). Thus 'lsmod: not found' messages are thrown when installing console-setup on a minbase install.
STEPS TO REPRODUCE:
debootstrap --variant=minbase --include='inetutils-ping,iproute2' sid http://httpredir.debian.org/debian
apt-get update
apt-get install -y dialog libreadline-dev apt-utils
apt-get install -y console-setup
OUTPUT:
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
[...]
0 upgraded, 70 newly installed, 0 to remove and 0 not upgraded.
Need to get 33.2 MB of archives.
After this operation, 143 MB of additional disk space will be used.
[...]
Get:11 http://ftp.de.debian.org/pub/debian sid/main amd64 console-setup all 1.184 [89.4 kB]
[...]
Preconfiguring packages ...
/tmp/console-setup.config.2ZRvpw: 1114: /tmp/console-setup.config.2ZRvpw: lsmod: not found
Fetched 33.2 MB in 6s (5689 kB/s)
[...]
Selecting previously unselected package console-setup.
Preparing to unpack .../10-console-setup_1.184_all.deb ...
Unpacking console-setup (1.184) ...
[...]
Setting up console-setup (1.184) ...
/var/lib/dpkg/info/console-setup.config: 1114: /var/lib/dpkg/info/console-setup.config: lsmod: not found
[...]
Cheers
Jakob
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages console-setup depends on:
ii console-setup-linux 1.184
ii debconf 1.5.66
ii keyboard-configuration 1.184
ii xkb-data 2.23.1-1
console-setup recommends no packages.
Versions of packages console-setup suggests:
ii locales 2.27-3
ii lsb-base 9.20170808
Versions of packages keyboard-configuration depends on:
ii debconf 1.5.66
ii liblocale-gettext-perl 1.07-3+b3
Versions of packages console-setup-linux depends on:
ii init-system-helpers 1.51
ii kbd 2.0.4-3
ii keyboard-configuration 1.184
console-setup-linux suggests no packages.
Versions of packages console-setup is related to:
pn console-common <none>
pn console-data <none>
pn console-tools <none>
pn gnome-control-center <none>
ii kbd 2.0.4-3
ii systemd 238-5
-- debconf information:
keyboard-configuration/optionscode:
keyboard-configuration/toggle: No toggling
keyboard-configuration/unsupported_options: true
keyboard-configuration/other:
console-setup/framebuffer_only:
console-setup/fontface47: Fixed
keyboard-configuration/variant: English (US)
debian-installer/console-setup-udeb/title:
console-setup/store_defaults_in_debconf_db: true
keyboard-configuration/store_defaults_in_debconf_db: true
keyboard-configuration/altgr: The default for the keyboard layout
console-setup/codeset47: Guess optimal character set
keyboard-configuration/modelcode: pc105
keyboard-configuration/variantcode:
keyboard-configuration/layout:
keyboard-configuration/layoutcode: us
keyboard-configuration/compose: No compose key
console-setup/fontsize-fb47: 8x16
keyboard-configuration/xkb-keymap: us
console-setup/fontsize: 8x16
keyboard-configuration/unsupported_layout: true
console-setup/fontsize-text47: 8x16
keyboard-configuration/switch: No temporary switch
keyboard-configuration/model: Generic 105-key PC (intl.)
console-setup/charmap47: UTF-8
console-setup/codesetcode: guess
console-setup/guess_font:
keyboard-configuration/unsupported_config_layout: true
keyboard-configuration/unsupported_config_options: true
keyboard-configuration/ctrl_alt_bksp: false
console-setup/use_system_font:
Reply to: