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