I can reproduce this just through a simple "sudo apt-get install djview" on intrepid. The postinst for djview has the following code:
# Alternatives
if [ "$1" = "configure" ] && [ -x /usr/sbin/update-alternatives ] ; then
m1=`ls -1 /usr/share/man/man1/djview3.* | head -1`
m2=`echo $m1 | sed -e 's/djview3/djview/'`
/usr/sbin/update-alternatives --quiet \
--install /usr/bin/djview djview /usr/bin/djview3 103 \
--slave $m2 `basename $m2` $m1
fi
However, the djview4 postinst already handles setting up the man link and update-alternatives; djview.postinst should probably only be doing this if djview3 is installed; i.e. only if /usr/bin/djview3 exists.
I can reproduce this just through a simple "sudo apt-get install djview" on intrepid. The postinst for djview has the following code:
# Alternatives update- alternatives ] ; then man/man1/ djview3. * | head -1` djview/ '` sbin/update- alternatives --quiet \
if [ "$1" = "configure" ] && [ -x /usr/sbin/
m1=`ls -1 /usr/share/
m2=`echo $m1 | sed -e 's/djview3/
/usr/
--install /usr/bin/djview djview /usr/bin/djview3 103 \
--slave $m2 `basename $m2` $m1
fi
However, the djview4 postinst already handles setting up the man link and update- alternatives; djview.postinst should probably only be doing this if djview3 is installed; i.e. only if /usr/bin/djview3 exists.