]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/deblistparser.cc
* wording fixes (cherry picked from apt--mvo)
[apt.git] / apt-pkg / deb / deblistparser.cc
index b11d2531c9784d80923c428001fdb05035d6fb8a..d0dc7a26038df7f222b94361458b3a6ef5a2cb54 100644 (file)
@@ -504,11 +504,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;