Package: ubuntu-archive-keyring
Version: 2012.05.19-1
Severity: serious
User: debian...@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 .../ubuntu-archive-keyring_2012.05.19-4_all.deb ...
  Unpacking ubuntu-archive-keyring (2012.05.19-4) over (2012.05.19-1) ...
  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 ...
  dpkg: ... it looks like that went OK

 
Testing reinstallation in sid:

Preparing to unpack .../ubuntu-archive-keyring_2012.05.19-4_all.deb ...
Unpacking ubuntu-archive-keyring (2012.05.19-4) over (2012.05.19-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 ...
dpkg: ... it looks like that went OK


Cheers,

Andreas

Attachment: ubuntu-archive-keyring_2012.05.19-4.log.gz
Description: application/gzip

Reply via email to