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

Bug#57610: marked as done (dpkg: cannot recover from broken prerm when new package has none)



Your message dated Sun, 8 Sep 2002 21:06:47 -0500 (CDT)
with message-id <Pine.LNX.4.33.0209082105310.1034-100000@yakko.doogie.org>
and subject line This is not a dpkg problem.
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Feb 2000 08:44:34 +0000
Received: (qmail 15509 invoked from network); 9 Feb 2000 08:44:34 -0000
Received: from mercury.sun.com (192.9.25.1)
  by master.debian.org with SMTP; 9 Feb 2000 08:44:34 -0000
Received: from France.Sun.COM ([129.157.188.1])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id AAA03456
	for <submit@bugs.debian.org>; Wed, 9 Feb 2000 00:44:31 -0800 (PST)
Received: from sunchorus.France.Sun.COM by France.Sun.COM (SMI-8.6/SMI-SVR4-sd.fkk205)
	id JAA21150; Wed, 9 Feb 2000 09:44:30 +0100
Received: from ocarina.France.Sun.COM (ocarina [129.157.196.17])
	by sunchorus.France.Sun.COM (8.8.8+Sun/8.8.8) with ESMTP id JAA22720
	for <submit@bugs.debian.org>; Wed, 9 Feb 2000 09:44:29 +0100 (MET)
Received: (from ydirson@localhost)
	by ocarina.France.Sun.COM (8.9.1b+Sun/8.9.1) id JAA16027;
	Wed, 9 Feb 2000 09:44:29 +0100 (MET)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14497.10475.808461.691477@gargle.gargle.HOWL>
Date: Wed, 9 Feb 2000 09:44:27 +0100 (MET)
From: dirson@debian.org
To: submit@bugs.debian.org
Reply-To: ydirson@France.Sun.COM
X-Debbugs-CC: poulot@france.sun.com
Subject: dpkg: cannot recover from broken prerm when new package has none
X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid

Package: dpkg
Version: 1.4.1.19
Severity: important

dpkg has provision to handle a broken installed prerm script (which
seems to be the case in package ldso shipped with Debian 1.2, which
complains about a syntax error invoking install-info) when
upgrading, by trying to run the one in the new version of the
package.  But when the new package has no such script (which is the
case in ldso shipped with 2.1r4, and maybe also in potato), then the
fault cannot be recovered unless editing/removing the faulty prerm by
hand.

This is easily reproduced with a trivial package with some help from
dh_make.

I tag this as important as upgrades from 1.2 may not go smoothly, and
because we may well miss other such error conditions at any time.

OTOH the person who did the upgrade installed some packages by hand,
so it may be that install-info changed to make a valid syntax invalid
in newer version...


I wonder if it would be acceptable for dpkg to just skip running a
failing prerm when the new package has none... surely we can find
situations where it is not.  Then maybe there is no other solution
than helping the maintainers spot {pre,post}rm errors with better
tools [any volunteers ? ;]

--
Yann.
---------------------------------------
Received: (at 57610-done) by bugs.debian.org; 9 Sep 2002 02:06:47 +0000
>From doogie@debian.org Sun Sep 08 21:06:47 2002
Return-path: <doogie@debian.org>
Received: from 12-238-101-237.client.attbi.com (yakko.doogie.org) [12.238.101.237] (uucp)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17oDwt-0004jW-00; Sun, 08 Sep 2002 21:06:47 -0500
Received: from localhost [127.0.0.1] (uucp)
	by yakko.doogie.org with esmtp (Exim 3.36 1 (Debian))
	id 17oDwt-0006aD-00; Sun, 08 Sep 2002 21:06:47 -0500
Date: Sun, 8 Sep 2002 21:06:47 -0500 (CDT)
From: Adam Heath <doogie@debian.org>
X-X-Sender:  <adam@yakko.doogie.org>
To:  <57610-done@bugs.debian.org>
Subject: This is not a dpkg problem.
Message-ID: <Pine.LNX.4.33.0209082105310.1034-100000@yakko.doogie.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 57610-done@bugs.debian.org

If a package had a previously broken prerm script, then it is up to the new
package to provide a working new prerm, and handle the broken case.  This is
how dpkg is designed.

If this is happening, file a bug on the appropriate package.




Reply to: