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

Bug#210485: apt-cdrom adds debian-installer paths to sources.list



On Thu, Sep 11, 2003 at 10:22:06PM +0200, Jens Seidel wrote:

> I got the following bug report from a user, so I don't know the used version
> of apt-cdrom and cannot give a detailed explanation. But the same happened to
> me a few month ago too.

Can you or the user try the following patch?

--- apt-cdrom.cc.~1.43.~	1969-12-31 19:00:01.000000000 -0500
+++ apt-cdrom.cc	2003-09-11 20:06:48.000000000 -0400
@@ -101,7 +101,8 @@
 	  //strcmp(Dir->d_name,"source") == 0 ||
 	  strcmp(Dir->d_name,".disk") == 0 ||
 	  strcmp(Dir->d_name,"experimental") == 0 ||
-	  strcmp(Dir->d_name,"binary-all") == 0)
+	  strcmp(Dir->d_name,"binary-all") == 0 ||
+          strcmp(Dir->d_name,"debian-installer") == 0)
 	 continue;
 
       // See if the name is a sub directory

I don't know much about how the new CDs are constructed, but I think this will
fix it.

-- 
 - mdz



Reply to: