After fixing the prefixed / at line one the repacked deb still complains:
(Reading database ... 318717 files and directories currently installed.) Unpacking alsa-base (from alsa-base_1.0.20+dfsg-1ubuntu1_all.deb) ... /var/lib/dpkg/tmp.ci/preinst: line 42: syntax error near unexpected token `<<<' dpkg: error processing alsa-base_1.0.20+dfsg-1ubuntu1_all.deb (--install): subprocess pre-installation script returned error exit status 2 Errors were encountered while processing: alsa-base_1.0.20+dfsg-1ubuntu1_all.deb
After fixing the prefixed / at line one the repacked deb still complains:
(Reading database ... 318717 files and directories currently installed.) 1.0.20+ dfsg-1ubuntu1_ all.deb) ... dpkg/tmp. ci/preinst: line 42: syntax error near unexpected token `<<<' 1.0.20+ dfsg-1ubuntu1_ all.deb (--install): 1.0.20+ dfsg-1ubuntu1_ all.deb
Unpacking alsa-base (from alsa-base_
/var/lib/
dpkg: error processing alsa-base_
subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
alsa-base_