Package: src:linux
Version: 3.14.13-2
Severity: normal

linux-image-$KVER's postinst requires perl-modules (use File::stat;), 
but only perl-base is essential, accordingly the postinst fails in a 
minimal environment:

# cdebootstrap --arch=amd64 --flavour=minimal sid /mnt/ 
http://ftp.debian.org/debian/
# chroot /mnt/ /bin/bash
# apt update
# apt install linux-image-3.14-2-amd64
Setting up linux-image-3.14-2-amd64 (3.14.13-2) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 
/usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 
/usr/share/perl/5.18 /usr/local/lib/site_perl .) at 
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Can't locate File/stat.pm in @INC (you may need to install the File::stat 
module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 
/usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 
/usr/share/perl/5.18 /usr/local/lib/site_perl .) at 
/var/lib/dpkg/info/linux-image-3.14-2-amd64.postinst line 8.
BEGIN failed--compilation aborted at 
/var/lib/dpkg/info/linux-image-3.14-2-amd64.postinst line 8.
dpkg: error processing package linux-image-3.14-2-amd64 (--configure):
 subprocess installed post-installation script returned error exit status 2

Regards
        Stefan Lippers-Hollmann

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to