Переглянути джерело

Another fix included here by mistake. Moving it to apt--fixes--0 branch.

Otavio Salvador 21 роки тому
батько
коміт
9d06ea8bcd
1 змінених файлів з 0 додано та 13 видалено
  1. 0 13
      cmdline/apt-cache.cc

+ 0 - 13
cmdline/apt-cache.cc

@@ -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)
       {