Package: zsh Version: 4.2.5-7 Severity: normal I'm reporting this from a similar but different machine than the one where the problem occured, so do not pay too much attention to the automatically attached system info please.
The problem is this: I mix a woody system with a zsh/unstable package. When the zsh-4.2.5-7 upgrade ran through the /var/lib/dpkg/info/zsh.preinst script, it failed. This script contains this line: old_md5sum="`sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' $CONFFILE'{s/.* //;p}}\" /var/lib/dpkg/status`" Woody contains sed-3.02-8 and this old version of sed does not understand this line. So preinst fails which is pretty dangerous, because when preinst runs, the currently running zsh is already removed from the disk. So I'd venture, this is a severe bug, not a normal one except for the fact that only few people will do such a mish mash. So please, add a dependency to the zsh package on sed. I do not know which version of sed does the right thing, but cycling through stable/testing/unstable teaches me that 3.02 fails and both 4.1.2 and 4.1.4 succeed on a similar piece of code as demonstrated in th following: 15:59:29 [EMAIL PROTECTED]:~# sed --version GNU sed version 3.02 Copyright (C) 1998 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, to the extent permitted by law. 16:09:58 [EMAIL PROTECTED]:~# sed -n -e "{\\' foo'{s/.* //;p}}" /var/lib/dpkg/status sed: -e expression #1, char 19: Extra characters after command zsh: exit 1 sed -n -e "{\\' foo'{s/.* //;p}}" /var/lib/dpkg/status 16:10:03 [EMAIL PROTECTED]:~# apt-get install sed/testing [...] 16:10:49 [EMAIL PROTECTED]:~# sed --version GNU sed version 4.1.2 Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, to the extent permitted by law. 16:10:51 [EMAIL PROTECTED]:~# sed -n -e "{\\' foo'{s/.* //;p}}" /var/lib/dpkg/status is 16:10:53 [EMAIL PROTECTED]:~# apt-get install sed/unstable [...] 16:12:12 [EMAIL PROTECTED]:~# sed --version GNU sed version 4.1.4 Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, to the extent permitted by law. 16:12:48 [EMAIL PROTECTED]:~# sed -n -e "{\\' foo'{s/.* //;p}}" /var/lib/dpkg/status is So you may consider a dependency on >=4.1.2 would be sufficient for the Debian community. -- system Information Debian Release: 3.0 Kernel Version: Linux franz.ak.mind.de 2.6.10 #11 SMP Mon Mar 7 08:13:43 CET 2005 i686 GNU/Linux Versions of the packages zsh depends on: ii debconf 1.4.48 Debian configuration management system ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries and Timezone ii libncurses5 5.4-4 Shared libraries for terminal handling ii passwd 4.0.3-31sarge3 change and administer password and group dat --- Begin /etc/zsh/zshrc (modified conffile) [[ $UID > 0 && $UID == $GID ]] && umask 002 || umask 022 READNULLCMD=${PAGER:-/usr/bin/pager} if [[ "$TERM" != emacs ]]; then [[ -z "$terminfo[kdch1]" ]] || bindkey -M emacs "$terminfo[kdch1]" delete-char [[ -z "$terminfo[khome]" ]] || bindkey -M emacs "$terminfo[khome]" beginning-of-line [[ -z "$terminfo[kend]" ]] || bindkey -M emacs "$terminfo[kend]" end-of-line [[ -z "$terminfo[kdch1]" ]] || bindkey -M vicmd "$terminfo[kdch1]" vi-delete-char [[ -z "$terminfo[khome]" ]] || bindkey -M vicmd "$terminfo[khome]" vi-beginning-of-line [[ -z "$terminfo[kend]" ]] || bindkey -M vicmd "$terminfo[kend]" vi-end-of-line [[ -z "$terminfo[cuu1]" ]] || bindkey -M viins "$terminfo[cuu1]" vi-up-line-or-history [[ -z "$terminfo[cuf1]" ]] || bindkey -M viins "$terminfo[cuf1]" vi-forward-char [[ -z "$terminfo[kcuu1]" ]] || bindkey -M viins "$terminfo[kcuu1]" vi-up-line-or-history [[ -z "$terminfo[kcud1]" ]] || bindkey -M viins "$terminfo[kcud1]" vi-down-line-or-history [[ -z "$terminfo[kcuf1]" ]] || bindkey -M viins "$terminfo[kcuf1]" vi-forward-char [[ -z "$terminfo[kcub1]" ]] || bindkey -M viins "$terminfo[kcub1]" vi-backward-char [[ "$terminfo[kcuu1]" == "O"* ]] && bindkey -M viins "${terminfo[kcuu1]/O/[}" vi-up-line-or-history [[ "$terminfo[kcud1]" == "O"* ]] && bindkey -M viins "${terminfo[kcud1]/O/[}" vi-down-line-or-history [[ "$terminfo[kcuf1]" == "O"* ]] && bindkey -M viins "${terminfo[kcuf1]/O/[}" vi-forward-char [[ "$terminfo[kcub1]" == "O"* ]] && bindkey -M viins "${terminfo[kcub1]/O/[}" vi-backward-char [[ "$terminfo[khome]" == "O"* ]] && bindkey -M viins "${terminfo[khome]/O/[}" beginning-of-line [[ "$terminfo[kend]" == "O"* ]] && bindkey -M viins "${terminfo[kend]/O/[}" end-of-line [[ "$terminfo[khome]" == "O"* ]] && bindkey -M emacs "${terminfo[khome]/O/[}" beginning-of-line [[ "$terminfo[kend]" == "O"* ]] && bindkey -M emacs "${terminfo[kend]/O/[}" end-of-line fi unalias run-help autoload run-help --- End /etc/zsh/zshrc -- andreas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]