]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-get.cc
merge with debian-sid to get all the updated l10ns
[apt.git] / cmdline / apt-get.cc
index c996017b8906bb4af1679f7e3fd181680f8176c3..6ef0460890ce80a4b1a5b338e6cffa73836f4582 100644 (file)
@@ -254,6 +254,9 @@ bool ShowList(ostream &out,string Title,string List,string VersionsList)
  */
 void ShowBroken(ostream &out,CacheFile &Cache,bool Now)
 {
+   if (Cache->BrokenCount() == 0)
+      return;
+
    out << _("The following packages have unmet dependencies:") << endl;
    for (unsigned J = 0; J < Cache->Head().PackageCount; J++)
    {