Bug#708502: New dpkg no longer contains install-info, rising to serious
- To: Guillem Jover <guillem@debian.org>
- Cc: 708486@bugs.debian.org, 708487@bugs.debian.org, 708488@bugs.debian.org, 708489@bugs.debian.org, 708490@bugs.debian.org, 603322@bugs.debian.org, 689773@bugs.debian.org, 708491@bugs.debian.org, 708492@bugs.debian.org, 708493@bugs.debian.org, 603967@bugs.debian.org, 708497@bugs.debian.org, 708498@bugs.debian.org, 708499@bugs.debian.org, 708500@bugs.debian.org, 598904@bugs.debian.org, 708502@bugs.debian.org
- Subject: Bug#708502: New dpkg no longer contains install-info, rising to serious
- From: Andreas Beckmann <anbe@debian.org>
- Date: Thu, 1 Aug 2013 12:55:43 +0200
- Message-id: <[🔎] 201308011255.45256.anbe@debian.org>
- Reply-to: Andreas Beckmann <anbe@debian.org>, 708502@bugs.debian.org
- In-reply-to: <20130727094122.GA21202@gaara.hadrons.org>
- References: <20130727094122.GA21202@gaara.hadrons.org>
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
Reply to:
- Prev by Date:
Processed: user debian-qa@lists.debian.org, affects 708488, affects 708489, affects 708490, affects 708491 ...
- Next by Date:
kлиeнты вce тyт, иx mнoгo!
- Previous by thread:
Processed: user debian-qa@lists.debian.org, affects 708488, affects 708489, affects 708490, affects 708491 ...
- Next by thread:
Bug#708502: New dpkg no longer contains install-info, rising to serious
- Index(es):