Просмотр исходного кода

Fixed apt-cdrom and the control file
Author: jgg
Date: 1999-05-29 21:49:58 GMT
Fixed apt-cdrom and the control file

Arch Librarian лет назад: 22
Родитель
Сommit
d44d5144f2
4 измененных файлов с 6 добавлено и 3 удалено
  1. 3 2
      cmdline/apt-cdrom.cc
  2. 1 0
      debian/changelog
  3. 1 0
      debian/control
  4. 1 1
      doc/examples/sources.list

+ 3 - 2
cmdline/apt-cdrom.cc

@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description								/*{{{*/
-// $Id: apt-cdrom.cc,v 1.24 1999/05/29 04:59:52 jgg Exp $
+// $Id: apt-cdrom.cc,v 1.25 1999/05/29 21:49:58 jgg Exp $
 /* ######################################################################
    
    APT CDROM - Tool for handling APT's CDROM database.
@@ -468,7 +468,8 @@ bool CopyPackages(string CDROM,string Name,vector<string> &List)
 	    
 	    // Get the size
 	    struct stat Buf;
-	    if (stat(string(CDROM + Prefix + File).c_str(),&Buf) != 0)
+	    if (stat(string(CDROM + Prefix + File).c_str(),&Buf) != 0 || 
+		Buf.st_size == 0)
 	    {
 	       // Attempt to fix busted symlink support for one instance
 	       string OrigFile = File;

+ 1 - 0
debian/changelog

@@ -19,6 +19,7 @@ apt (0.3.6.1) unstable; urgency=low
   * Order of apt-cdrom dist detection. Closes: #38139
   * Fix apt-cdrom chop handling and missing lines. Closes: #37276
   * IPv6 http support
+  * Suggests dpkg-dev for apt-get source. Closes: #38158
   
  -- Jason Gunthorpe <jgg@debian.org>  Wed, 12 May 1999 09:18:49 -0700
  

+ 1 - 0
debian/control

@@ -11,6 +11,7 @@ Priority: standard
 Conflicts: deity
 Replaces: deity
 Provides: libapt-pkg${libapt-pkg:major}
+Suggests: dpkg-dev
 Description: Advanced front-end for dpkg
  This is Debian's next generation front-end for the dpkg package manager.
  It provides the apt-get utility and APT dselect method that provides a 

+ 1 - 1
doc/examples/sources.list

@@ -1,4 +1,4 @@
 # See sources.list(5) for more information
 # Remember that you can only use http, ftp or file URIs
 deb http://ftp1.us.debian.org/debian unstable main contrib non-free
-deb http://non-us.debian.org/debian-non-US unstable non-US
+deb http://non-us.debian.org/debian-non-US unstable non-US/main non-US/contrib non-US/non-free