On Wed, 02 Jul 2008, Ian Jackson wrote:
> I've reproduced the problem from #143307 and attached is a fix.

Thanks!

> The core of the problem was that if dpkg is interrupted, you can have
> the following situation:
> 
>     Package: a
>     Triggers-Awaited: b
> 
>     Package: b
>     Status: ... installed

So it's exactly the same situation as in #487637, #489068. Looks like both
are correlated after all.

> In the patch below I also fix --no-act for trigger processing, which
> was previously broken.  This was somewhat more complex than ideal

Well, I have split the patch in two:
http://git.debian.org/?p=users/hertzog/dpkg.git;a=shortlog;h=refs/heads/pu/bug143307-triggers-and-dependtry

First the fix itself:
http://git.debian.org/?p=users/hertzog/dpkg.git;a=commitdiff;h=0b8fcd1bb166e75a8016030ca7625f8c899afc71
I intent to push this to lenny (1.14.21) after some tests.

Then the --no-act fix which should probably only go in master.
http://git.debian.org/?p=users/hertzog/dpkg.git;a=commitdiff;h=4073a72477be5fac51125ab1474f91d6b98654b3

I added the indenting that you didn't add when adding new enclosing
if (!f_noact)  (or similar).

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to