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

Bug#148073: marked as done (apt-cdrom cannot be made to not modify sources.list, and damages your system if you try)



Your message dated Fri, 24 May 2002 14:19:08 -0600 (MDT)
with message-id <Pine.LNX.3.96.1020524141015.7868C-100000@wakko.debian.net>
and subject line Bug#148073: apt-cdrom cannot be made to not modify sources.list,  and damages  your system if you try
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 24 May 2002 19:59:45 +0000
>From jlicquia@progeny.com Fri May 24 14:59:45 2002
Return-path: <jlicquia@progeny.com>
Received: from 12-222-16-44.client.insightbb.com (sentinel.licquia.org) [12.222.16.44] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17BLE1-0003kO-00; Fri, 24 May 2002 14:59:45 -0500
Received: from laptop2.internal.licquia.org (unknown [192.168.52.2])
	by sentinel.licquia.org (Postfix) with ESMTP
	id 82DCA45003; Fri, 24 May 2002 14:59:44 -0500 (EST)
Received: by laptop2.internal.licquia.org (Postfix, from userid 1000)
	id 10ED92B425; Fri, 24 May 2002 14:59:42 -0500 (EST)
Subject: apt-cdrom cannot be made to not modify sources.list, and damages
	your system if you try
From: Jeff Licquia <jlicquia@progeny.com>
To: submit@bugs.debian.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.3 
Date: 24 May 2002 14:59:41 -0500
Message-Id: <1022270382.958.44.camel@laptop2.internal.licquia.org>
Mime-Version: 1.0
Delivered-To: submit@bugs.debian.org

Package: apt
Version: 0.5.4

I'm wanting to add a CD-ROM from a program to manage sources.list. 
Obviously, I have to add an entry to sources.list in order for the CD to
be useful, but I want to have control over that process.  However, I
must use apt-cdrom to do the actual adding, because of the index files. 
But apt-cdrom always munges sources.list.

What's worse is that the obvious way to cause it to not munge
sources.list damages your system.  If you pass "-o
Dir::Etc::sourcelist=/dev/null", apt-cdrom will happily replace the
character device node /dev/null with a text file containing the
sources.list line for the CD.

So, for now, I'm passing "-o Dir::Etc::sourcelist=<temp_path>/junk" and
removing the junk file.  This is suboptimal, and arguably the behavior
regarding /dev/null is dangerous.  Please fix it.


---------------------------------------
Received: (at 148073-done) by bugs.debian.org; 24 May 2002 20:26:05 +0000
>From jgg@debian.org Fri May 24 15:26:05 2002
Return-path: <jgg@debian.org>
Received: from h24-71-223-10.cg.shawcable.net (pd4mo1so.prod.shaw.ca) [24.71.223.10] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17BLdU-0005t9-00; Fri, 24 May 2002 15:26:04 -0500
Received: from pd2mr1so.prod.shaw.ca (pd2mr1so-ser.prod.shaw.ca [10.0.141.110])
 by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0GWM008KVTRWTK@l-daemon> for 148073-done@bugs.debian.org; Fri,
 24 May 2002 14:19:08 -0600 (MDT)
Received: from pn2ml8so.prod.shaw.ca
 (pn2ml8so-qfe0.prod.shaw.ca [10.0.121.152]) by l-daemon
 (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0GWM005ORTRW4Y@l-daemon> for 148073-done@bugs.debian.org; Fri,
 24 May 2002 14:19:08 -0600 (MDT)
Received: from wakko.debian.net
 (h24-86-210-128.ed.shawcable.net [24.86.210.128])
 by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0GWM00H0TTRWC2@l-daemon> for 148073-done@bugs.debian.org; Fri,
 24 May 2002 14:19:08 -0600 (MDT)
Received: from localhost	([127.0.0.1] helo=wakko.debian.net ident=jgg)
	by wakko.debian.net with smtp (Exim 3.16 #1 (Debian))
	id 17BLWm-00027x-00; Fri, 24 May 2002 14:19:08 -0600
Date: Fri, 24 May 2002 14:19:08 -0600 (MDT)
From: Jason Gunthorpe <jgg@debian.org>
Subject: Re: Bug#148073: apt-cdrom cannot be made to not modify sources.list,
 and damages  your system if you try
In-reply-to: <1022270382.958.44.camel@laptop2.internal.licquia.org>
X-Sender: jgg@wakko.debian.net
To: Jeff Licquia <jlicquia@progeny.com>, 148073-done@bugs.debian.org
Cc: APT Development Team <deity@lists.debian.org>, apt@packages.qa.debian.org
Message-id: <Pine.LNX.3.96.1020524141015.7868C-100000@wakko.debian.net>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
Delivered-To: 148073-done@bugs.debian.org


On 24 May 2002, Jeff Licquia wrote:

> I'm wanting to add a CD-ROM from a program to manage sources.list. 
> Obviously, I have to add an entry to sources.list in order for the CD to
> be useful, but I want to have control over that process.  However, I
> must use apt-cdrom to do the actual adding, because of the index files. 
> But apt-cdrom always munges sources.list.

Er, Ok...
 
> What's worse is that the obvious way to cause it to not munge
> sources.list damages your system.  If you pass "-o
> Dir::Etc::sourcelist=/dev/null", apt-cdrom will happily replace the
> character device node /dev/null with a text file containing the
> sources.list line for the CD.

How is this the obvious way? Don't do that :P

> So, for now, I'm passing "-o Dir::Etc::sourcelist=<temp_path>/junk" and
> removing the junk file.  This is suboptimal, and arguably the behavior

I can't imagine why you would want to run apt-cdrom and discard the
source.list entires. It makes no sense, all the work apt-cdrom does will
be undone by apt-get if the entries are not preserved.

Jason


-- 
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: