[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#34923: apt-cdrom does not work



Package: apt
Version: 0.3.2

Hi!

I was very happy to see that apt now supports multiple cd-roms. But: apt-cdrom
does not work if a Release file is available. It is a simple typo. I included
a simple patch:

diff -u -r apt-0.3.2/apt-pkg/contrib/fileutl.cc apt-0.3.2.new/apt-pkg/contrib/fileutl.cc
--- apt-0.3.2/apt-pkg/contrib/fileutl.cc	Tue Mar 23 01:39:51 1999
+++ apt-0.3.2.new/apt-pkg/contrib/fileutl.cc	Tue Mar 23 01:41:16 1999
@@ -45,7 +45,7 @@
       if (Size > 64000)
 	 ToRead = 64000;
       
-      if (To.Read(Buf,ToRead) == false || 
+      if (From.Read(Buf,ToRead) == false || 
 	  To.Write(Buf,ToRead) == false)
       {
 	 delete [] Buf;

-- System Information
Debian Release: 2.1
Kernel Version: Linux pulsar 2.0.36 #1 Sun Jan 24 23:59:23 CET 1999 i686 unknown

Versions of the packages apt depends on:
ii  libc6           2.0.7.19981211 GNU C Library: shared libraries
ii  libstdc++2.8    2.90.29-2      The GNU stdc++ library (old egcs version)

Attachment: pgpfpXKwknijp.pgp
Description: PGP signature


Reply to: