[xml/sgml-pkgs] Bug#603322: New dpkg no longer contains install-info, rising to serious

Andreas Beckmann anbe at debian.org
Thu Aug 1 10:55:43 UTC 2013


Hi,

On Saturday, 27. July 2013 11:41:22 Guillem Jover wrote:
> dpkg 1.17.0 is now in unstable, and does not contain the install-info
> compatibility wrapper any longer. These bugs are severity serious now.

if you are going to fix your maintainer scripts, please test upgrades before 
uploading. If the prerm script disappears because it is no longer needed, you 
might run into errors like

  Preparing to replace yiyantang 0.7.0-3.1 
(using .../yiyantang_0.7.0-4_amd64.deb) ...
  /var/lib/dpkg/info/yiyantang.prerm: 5: /var/lib/dpkg/info/yiyantang.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/yiyantang_0.7.0-4_amd64.deb 
(--unpack):
   there is no script in the new version of the package - giving up

The solution is to include an empty dummy prerm script in the new package.

So you can test this upgrade path:

* start with jessie chroot
* install old package
* upgrade dpkg to 1.17.x
* upgrade your package


Andreas



More information about the debian-xml-sgml-pkgs mailing list