* added a missing OpProgress::Done() in depCache::Init(), removed the show-virtual...
authorMichael Vogt <michael.vogt@ubuntu.com>
Wed, 1 Jun 2005 13:51:21 +0000 (13:51 +0000)
committerMichael Vogt <michael.vogt@ubuntu.com>
Wed, 1 Jun 2005 13:51:21 +0000 (13:51 +0000)
apt-pkg/depcache.cc
cmdline/apt-cache.cc
debian/changelog

index c6bf318..240ad4d 100644 (file)
@@ -91,6 +91,7 @@ bool pkgDepCache::Init(OpProgress *Prog)
    }
    
    Update(Prog);
+   Prog->Done();
    
    return true;
 } 
index 3bd1435..0014563 100644 (file)
@@ -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)
       {
index d2b8963..681684d 100644 (file)
@@ -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