summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-01-25 12:29:58 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-01-25 12:29:58 +0100
commitb00a6e80892dcbf844ee70a449288e87290a821d (patch)
tree83ea32046f909418fe6ba0c65721712fbda6687c /cmdline
parent321dfa5e570389c489b0f7f0f34ab983cebe7463 (diff)
parent17c09907ffee9773ff416f9c5a0dc168326a8504 (diff)
merge with debian-sid
[ Christian Perrier ] * Fix encoding for Slovenian translation. PO file switched to UTF-8. Closes: #609957 [ David Kalnischkies ] * ftparchive/apt-ftparchive.cc: - fix endless loop for multiple TranslationsWriters [ Julian Andres Klode ] * cmdline/apt-cache.cc: Create an error for apt-cache depends if packages could not found (LP: #647045) [ Manpages translations ] * Correct a typo and an error in French manpages translation. Closes: # 607170 [ Programs translations ] * po/es.po: Updated, plus fixes encoding issues and fixes two fuzzy strings, thanks to Javier Fernandez-Sanguino (closes: #610692) * Spanish update by Javier Fernández-Sanguino Peña. Closes: #607145
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index 79654f477..45ea50433 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -588,7 +588,7 @@ bool ShowDepends(CommandLine &CmdL, bool const RevDepends)
CacheSetHelperVirtuals helper(false);
APT::VersionSet verset = APT::VersionSet::FromCommandLine(CacheFile, CmdL.FileList + 1, APT::VersionSet::CANDIDATE, helper);
if (verset.empty() == true && helper.virtualPkgs.empty() == true)
- return false;
+ return _error->Error(_("No packages found"));
std::vector<bool> Shown(Cache->Head().PackageCount);
bool const Recurse = _config->FindB("APT::Cache::RecurseDepends", false);