(0008414)
vda
06-21-08 15:59
|
I don't see where it dies in this case. I have no debian packages to play with.
Can you pinpoint where it fails?
I see only two renames which can result in dpkg aborting,
none of these linked to conffiles:
static void write_status_file(deb_file_t **deb_file)
{
...
/* Create a separate backfile to dpkg */
if (rename("/var/lib/dpkg/status", "/var/lib/dpkg/status.udeb.bak") == -1) {
if (errno != ENOENT)
bb_error_msg_and_die("cannot create backup status file");
/* Its ok if renaming the status file fails because status
* file doesnt exist, maybe we are starting from scratch */
bb_error_msg("no status file found, creating new one");
}
xrename("/var/lib/dpkg/status.udeb", "/var/lib/dpkg/status");
} |