瀏覽代碼

* 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 21 年之前
父節點
當前提交
eb0a335ea2
共有 3 個文件被更改,包括 1 次插入21 次删除
  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);
    Update(Prog);
+   Prog->Done();
    
    
    return true;
    return true;
 } 
 } 

+ 0 - 14
cmdline/apt-cache.cc

@@ -1360,20 +1360,6 @@ bool ShowPackage(CommandLine &CmdL)
 
 
       ++found;
       ++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.
       // Find the proper version to use.
       if (_config->FindB("APT::Cache::AllVersions","true") == true)
       if (_config->FindB("APT::Cache::AllVersions","true") == true)
       {
       {

+ 0 - 7
debian/changelog

@@ -1,7 +1,5 @@
 apt (0.6.37) breezy; urgency=low
 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 
   * 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)
     archive, we don't use per-section Release files anymore with apt-0.6)
     (closes ubuntu #9935)
     (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
  -- Michael Vogt <michael.vogt@ubuntu.com>  Mon, 23 May 2005 11:57:53 +0200
 
 
->>>>>>> MERGE-SOURCE
 apt (0.6.36) experimental; urgency=low
 apt (0.6.36) experimental; urgency=low
 
 
   * Merge apt--mvo--0:
   * Merge apt--mvo--0:
@@ -35,11 +32,7 @@ apt (0.6.36) experimental; urgency=low
     - apt-pkg/cdrom.cc:
     - apt-pkg/cdrom.cc:
       honor "Acquire::gpgv::Options" when verifying the signature (Ubuntu #8496)
       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
  -- Michael Vogt <mvo@debian.org>  Thu, 31 Mar 2005 20:37:11 +0200
->>>>>>> MERGE-SOURCE
 
 
 apt (0.6.35) hoary; urgency=low
 apt (0.6.35) hoary; urgency=low