Package: dpkg
Version: 1.13.22

This code:

  for (i = 0 ; i < cflict_index ; i++) {
    if (!(conflictor[i]->status == stat_halfconfigured ||
          conflictor[i]->status == stat_installed)) continue;
    for (deconpil= deconfigure; deconpil; deconpil= deconpil->next) {
      printf(_("De-configuring %s, so that we can remove %s ...\n"),
             deconpil->pkg->name, conflictor[i]->name);
      deconpil->pkg->status= stat_halfconfigured;
      modstatdb_note(deconpil->pkg);

is wrong.  It runs the deconfiguration of each package to be
deconfigured once for each conflicting package which is being
removed, whereas once would be quite sufficient.

The deconfiguration should be taken out of the loop.

Also, the formatting of the for statement is anomalous.

Ian.


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

Reply via email to