Comment 5 for bug 927300

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 927300] Re: upgrade from fresh/basic 11.10 to precise, resolveconf fails:cp: cannot create regular file `/run/resolvconf/resolv.conf': No such file or directory

On Wed, Feb 08, 2012 at 11:16:18AM -0000, Thomas Hood wrote:
> The Debian policy scripture says: "When a package declaring a pre-
> dependency [in this case, resolvconf] is about to be unpacked the pre-
> dependency can be satisfied if the depended-on package [in this case,
> initscripts] is either fully configured, or even if the depended-on
> package(s) are only unpacked or in the "Half-Configured" state, provided
> that they have been configured correctly at some point in the past (and
> not removed or partially removed since)."

> Does this mean that it is possible that resolvconf's preinst runs before
> initscripts's postinst on upgrade? It looks to me as if it does mean
> that.

No; it means that if a version of initscripts that satisfied the
pre-dependency had previously been configured, resolvconf may be unpacked
while initscripts is in an unconfigured state. But the ordering on upgrade
is guaranteed to be preserved.

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
<email address hidden> <email address hidden>