Explorar o código

* added a missing OpProgress::Done() in depCache::Init(), removed the show-virtual-packages patch in apt-cache because matt does not like him :/

Michael Vogt %!s(int64=21) %!d(string=hai) anos
pai
achega
eb0a335ea2
Modificáronse 3 ficheiros con 1 adicións e 21 borrados
  1. 1 0
      apt-pkg/depcache.cc
  2. 0 14
      cmdline/apt-cache.cc
  3. 0 7
      debian/changelog

+ 1 - 0
apt-pkg/depcache.cc

@@ -91,6 +91,7 @@ bool pkgDepCache::Init(OpProgress *Prog)
    }
    
    Update(Prog);
+   Prog->Done();
    
    return true;
 } 

+ 0 - 14
cmdline/apt-cache.cc

@@ -1360,20 +1360,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)
       {

+ 0 - 7
debian/changelog

@@ -1,7 +1,5 @@
 apt (0.6.37) breezy; urgency=low
 
-  * apt-cache show <virtualpkg> shows the available packages providing 
-    the virtual pkg (thanks to otavio) (closes: #202493)
   * make pinning on the "component" work again (using the section of the 
     archive, we don't use per-section Release files anymore with apt-0.6)
     (closes ubuntu #9935)
@@ -23,7 +21,6 @@ apt (0.6.36ubuntu1) breezy; urgency=low
 
  -- Michael Vogt <michael.vogt@ubuntu.com>  Mon, 23 May 2005 11:57:53 +0200
 
->>>>>>> MERGE-SOURCE
 apt (0.6.36) experimental; urgency=low
 
   * Merge apt--mvo--0:
@@ -35,11 +32,7 @@ apt (0.6.36) experimental; urgency=low
     - apt-pkg/cdrom.cc:
       honor "Acquire::gpgv::Options" when verifying the signature (Ubuntu #8496)
  
-<<<<<<< TREE
- -- Michael Vogt <mvo@debian.org>  Fri,  6 May 2005 10:12:20 +0200
-=======
  -- Michael Vogt <mvo@debian.org>  Thu, 31 Mar 2005 20:37:11 +0200
->>>>>>> MERGE-SOURCE
 
 apt (0.6.35) hoary; urgency=low