From 00188c0fe108e834e4675f31a331fc604e6156b8 Mon Sep 17 00:00:00 2001 From: Ben Collins Date: Tue, 1 Aug 2000 14:58:42 +0000 Subject: [PATCH] Fix thinko with versioned deps --- ChangeLog | 4 ++++ main/packages.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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, -- 2.39.5