Bug#588915: postinst: /usr/sbin/update-initramfs: line 199: do_b: unbound variable

2010-08-19 Thread Ben Harris
I can confirm that, having upgraded initramfs-tools, my system now manages 
to configure the package correctly and build a working initrd.  Thanks for 
fixing the problem.


--
Ben Harris, University of Cambridge Computing Service.



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.lnx.2.00.1008191143150.15...@smaug.linux.pwf.cam.ac.uk



Bug#588915: postinst: /usr/sbin/update-initramfs: line 199: do_b: unbound variable

2010-07-13 Thread Ben Harris

Package: initramfs-tools
Version: 0.97.2

When configuring initramfs-tools, this happens:

wraith:~# dpkg --configure initramfs-tools
Setting up initramfs-tools (0.97.2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-5-686
/usr/sbin/update-initramfs: line 199: do_b: unbound variable
dpkg: error processing initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initramfs-tools

Until recently, this system has been running locally-compiled kernels.  I 
recently installed a packaged kernel, linux-image-2.6.32-5-686 version 
2.6.32-15, and this pulled in initramfs-tools for the first time, which 
failed on configuration.


I suspect there's _something_ unusual about my system that causes this 
problem, but better reporting of what it is would be nice.


--
Ben Harris, University of Cambridge Computing Service.



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.lnx.2.00.1007131303340.29...@smaug.linux.pwf.cam.ac.uk



Bug#588915: postinst: /usr/sbin/update-initramfs: line 199: do_b: unbound variable

2010-07-13 Thread Michael Prokop
* Ben Harris bj...@cam.ac.uk [Die Jul 13, 2010 at 01:10:43 +0100]:

 wraith:~# dpkg --configure initramfs-tools
 Setting up initramfs-tools (0.97.2) ...
 update-initramfs: deferring update (trigger activated)
 Processing triggers for initramfs-tools ...
 update-initramfs: Generating /boot/initrd.img-2.6.32-5-686
 /usr/sbin/update-initramfs: line 199: do_b: unbound variable
  
[1]

 Until recently, this system has been running locally-compiled kernels.  I  
 recently installed a packaged kernel, linux-image-2.6.32-5-686 version  
 2.6.32-15, and this pulled in initramfs-tools for the first time, which  
 failed on configuration.

 I suspect there's _something_ unusual about my system that causes this  
 problem, but better reporting of what it is would be nice.

Well, there (pointed via [1]) it is. :)

But sadly you didn't provide details about your configuration as
suggested by reportbug. So please provide at least content of
/etc/kernel-img.conf and /etc/initramfs-tools/update-initramfs.conf

regards,
-mika-


signature.asc
Description: Digital signature


Bug#588915: postinst: /usr/sbin/update-initramfs: line 199: do_b: unbound variable

2010-07-13 Thread Ben Harris

On Tue, 13 Jul 2010, Michael Prokop wrote:


But sadly you didn't provide details about your configuration as
suggested by reportbug. So please provide at least content of
/etc/kernel-img.conf and /etc/initramfs-tools/update-initramfs.conf


Sorry.  This bug (in combination with a bunch of other circumstances) 
means that my normal home directory is AWOL on that machine, and reportbug 
doesn't like being run as root, so I constructed the bug report by hand.


Anyway, I don't have an /etc/kernel-img.conf.  I've attached 
/etc/initramfs-tools/update-initramfs.conf.  FWIW, all the other conffiles 
for initramfs-tools appear to be unmodified as well.


--
Ben Harris, University of Cambridge Computing Service.  Tel: (01223) 334728#
# Configuration file for update-initramfs(8)
#

#
# update_initramfs [ yes | all | no ]
#
# Default is yes
# If set to all update-initramfs will update all initramfs
# If set to no disables any update to initramfs beside kernel upgrade

update_initramfs=yes

#
# backup_initramfs [ yes | no ]
#
# Default is no
# If set to no leaves no .bak backup files.

backup_initramfs=no