]> err.no Git - dpkg/commitdiff
Fix thinko with versioned deps
authorBen Collins <bcollins@debian.org>
Tue, 1 Aug 2000 14:58:42 +0000 (14:58 +0000)
committerBen Collins <bcollins@debian.org>
Tue, 1 Aug 2000 14:58:42 +0000 (14:58 +0000)
ChangeLog
main/packages.c

index aa773a25652b1a06fde0acb7ca028398b7399e3d..6004308b190ecca93d223a451d8177f846cea511 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Aug  1 10:56:52 EDT 2000 Ben Collins <bcollins@debian.org>
+
+  * main/packages.c: fix thinko with versioned deps
+
 Mon Jul 31 23:38:56 EDT 2000 Ben Collins <bcollins@debian.org>
 
   * archtable: add ia64; revert sparc64 so that it turns into sparc. There
index 9ec840b29e21f501ad6ef9bde73c7ca21050aa56..7f2f60e228d0f33eceee680b40ea078e02729b33 100644 (file)
@@ -282,7 +282,7 @@ static int deppossi_ok_found(struct pkginfo *possdependee,
     if (checkversion) {
       if (!provider) {
        debug(dbg_depcondetail,"      checking non-provided pkg %s",possdependee->name);
-       if (versionsatisfied(&possdependee->installed,checkversion)) {
+       if (!versionsatisfied(&possdependee->installed,checkversion)) {
           varbufaddstr(oemsgs,_("  Version of "));
           varbufaddstr(oemsgs,possdependee->name);
           varbufaddstr(oemsgs,_(" on system is "));
@@ -378,7 +378,7 @@ int dependencies_ok(struct pkginfo *pkg, struct pkginfo *removing,
     for (possi= dep->list; found != 3 && possi; possi= possi->next) {
       debug(dbg_depcondetail,"    checking possibility  -> %s",possi->ed->name);
       if (possi->cyclebreak) {
-        debug(dbg_depcondetail,"      break cycle so ok and found");
+        debug(dbg_depcondetail,"      break cycle, so ok and found");
         found= 3; break;
       }
       thisf= deppossi_ok_found(possi->ed,pkg,removing,0,