Fixed apt-cdrom and the control file
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:53:55 +0000 (16:53 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:53:55 +0000 (16:53 +0000)
Author: jgg
Date: 1999-05-29 21:49:58 GMT
Fixed apt-cdrom and the control file

cmdline/apt-cdrom.cc
debian/changelog
debian/control
doc/examples/sources.list

index 49c7909..dd45e9b 100644 (file)
@@ -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;
index 0c5acad..b96b3a5 100644 (file)
@@ -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
  
index b1ec77c..f460aa5 100644 (file)
@@ -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 
index 0fcc006..34de621 100644 (file)
@@ -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