]> git.saurik.com Git - apt.git/commitdiff
* apt-pkg/cacheset.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Thu, 29 Jul 2010 22:17:16 +0000 (00:17 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Thu, 29 Jul 2010 22:17:16 +0000 (00:17 +0200)
   - make CacheSetHelper::canNotFindAllVer display a notice
     only (for compat reasons). Otherwise tools like sbuild
     blow up

apt-pkg/cacheset.cc
debian/changelog

index f17a9e0d51c552de848359dd5b9e9516f785b1c7..84021a2b71688761ccdca13ab73456a4eabe3b6e 100644 (file)
@@ -464,7 +464,7 @@ PackageSet CacheSetHelper::canNotFindPackage(pkgCacheFile &Cache, std::string co
 VersionSet CacheSetHelper::canNotFindAllVer(pkgCacheFile &Cache,
                pkgCache::PkgIterator const &Pkg) {
        if (ShowError == true)
-               _error->Error(_("Can't select versions from package '%s' as it purely virtual"), Pkg.FullName(true).c_str());
+               _error->Notice(_("Can't select versions from package '%s' as it purely virtual"), Pkg.FullName(true).c_str());
        return VersionSet();
 }
                                                                        /*}}}*/
index 01dcfeef86365a458301d41673a767a0d072e846..d6bfa76eec5371834b974596977ac2b60942806d 100644 (file)
@@ -2,6 +2,10 @@ apt (0.7.26~exp12) UNRELEASEDexperimental; urgency=low
 
   * debian/control:
     - add dependency on zlib-dev for libapt-pkg-dev
+   * apt-pkg/cacheset.cc:
+     - make CacheSetHelper::canNotFindAllVer display a notice
+       only (for compat reasons). Otherwise tools like sbuild
+       blow up
 
  -- Michael Vogt <michael.vogt@ubuntu.com>  Thu, 29 Jul 2010 23:45:42 +0200