瀏覽代碼

Two bugs..
Author: jgg
Date: 1999-05-13 03:09:33 GMT
Two bugs..

Arch Librarian 22 年之前
父節點
當前提交
2c0c53b340
共有 3 個文件被更改,包括 17 次插入 和 1 次删除
  1. 8 1
      cmdline/apt-get.cc
  2. 7 0
      debian/changelog
  3. 2 0
      doc/apt-get.8.yo

+ 8 - 1
cmdline/apt-get.cc

@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description								/*{{{*/
-// $Id: apt-get.cc,v 1.57 1999/04/20 05:59:29 jgg Exp $
+// $Id: apt-get.cc,v 1.58 1999/05/13 03:09:33 jgg Exp $
 /* ######################################################################
    
    apt-get - Cover for dpkg
@@ -1183,6 +1183,13 @@ bool DoSource(CommandLine &CmdL)
       c1out << SizeToStr(DebBytes) << 'b';
    c1out << " of source archives." << endl;
 
+   if (_config->FindB("APT::Get::Simulate",false) == true)
+   {
+      for (unsigned I = 0; I != J; I++)
+	 cout << "Fetch Source " << Dsc[I].Package << endl;
+      return true;
+   }
+   
    // Just print out the uris an exit if the --print-uris flag was used
    if (_config->FindB("APT::Get::Print-URIs") == true)
    {

+ 7 - 0
debian/changelog

@@ -1,3 +1,10 @@
+apt (0.3.6.1) unstable; urgency=low
+
+  * Fixed missing text in the apt-get(8) page. Closes: #37596
+  * Made --simulate and friends work with apt-get source. Closes: #37597
+  
+ -- Jason Gunthorpe <jgg@debian.org>  Wed, 12 May 1999 09:18:49 -0700
+ 
 apt (0.3.6) unstable; urgency=low
 
   * Note that 0.3.5 never made it out the door..

+ 2 - 0
doc/apt-get.8.yo

@@ -57,6 +57,7 @@ front-end, bf(dselect (8)). bf(dselect-upgrade)
 follows the changes made by bf(dselect) to the em(Status)
 field of available packages, and performs the actions necessary to realize
 that state (for instance, the removal of old and the installation of new
+packages). 
 
 dit(bf(dist-upgrade))
 bf(dist-upgrade),in addition to performing the function of bf(upgrade),
@@ -226,6 +227,7 @@ itemize(
   
   it() /var/state/apt/lists/
   storage area for state information for each package resource specified in
+  the source list
   
   it() /var/state/apt/lists/partial/
   storage area for state information in transit