[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#718824: texinfo-doc-nonfree: fails to upgrade from 'wheezy': /var/lib/dpkg/info/texinfo-doc-nonfree.prerm: 5: /var/lib/dpkg/info/texinfo-doc-nonfree.prerm: install-info: not found



Package: texinfo-doc-nonfree
Version: 5.1-2
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'wheezy'.
It installed fine in 'wheezy', then the upgrade to 'jessie' fails.

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

  Preparing to replace texinfo-doc-nonfree 4.13a-1 (using .../texinfo-doc-nonfree_5.1-2_all.deb) ...
  /var/lib/dpkg/info/texinfo-doc-nonfree.prerm: 5: /var/lib/dpkg/info/texinfo-doc-nonfree.prerm: install-info: not found
  dpkg: warning: subprocess old pre-removal script returned error exit status 127
  dpkg: trying script from the new package instead ...
  dpkg: error processing /var/cache/apt/archives/texinfo-doc-nonfree_5.1-2_all.deb (--unpack):
   there is no script in the new version of the package - giving up
  Errors were encountered while processing:
   /var/cache/apt/archives/texinfo-doc-nonfree_5.1-2_all.deb

Please add a dummy empty prerm script like

  #!/bin/sh
  set -e
  # dummy empty prerm script to avoid upgrade failures in the old
  # maintainer script, see #xxxxxx
  # this file can be removed after jessie was released
  #DEBHELPER#

to fix this.


cheers,

Andreas

Attachment: texinfo-doc-nonfree_5.1-2.log.gz
Description: GNU Zip compressed data


Reply to: