Bug#709172: luatex: postinst uses non-existing /usr/sbin/dpkg-divert
Package: luatex
Version: 0.76.0-2
Severity: important
The next version of dpkg drops the /usr/sbin/dpkg-divert compatibility
symlink and your postinst still relies on it. I saw it during an upgrade:
Setting up luatex (0.76.0-2) ...
Building format(s) --byengine luatex.
This may take some time... done.
env: /usr/sbin/dpkg-divert: No such file or directory
Please do not hardcode the path of dpkg-divert. dpkg already sets a sane PATH
for postinst scripts, you can assume that dpkg-divert will be in the PATH.
$ grep sbin/dpkg-divert /var/lib/dpkg/info/luatex.postinst
DIVERSIONS=`env LC_ALL=C /usr/sbin/dpkg-divert --list | grep -E 'by luatex$'`
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.8-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages luatex depends on:
ii libc6 2.17-3
ii libcairo2 1.12.14-4
ii libgcc1 1:4.8.0-7
ii libkpathsea6 2012.20120628-4
ii libpixman-1-0 0.26.0-4
ii libpng12-0 1.2.49-4
ii libstdc++6 4.8.0-7
ii tex-common 4.03
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages luatex recommends:
ii texlive-luatex 2012.20120611-5
luatex suggests no packages.
-- no debconf information
-- debsums errors found:
sh: 1: /usr/sbin/dpkg-divert: not found
Reply to: