FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 07-13-2010, 12:10 PM
Ben Harris
 
Default Bug#588915: postinst: /usr/sbin/update-initramfs: line 199: do_b: unbound variable

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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: alpine.LNX.2.00.1007131303340.29381@smaug.linux.pw f.cam.ac.uk">http://lists.debian.org/alpine.LNX.2.00.1007131303340.29381@smaug.linux.pw f.cam.ac.uk
 
Old 07-13-2010, 12:41 PM
Michael Prokop
 
Default Bug#588915: postinst: /usr/sbin/update-initramfs: line 199: do_b: unbound variable

* Ben Harris <bjh21@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-
 
Old 07-13-2010, 01:07 PM
Ben Harris
 
Default Bug#588915: postinst: /usr/sbin/update-initramfs: line 199: do_b: unbound variable

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
 
Old 08-19-2010, 11:59 AM
Ben Harris
 
Default Bug#588915: postinst: /usr/sbin/update-initramfs: line 199: do_b: unbound variable

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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: alpine.LNX.2.00.1008191143150.15471@smaug.linux.pw f.cam.ac.uk">http://lists.debian.org/alpine.LNX.2.00.1008191143150.15471@smaug.linux.pw f.cam.ac.uk
 

Thread Tools




All times are GMT. The time now is 09:37 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org