On Mon, 24 May 2010, Joey Hess wrote:
> The scenario I envision is a package upgrade that moves a conffile, but
> also changes it. Suppose the new version is needed to avoid breakage.

It looks like this case is already broken even when
dpkg-maintscript-helper is called in the preinst in the case where the old
file was modified. See
http://lists.debian.org/[email protected]
and my subsequent answer.

> There is no pre-depends on dpkg. The preinst does not run
> dpkg-maintscript-helper, because a new enough dpkg is not installed yet.
> Then dpkg is upgraded, and then the postinst runs (a low proability, but
> possible scenario w/o a pre-depends).

apt-get/aptitude installs dpkg in a separate run at the start of the
upgrade and makes all this even less likely.

Cheers,
-- 
Raphaƫl Hertzog

Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/
My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/




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

Reply via email to