summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/cacheset.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/cacheset.cc b/apt-pkg/cacheset.cc
index e52f76272..ee0dcee28 100644
--- a/apt-pkg/cacheset.cc
+++ b/apt-pkg/cacheset.cc
@@ -491,10 +491,13 @@ bool VersionContainerInterface::FromString(VersionContainerInterface * const vci
V = Match.Find(P);
helper.setLastVersionMatcher(ver);
if (V.end()) {
+ bool errors = true;
+ errors = helper.showErrors(true);
if (verIsRel == true)
V = helper.canNotGetVersion(CacheSetHelper::RELEASE, Cache, P);
else
V = helper.canNotGetVersion(CacheSetHelper::VERSIONNUMBER, Cache, P);
+ helper.showErrors(errors);
}
}
if (V.end() == true)