Package: pmw
Version: 4.22-3
Severity: serious
Tags: patch
Justification: Policy 6.1
User: debian...@lists.debian.org
Usertags: piuparts piuparts.d.o

Hi,

during piuparts tests your package failed to install.  Your patch to
test for update-gsfontmap in 4.22-3 is not enough, as 

false && true

evaluates to false, so that

[ -x /usr/sbin/update-gsfontmap ] && /usr/sbin/update-gsfontmap

fails if update-gsfontmap is not available and executable, so that the
postinst will still exit with nonzero exit status. A possible way to 
solve the problem would be to expand the if:

if [ -x /usr/sbin/update-gsfontmap ]; then
   /usr/sbin/update-gsfontmap
fi

which (I suppose) does what you want, that is, runs update-gsfontmap if
it exists and exits 0 otherwise.


The relevant lines from the piuparts logs:

  dpkg: error processing pmw (--configure):
   subprocess installed post-installation script returned error exit status 1
  configured to not write apport reports
  Errors were encountered while processing:
   pmw
  E: Sub-process /usr/bin/dpkg returned an error code (1)

The whole log can be found at 
http://piuparts.debian.org/sid/bugged/pmw_4.22-3.log

Cheers,

Mika



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to