On Tuesday, July 30, 2002, at 12:33 AM, Debian Bug Tracking System wrote:
Date: Mon, 29 Jul 2002 22:21:16 -0600 (MDT)
From: Jason Gunthorpe <[EMAIL PROTECTED]>
Subject: Re: Bug#154804: apt: Does not report syntax error
Acquire:cdrom:Mount
"/mnt/cdrom";
In-reply-to: <[EMAIL PROTECTED]>
X-Sender: [EMAIL PROTECTED]
To: John Dalbec <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Cc: APT Development Team <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
Delivered-To: [EMAIL PROTECTED]
On Mon, 29 Jul 2002, John Dalbec wrote:
in a file in /etc/apt/apt.conf.d, apt silently ignores it.
Apt should report a syntax error since the line should have :: instead
of :.
A single : is legal in an identifier.
Where would you use a single : in an option name? All of the single :
in /usr/share/doc/apt/examples/configure-index.gz are in option values.
How about a warning like "unrecognized option Acquire:cdrom:Mount"?
John
Jason