From: Ben Collins Date: Tue, 1 Aug 2000 14:58:42 +0000 (+0000) Subject: Fix thinko with versioned deps X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00188c0fe108e834e4675f31a331fc604e6156b8;p=dpkg Fix thinko with versioned deps --- diff --git a/ChangeLog b/ChangeLog index aa773a25..6004308b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Aug 1 10:56:52 EDT 2000 Ben Collins + + * main/packages.c: fix thinko with versioned deps + Mon Jul 31 23:38:56 EDT 2000 Ben Collins * archtable: add ia64; revert sparc64 so that it turns into sparc. There diff --git a/main/packages.c b/main/packages.c index 9ec840b2..7f2f60e2 100644 --- a/main/packages.c +++ b/main/packages.c @@ -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,