Hi,

digging a little bit into dpkg's code I found this in configure.c

deferred_configure(pkg)
{
...
    for (conff = pkg->installed.conffiles; conff; conff = conff->next)
        deferred_configure_conffile(pkg, conff);
...
}

That acts on all conffiles known to the package, including those that
are marked as obsolete. But if they are marked as obsolete *here*, they
may have been overtaken by another package that is currently unpackaged,
too, but not yet configured. In that case the current package will
"consume" the .dpkg-new ffrom a different package.

shouldn't the following change fix this by skipping obsolete conffiles?

    for (conff = pkg->installed.conffiles; conff; conff = conff->next)
        if (!conff->obsolete)
            deferred_configure_conffile(pkg, conff);

A quick test shows that this would work.


Andreas


-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to