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

Bug#90418: Fwd: base: Parsing of apt.conf with unquoted values causes problems.




----------  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.

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



Reply to: