Package: sitesummary
Version: 0.1.20
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...):

0m37.5s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmp5IwKQK', 
'apt-get', '-y', 'install', '--reinstall', 'sitesummary=0.1.20']
0m38.6s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  debconf: delaying package configuration, since apt-utils is not installed
  0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
  Need to get 0 B/45.1 kB of archives.
  After this operation, 0 B of additional disk space will be used.
  (Reading database ... 
(Reading database ... 9514 files and directories currently installed.)
  Preparing to unpack .../sitesummary_0.1.20_all.deb ...
  prerm called with unknown argument `upgrade'
  dpkg: warning: subprocess old pre-removal script returned error exit status 1
  dpkg: trying script from the new package instead ...
  prerm called with unknown argument `failed-upgrade'
  dpkg: error processing archive 
/var/cache/apt/archives/sitesummary_0.1.20_all.deb (--unpack):
   subprocess new pre-removal script returned error exit status 1
  Errors were encountered while processing:
   /var/cache/apt/archives/sitesummary_0.1.20_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
0m38.6s ERROR: Command failed (status=100): ['chroot', 
'/tmp/piupartss/tmp5IwKQK', 'apt-get', '-y', 'install', '--reinstall', 
'sitesummary=0.1.20']


Cheers,

Andreas

Attachment: sitesummary_0.1.20.log.gz
Description: application/gzip

Reply via email to