firmware package debconf question - firmware-ipw2x00 package pre-installation script subprocess returned error exit status 2
Do you have any idea how to solve this?
Selecting previously unselected package firmware-ipw2x00. Preparing to unpack .../01-firmware-ipw2x00_20190114-2_all.deb ...
firmware-ipw2x00 agree question could not be asked try 'dpkg-reconfigure debconf' to select a frontend other than noninteractive
dpkg: error processing archive /tmp/apt-dpkg-install-DZmDu1/01-firmware-ipw2x00_20190114-2_all.deb (--unpack): new firmware-ipw2x00 package pre-installation script subprocess returned error exit status 2
One workaround I found:
## https://git-tails.immerda.ch/tails/tree/config/chroot_local-preseed/firmware echo b43-fwcutter b43-fwcutter/cut_firmware boolean true | debconf-set-selections echo firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true | debconf-set-selections echo firmware-iwlwifi firmware-iwlwifi/license/accepted boolean true | debconf-set-selections echo firmware-ralink firmware-ralink/license/accepted boolean true | debconf-set-selections
But how to integrate that with
mmdebstrap could have an option to run these commands at the appropriate time? I guess it could be done using
--essential-hook but that seems rather cumbersome.
The essential-hook would be appropriate to preseed debconf questions, yes.
I could also imagine mmdebstrap gaining a command line option --debconfseed=preseed.cfg to avoid having to do --essential-hook='chroot "$1" debconf-set-selections < preseed.cfg'
Though I wonder if having to type 40 characters more is really worth the overhead of having yet another command line option. Are you not running mmdebstrap from a script anyways in your case?
My very use case here is this:
So no, in this case not used by a script.
In my dream world, that whole page https://www.whonix.org/wiki/Kicksecure/chroot could be simplified to a single command. Ideally one that doesn't even require copy/paste. A command that can be typed.
Such as a command line switch "yes, use Debian buster + buster security repository as per normal but also enable the Kicksecure repository".
I am also using mmdebstrap in scripts. One of the most most excellent inventions for my use cases in recent times. Thank you!