]> git.saurik.com Git - apt.git/commitdiff
Another fix included here by mistake. Moving it to apt--fixes--0 branch.
authorOtavio Salvador <otavio@debian.org>
Thu, 12 May 2005 13:43:35 +0000 (13:43 +0000)
committerOtavio Salvador <otavio@debian.org>
Thu, 12 May 2005 13:43:35 +0000 (13:43 +0000)
cmdline/apt-cache.cc

index 7d402a2fd422675e750f4324128ddd49e94ac56f..7f9936dfc7ecbc5b72734124657c2d52c790fb10 100644 (file)
@@ -1406,19 +1406,6 @@ bool ShowPackage(CommandLine &CmdL)
 
       ++found;
 
-      // Show virtual packages
-      if (Pkg->ProvidesList != 0)
-      {
-        ioprintf(std::cout,_("Package %s is a virtual package provided by:\n"),
-                 Pkg.Name());
-        
-        pkgCache::PrvIterator I = Pkg.ProvidesList();
-        for (; I.end() == false; I++)
-           cout << "  " << I.OwnerPkg().Name() << endl;
-        cout << _("You should explicitly select one to show.") << endl;
-        continue;
-      }
-
       // Find the proper version to use.
       if (_config->FindB("APT::Cache::AllVersions","true") == true)
       {