Package: bash Version: 4.1-1 Severity: important Noticed this today when upgraded bash to 4.1:
... Setting up bash (4.1-1) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode. Processing triggers for menu ... E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0; fi' E: Sub-process returned an error code A package failed to install. ... /usr/sbin/localepurge is a bash script from the package of the same name. The problem boils down to this (copy-paste and run this test): ==== test ==== #/bin/bash set -xe (( aa = 0 )) echo 0 (( bb = 1 )) echo 1 (( cc = 2 )) echo 2 ============== Under bash 4.0 I get: % ./test + (( aa = 0 )) + echo 0 0 + (( bb = 1 )) + echo 1 1 + (( cc = 2 )) + echo 2 2 Under bash 4.1 I get: % ./test + (( aa = 0 )) -- Stanislav -- System Information: Debian Release: squeeze/sid APT prefers proposed-updates APT policy: (500, 'proposed-updates'), (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (100, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.31-1-686 (SMP w/2 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages bash depends on: ii base-files 5.0.0 Debian base system miscellaneous f ii dash 0.5.5.1-3 POSIX-compliant shell ii debianutils 3.2.2 Miscellaneous utilities specific t ii libc6 2.10.2-2 GNU C Library: Shared libraries ii libncurses5 5.7+20090803-2 shared libraries for terminal hand Versions of packages bash recommends: ii bash-completion 1:1.1-3 programmable completion for the ba Versions of packages bash suggests: pn bash-doc <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

