[DRE-maint] Bug#813265: ruby-bcat: postrm called with unknown argument `upgrade'

Andreas Beckmann anbe at debian.org
Sat Jan 30 23:15:14 UTC 2016


Package: ruby-bcat
Version: 0.6.2-3
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed the maintainer scripts of your
package don't support all the ways they are going to be called.

See policy 6.5 at
https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-mscriptsinstact

>From the attached log (scroll to the bottom...):

  Preparing to unpack .../ruby-bcat_0.6.2-4_all.deb ...
  Unpacking ruby-bcat (0.6.2-4) over (0.6.2-3) ...
  postrm called with unknown argument `upgrade'
  dpkg: warning: subprocess old post-removal script returned error exit status 1
  dpkg: trying script from the new package instead ...
  Removing 'diversion of /usr/bin/bcat to /usr/bin/bcat.diverted by ruby-bcat'
  dpkg: ... it looks like that went OK


Testing reinstallation in sid:

Preparing to unpack .../ruby-bcat_0.6.2-4_all.deb ...
Unpacking ruby-bcat (0.6.2-4) over (0.6.2-4) ...
postrm called with unknown argument `upgrade'
dpkg: warning: subprocess old post-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Removing 'diversion of /usr/bin/bcat to /usr/bin/bcat.diverted by ruby-bcat'
dpkg: ... it looks like that went OK


Cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-bcat_0.6.2-4.log.gz
Type: application/gzip
Size: 28183 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160131/acb62b11/attachment-0001.bin>


More information about the Pkg-ruby-extras-maintainers mailing list