Package: sdic-gene95 Version: 2.1.3-11 Severity: important Tags: patch Now, postinst script of sdic-gene95 failed because bunzip2 moved to /bin from /usr/bin.
$ sudo apt-get -f install Reading package lists... Done Building dependency tree... Done 0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Setting up sdic-gene95 (2.1.3-11) ... You need /usr/bin/bunzip2. dpkg: error processing sdic-gene95 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: sdic-gene95 E: Sub-process /usr/bin/dpkg returned an error code (1) $ type -a bunzip2 bunzip2 is /bin/bunzip2 -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18 Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) Versions of packages sdic-gene95 depends on: ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy ii nkf 2.07-1 Network Kanji code conversion Filt ii perl 5.8.8-7 Larry Wall's Practical Extraction Versions of packages sdic-gene95 recommends: ii sdic 2.1.3-11 Emacs-Lisp program to view diction pn sufary <none> (no description available) -- debconf information: * sdic-gene95/tmpdir: /pub/misc sdic-gene95/en_array: true sdic-gene95/jp_array: true * sdic-gene95/make_jp: false
diff -ur sdic-2.1.3.orig/debian/sdic-gene95.postinst sdic-2.1.3/debian/sdic-gene95.postinst --- sdic-2.1.3.orig/debian/sdic-gene95.postinst 2007-01-12 16:59:34.000000000 +0900 +++ sdic-2.1.3/debian/sdic-gene95.postinst 2007-01-12 17:10:11.000000000 +0900 @@ -42,7 +42,7 @@ TG2=$SDICTMP/gene95.tar.bz2 find_archive $LZH /usr/bin/lha 5 'lha p $ARC gene.txt|tail +4' [ "$ARC" = "" ] && find_archive $TGZ /bin/gunzip 2 'tar zxOf $ARC gene.txt' - [ "$ARC" = "" ] && find_archive $TG2 /usr/bin/bunzip2 2 'bunzip2 -c $ARC|tar xOf - gene.txt' + [ "$ARC" = "" ] && find_archive $TG2 /bin/bunzip2 2 'bunzip2 -c $ARC|tar xOf - gene.txt' if [ "$ARC" = "" ]; then echo "Prepare $LZH or $TGZ or $TG2 first." 1>&2 exit 1