]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/cacheset.cc
Merge branch 'debian/sid' into debian/experimental
[apt.git] / apt-pkg / cacheset.cc
index 346bad3aaa3a587f0fc6b0202be534a4e8e76929..d95a32aff110d617343085a5dce733bd7de188c5 100644 (file)
@@ -450,6 +450,8 @@ bool VersionContainerInterface::FromString(VersionContainerInterface * const vci
         if(FileExists(pkg))
         {
                 PackageContainerInterface::FromString(&pkgset, Cache, pkg, helper);
+                if(pkgset.size() == 0)
+                   return false;
                 return VersionContainerInterface::FromPackage(vci, Cache, pkgset.begin(), fallback, helper);
         }