]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/deblistparser.cc
* merged with debian-sid
[apt.git] / apt-pkg / deb / deblistparser.cc
index 441bb826fa0d59346c957cac91d68c18a001458d..c2b26b5eb5322a8f4543a89bea742bf65004ef6c 100644 (file)
@@ -547,11 +547,12 @@ bool debListParser::ParseProvides(pkgCache::VerIterator Ver)
       Start = ParseDepends(Start,Stop,Package,Version,Op);
       if (Start == 0)
         return _error->Error("Problem parsing Provides line");
-      if (Op != pkgCache::Dep::NoOp)
-        return _error->Error("Malformed provides line");
-
-      if (NewProvides(Ver,Package,Version) == false)
-        return false;
+      if (Op != pkgCache::Dep::NoOp) {
+        _error->Warning("Ignoring Provides line with DepCompareOp for package %s", Package.c_str());
+      } else {
+        if (NewProvides(Ver,Package,Version) == false)
+           return false;
+      }
 
       if (Start == Stop)
         break;