Package: angband-doc
Version: 3.0.3.4
Severity: normal

Hi,

when upgrading to lenny, angband-doc's postinst fails:

Setting up angband-doc (3.0.3.4) ...
/usr/share/doc-base/angband-doc-faq1: cannot open control file for reading: No 
such file or directory
dpkg: error processing angband-doc (--configure):
 subprocess post-installation script returned error exit status 2

This is right the bottom of the postinst:

# Install doc base documentation
if which install-docs >/dev/null 2>&1; then
  if [ -e /usr/share/doc-base/${package_name} ]; then
    install-docs -i /usr/share/doc-base/${package_name}
    install-docs -i /usr/share/doc-base/${package_name}-faq1
    install-docs -i /usr/share/doc-base/${package_name}-faq2
  fi
fi

But in fact, angband ships slightly-differently-named files:

matt...@ming:~$ dpkg -L angband-doc | grep doc-base
/usr/share/doc-base
/usr/share/doc-base/angband-doc_faq1
/usr/share/doc-base/angband-doc
/usr/share/doc-base/angband-doc_faq2

note _ not -.

I whacked in symlinks, and the postinst ran OK.

Regards,

Matthew

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

angband-doc depends on no packages.

angband-doc recommends no packages.

Versions of packages angband-doc suggests:
ii  angband                       1:3.0.9b-3 A single-player, text-based, dunge

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to