Przeglądaj źródła

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 15 lat temu
rodzic
commit
f95177fdac
1 zmienionych plików z 1 dodań i 1 usunięć
  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)) {