summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-07-30 00:17:16 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-07-30 00:17:16 +0200
commit4ed3806e625a4b5c148e27dba5384f133dd77c1a (patch)
tree1183e26425b0e8de6935f800f709871627595473
parent7fd6d117eeecdb91e62e48d3af06dee73e4930e8 (diff)
* apt-pkg/cacheset.cc:
- make CacheSetHelper::canNotFindAllVer display a notice only (for compat reasons). Otherwise tools like sbuild blow up
-rw-r--r--apt-pkg/cacheset.cc2
-rw-r--r--debian/changelog4
2 files changed, 5 insertions, 1 deletions
diff --git a/apt-pkg/cacheset.cc b/apt-pkg/cacheset.cc
index f17a9e0d5..84021a2b7 100644
--- a/apt-pkg/cacheset.cc
+++ b/apt-pkg/cacheset.cc
@@ -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();
}
/*}}}*/
diff --git a/debian/changelog b/debian/changelog
index 01dcfeef8..d6bfa76ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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