summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2020-05-19 11:20:28 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2020-05-19 11:22:19 +0200
commitdcd920e99df964d320e18ac133d575d4151deb85 (patch)
treefd76fae83ae0e7a1b7be8af1b0daeb0de29d780e /apt-pkg
parent1af12dd37acbb2c3987b71d85113f68d1f2bea1e (diff)
Check satisfiability for versioned provides, not providing version
References: dcdfb4723a9969b443d1c823d735e192c731df69
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/cacheset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/cacheset.cc b/apt-pkg/cacheset.cc
index 59d96ffc0..565a2b298 100644
--- a/apt-pkg/cacheset.cc
+++ b/apt-pkg/cacheset.cc
@@ -599,7 +599,7 @@ bool VersionContainerInterface::FromDependency(VersionContainerInterface * const
continue;
auto const OP = Prv.OwnerPkg();
auto const TV = getTargetVersion(OP);
- if (Prv.OwnerVer() == TV && D.IsSatisfied(TV))
+ if (Prv.OwnerVer() == TV && D.IsSatisfied(Prv))
{
vci->insert(TV);
found = true;