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

Bug#90418: marked as done (Fwd: base: Parsing of apt.conf with unquoted values causes problems.)



Your message dated Thu, 22 Mar 2001 23:52:21 -0700 (MST)
with message-id <Pine.LNX.3.96.1010322235011.477G-100000@wakko.deltatee.com>
and subject line Fwd: base: Parsing of apt.conf with unquoted values causes problems.
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.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 20 Mar 2001 09:25:46 +0000
>From dalek@motherwell.com.au Tue Mar 20 03:25:46 2001
Return-path: <dalek@motherwell.com.au>
Received: from smtp.motherwell.co.nz (nzfw01.motherwell.co.nz) [203.109.193.51] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 14fIOf-0000ko-00; Tue, 20 Mar 2001 03:25:45 -0600
Received: by nzfw01.motherwell.co.nz; (5.65v4.0/1.3/10May95) id AA19464; Tue, 20 Mar 2001 21:22:40 +1200
Received: from exchange.pth.motherwell.com.au (unverified) by mailgate.akl.motherwell.co.nz
 (Content Technologies SMTPRS 4.1.5) with ESMTP id <Tc0a82ac4526a5f1653@mailgate.akl.motherwell.co.nz> for <submit@bugs.debian.org>;
 Tue, 20 Mar 2001 21:32:14 +1200
Received: from Storm (storm.pth.motherwell.com.au [192.168.70.89]) by exchange.pth.motherwell.com.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id GCCX2HKA; Tue, 20 Mar 2001 17:25:28 +0800
Content-Type: text/plain;
  charset="iso-8859-1"
From: Dale Kemp <dalek@motherwell.com.au>
Reply-To: dalek@motherwell.com.au
Organization: Mi Services
To: submit@bugs.debian.org
Subject: Fwd: base: Parsing of apt.conf with unquoted values causes problems.
Date: Tue, 20 Mar 2001 17:25:31 +0800
X-Mailer: KMail [version 1.2]
Mime-Version: 1.0
Message-Id: <01032017253101.08111@Storm>
Content-Transfer-Encoding: 8bit
Delivered-To: submit@bugs.debian.org



----------  Forwarded Message  ----------
Subject: base: Parsing of apt.conf with unquoted values causes problems.
Date: Tue, 20 Mar 2001 17:23:20 +0800
From: Dale Kemp <dalek@localhost.localdomain>
To: submit@bugs.debian.org


Package: base
Version: 20010320
Severity: normal


-- System Information
Debian Release: testing/unstable
Kernel Version: Linux Storm 2.4.2 #3 Fri Feb 23 15:37:37 WST 2001 i686
 unknown

On upgrading apt in potato to the latest version in woody 0.5.3. The apt-get
update process broke. After trying various things I found that my Acquire::
http::Timeout value was not quoted, this caused apt to fail with messages
 like:

# apt-get update
Err http://planetmirror.com potato/main Packages
  Connection failed
Err http://planetmirror.com potato/main Release
  Connection failed




Putting the value for timeout in quotes

eg. Timeout "120";

and not Timeout 120;

Fixed the problem.

Either apt should report problems with the config file or be changed to
accept configurations with unquoted values.

Regards,

-- Dale Kemp (dalek@motherwell.com.au)

-------------------------------------------------------


**********************************************************************
This email and any files transmitted with it from Mi Services
Group may contain information which is 
privileged, confidential and protected from disclosure.
If it is not addressed to you, please immediately contact 
nzpostmaster@mi-services.com and do not use, disclose, 
copy, distribute or retain any of it without our authority.

**********************************************************************

---------------------------------------
Received: (at 90418-done) by bugs.debian.org; 23 Mar 2001 06:52:31 +0000
>From jgg@debian.org Fri Mar 23 00:52:31 2001
Return-path: <jgg@debian.org>
Received: from cast-ext.ab.videon.ca [206.75.216.34] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 14gLR0-0008KT-00; Fri, 23 Mar 2001 00:52:30 -0600
Received: (qmail 22908 invoked from network); 23 Mar 2001 06:52:29 -0000
Received: from unknown (HELO wakko.deltatee.com) ([24.108.173.63]) (envelope-sender <jgg@debian.org>)
          by cast-ext.ab.videon.ca (qmail-ldap-1.03) with SMTP
          for <90418-done@bugs.debian.org>; 23 Mar 2001 06:52:29 -0000
Received: from localhost
	([127.0.0.1] helo=wakko.deltatee.com ident=jgg)
	by wakko.deltatee.com with smtp (Exim 3.16 #1 (Debian))
	id 14gLQz-0000O8-00
	for <90418-done@bugs.debian.org>; Thu, 22 Mar 2001 23:52:29 -0700
Date: Thu, 22 Mar 2001 23:52:21 -0700 (MST)
From: Jason Gunthorpe <jgg@debian.org>
X-Sender: jgg@wakko.deltatee.com
To: 90418-done@bugs.debian.org
Subject: re: Fwd: base: Parsing of apt.conf with unquoted values causes problems.
Message-ID: <Pine.LNX.3.96.1010322235011.477G-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 90418-done@bugs.debian.org


I, have a better theory.

While you were futzing with your configuration file someone rebooted your
transparent proxy server and the server began to behave correctly.

Observe how the quotes have no effect on the parsing:

wakko{jgg}~#echo "timeout 120;" > /tmp/t
wakko{jgg}~#apt-config -c /tmp/t dump 2>&1 | grep -i timeout
timeout "120";

wakko{jgg}~#echo "timeout \"120\";" > /tmp/t
wakko{jgg}~#apt-config -c /tmp/t dump 2>&1 | grep -i timeout
timeout "120";

Jason



Reply to: