Package: xpdf,xpdf-reader
Version: 3.02-12+squeeze1
Severity: serious
Tags: squeeze
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed /usr/share/doc/xpdf-reader is
missing after an upgrade from lenny.

xpdf.preinst deletes /usr/share/doc/xpdf{,-reader} which were symlinks
in lenny, but nothing guarantees that xpdf.preinst is run before
xpdf-reader is unpacked. Cleanup of the /usr/share/doc/xpdf-reader
symlink needs to be done by xpdf-reader.preinst

Also I would suggest to use

    test ! -h /usr/share/doc/xpdf-reader || rm /usr/share/doc/xpdf-reader

instead of 

    test -h /usr/share/doc/xpdf-reader && rm -f /usr/share/doc/xpdf-reader || 
true

>From the attached log:

0m51.0s ERROR: FAIL: debsums reports modifications inside the chroot:
  debsums: no md5sums for mawk
  /usr/share/doc/xpdf-common/copyright
  /usr/share/doc/xpdf-common/changelog.Debian.gz
  debsums: conffile etc/xpdf/xpdfrc not owned by xpdf-common
  debsums: missing file /usr/share/doc/xpdf-reader/changelog.Debian.gz (from 
xpdf-reader package)
  debsums: missing file /usr/share/doc/xpdf-reader/changelog.gz (from 
xpdf-reader package)
  debsums: missing file /usr/share/doc/xpdf-reader/copyright (from xpdf-reader 
package)

  MISSING COPYRIGHT FILE: /usr/share/doc/xpdf-reader/copyright
  # ls -lad /usr/share/doc/xpdf-reader
  ls: cannot access /usr/share/doc/xpdf-reader: No such file or directory
  # ls -la /usr/share/doc/xpdf-reader/
  ls: cannot access /usr/share/doc/xpdf-reader/: No such file or directory


Cheers,
Andreas

Attachment: xpdf-reader_3.02-12+squeeze1.log.gz
Description: GNU Zip compressed data

Reply via email to