--- Begin Message ---
Package: linux-base
Version: 2.6.32-12
Severity: important
Current version won't install here:
% apt-get install linux-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-base is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 240 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up linux-base (2.6.32-12) ...
Use of uninitialized value $label_len in numeric gt (>) at /var/lib/dpkg/info/linux-base.postinst line 1338.
Use of uninitialized value $label_len in subtraction (-) at /var/lib/dpkg/info/linux-base.postinst line 1339.
Logical sector size (20487 bytes) is not a multiple of the physical sector size.
dosfslabel failed: 256 at /var/lib/dpkg/info/linux-base.postinst line 1042, <STDIN> line 10.
dpkg: error processing linux-base (--configure):
subprocess installed post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of linux-image-2.6.32-5-686:
linux-image-2.6.32-5-686 depends on linux-base (>= 2.6.32-12); however:
Package linux-base is not configured yet.
dpkg: error processing linux-image-2.6.32-5-686 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-2.6-686:
linux-image-2.6-686 depends on linux-image-2.6.32-5-686; however:
Package linux-image-2.6.32-5-686 is not configured yet.
dpkg: error processing linux-image-2.6-686 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-base
linux-image-2.6.32-5-686
linux-image-2.6-686
Thought it might be a 'bash'-ism problems, but switching shells from
'bash' to 'dash' and retrying made no apparent difference.
I looked at '/var/lib/dpkg/info/linux-base.postinst' where '$label_len' is set:
% grep -nA 19 'my %filesystem_types' /var/lib/dpkg/info/linux-base.postinst
{ ... not necessary to show this ... }
And:
% egrep -n 'label.*filesystem_types' /var/lib/dpkg/info/linux-base.postinst
1316: my $label_len = $filesystem_types{$type}->{len};
I noticed there's no failsafe value should the answer be "none of the above". My in-use
file systems are:
% nocomment () { grep -v -e '^[[:space:]]*$\|^[[:space:]]*#.*$' $1 ; }
% nocomment < /etc/fstab | expand | tr -s ' ' | cut -d ' ' -f 3 | sort -u | tr '\n' ' '; echo
auto ext3 iso9660 none proc reiserfs swap umsdos usbfs vfat
That 'none' belongs to a 'bind' file system that lives on an 'ext3' partition:
% grep mnt/arc /etc/fstab
/dev/hdb5 /mnt/arc ext3 defaults,relatime,user,rw 0 0
/mnt/arc/tmp /tmp none bind
Tried commenting out the latter line, and rebooting. Then tried installing again,
and it still failed the same way. Drat.
HTH...
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Versions of packages linux-base depends on:
ii debconf [debconf-2.0] 1.5.32 Debian configuration management sy
ii libapt-pkg-perl 0.1.24 Perl interface to libapt-pkg
ii libuuid-perl 0.02-3+b1 Perl extension for using UUID inte
ii udev 153-2 /dev/ and hotplug management daemo
ii util-linux 2.16.2-0 Miscellaneous system utilities
linux-base recommends no packages.
linux-base suggests no packages.
-- debconf information:
linux-base/disk-id-manual-boot-loader:
linux-base/disk-id-manual:
linux-base/disk-id-convert-plan-no-relabel: true
* linux-base/disk-id-convert-plan: true
* linux-base/disk-id-convert-auto: true
--- End Message ---