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 05-29-2010, 04:15 PM
Martin-Éric Racine
 
Default Bug#583695: /usr/sbin/update-initramfs: line 317: 1: unbound variable

Package: initramfs-tools
Version: 0.95
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Setting up initramfs-tools (0.95) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
/usr/sbin/update-initramfs: line 317: 1: 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
E: Sub-process /usr/bin/dpkg returned an error code (1)


- -- Package-specific info:
- -- initramfs sizes
- -- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=cd9a1998-9fb2-4208-aba6-bc2ba8f5e36a ro rootfstype=ext4 quiet splash

- -- /proc/filesystems
ext3
ext2
ext4
fuseblk
vfat

- -- lsmod
Module Size Used by
nls_iso8859_1 3249 0
nls_cp437 4919 0
vfat 8901 0
fat 47767 1 vfat
usb_storage 39425 0
aes_i586 7268 1
aes_generic 26863 1 aes_i586
hidp 11083 0
hid 67032 1 hidp
rfcomm 33421 4
sco 7885 2
bridge 45582 0
stp 1655 1 bridge
bnep 9436 2
l2cap 30624 17 hidp,rfcomm,bnep
ppdev 5259 0
lp 7028 0
parport 32635 2 ppdev,lp
dm_crypt 11331 0
joydev 8708 0
snd_hda_codec_idt 51914 1
snd_hda_intel 21877 2
snd_hda_codec 74201 2 snd_hda_codec_idt,snd_hda_intel
snd_hwdep 5412 1 snd_hda_codec
arc4 1153 2
snd_pcm 70662 2 snd_hda_intel,snd_hda_codec
snd_seq_midi 4557 0
snd_rawmidi 19056 1 snd_seq_midi
snd_seq_midi_event 6003 1 snd_seq_midi
snd_seq 47263 2 snd_seq_midi,snd_seq_midi_event
pcmcia 33024 0
snd_timer 19098 2 snd_pcm,snd_seq
snd_seq_device 5700 3 snd_seq_midi,snd_rawmidi,snd_seq
iwlagn 105566 0
dell_wmi 1793 0
yenta_socket 20408 1
iwlcore 105922 1 iwlagn
snd 54148 13 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_ hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_se q_device
sdhci_pci 5470 0
dell_laptop 6856 0
rsrc_nonstatic 10015 1 yenta_socket
mac80211 204922 2 iwlagn,iwlcore
sdhci 15462 1 sdhci_pci
psmouse 63245 0
dcdbas 5422 1 dell_laptop
btusb 10925 2
bluetooth 49892 10 hidp,rfcomm,sco,bnep,l2cap,btusb
pcmcia_core 32964 3 pcmcia,yenta_socket,rsrc_nonstatic
led_class 2864 2 iwlcore,sdhci
soundcore 6620 1 snd
serio_raw 3978 0
cfg80211 126485 3 iwlagn,iwlcore,mac80211
snd_page_alloc 7076 2 snd_hda_intel,snd_pcm
fbcon 35102 73
tileblit 2031 1 fbcon
font 7557 1 fbcon
bitblit 4707 1 fbcon
softcursor 1189 1 bitblit
vga16fb 11385 0
vgastate 8961 1 vga16fb
i915 282354 2
ohci1394 26950 0
drm_kms_helper 29297 1 i915
intel_agp 24177 2 i915
ieee1394 81181 1 ohci1394
drm 162471 3 i915,drm_kms_helper
tg3 109292 0
agpgart 31724 2 intel_agp,drm
i2c_algo_bit 5028 1 i915
video 17375 1 i915
output 1871 1 video

- -- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto


- -- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-22-generic (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii cpio 2.11-4 GNU cpio -- a program to manage ar
ii findutils 4.4.2-1 utilities for finding files--find,
ii klibc-utils 1.5.18-1 small utilities built with klibc f
ii module-init-tools 3.12~pre2-3 tools for managing Linux kernel mo
ii udev 154-1 /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii busybox 1:1.15.3-1 Tiny utilities for small and embed

initramfs-tools suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwBPZUACgkQeXr56x4Muc0OvQCeOtodJ8yXaA HrHh5w0v3Mw4BY
gZYAmwctWFAZdTCrRY15GqWamyg7PTlQ
=ON1s
-----END PGP SIGNATURE-----



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100529161519.10126.99455.reportbug@eesti.lan">ht tp://lists.debian.org/20100529161519.10126.99455.reportbug@eesti.lan
 
Old 05-30-2010, 07:12 AM
Jonathan Nieder
 
Default Bug#583695: /usr/sbin/update-initramfs: line 317: 1: unbound variable

tags 583695 + patch
quit

Hi Martin-Éric,

Martin-Éric Racine wrote:

> Processing triggers for initramfs-tools ...
> /usr/sbin/update-initramfs: line 317: 1: unbound variable
> dpkg: error processing initramfs-tools (--configure):

Thanks for the warning. I applied the two patches locally
and it seemed to work well; the first one is an unrelated
cosmetic change, the other fixes all unbound variables I
could find by reading through the script. Thoughts welcome.

Jonathan Nieder (2):
update-initramfs: use $* instead of $@
update-initramfs: bind variables before use

update-initramfs | 22 +++++++++++++++-------
1 files changed, 15 insertions(+), 7 deletions(-)




--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100530071257.GA31469@progeny.tock">http://lists.debian.org/20100530071257.GA31469@progeny.tock
 

Thread Tools




All times are GMT. The time now is 03:28 AM.

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