Procházet zdrojové kódy

dpkg: use the correct version in "pkg-foo is unpacked, but is version <v>"

The error message used while analyzing pre-dependencies did improperly
use the available version instead of the installed version.
Raphaël Hertzog před 15 roky
rodič
revize
f95177fdac
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/depcon.c

+ 1 - 1
src/depcon.c

@@ -322,7 +322,7 @@ depisok(struct dependency *dep, struct varbuf *whynot,
             } else if (!versionsatisfied(&possi->ed->installed, possi)) {
               sprintf(linebuf, _("  %.250s is unpacked, but is version %.250s.\n"),
                       possi->ed->name,
-                      versiondescribe(&possi->ed->available.version,vdew_nonambig));
+                      versiondescribe(&possi->ed->installed.version, vdew_nonambig));
               break;
             } else if (!versionsatisfied3(&possi->ed->configversion,
                                           &possi->version,possi->verrel)) {