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

Bug#190643: marked as done (apt: -c option induces failure to parse sources.list)



Your message dated Thu, 24 Apr 2003 20:28:00 -0300
with message-id <87el3rpjb3.fsf@retteb.casa>
and subject line -c is not for sources.list
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 Apr 2003 21:20:18 +0000
>From didier@dfr.ch Thu Apr 24 16:20:18 2003
Return-path: <didier@dfr.ch>
Received: from smtp.net2000.ch [80.83.47.133] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 198o8f-000642-00; Thu, 24 Apr 2003 16:20:17 -0500
Received: from argon.local (client80-83-55-135.abo.net2000.ch [80.83.55.135])
	by smtp.net2000.ch (Net2000) with ESMTP id BD3B81FF2D
	for <submit@bugs.debian.org>; Thu, 24 Apr 2003 23:19:42 +0200 (CEST)
Received: from argon.local (dfrick@localhost [127.0.0.1])
	by argon.local (8.12.8/8.12.8/Debian-2) with ESMTP id h3OLJms5004966;
	Thu, 24 Apr 2003 23:19:49 +0200
Received: (from dfrick@localhost)
	by argon.local (8.12.8/8.12.8/Debian-2) id h3OLJmGS004964;
	Thu, 24 Apr 2003 23:19:48 +0200
Message-Id: <[🔎] 200304242119.h3OLJmGS004964@argon.local>
From: Didier Frick <didier@dfr.ch>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apt: -c option induces failure to parse sources.list
X-Mailer: reportbug 1.50
Date: Thu, 24 Apr 2003 23:19:48 +0200
X-BadReturnPath: dfrick@argon.local rewritten as didier@dfr.ch
  using "From" header
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-5.1 required=4.0
	tests=BAYES_01,HAS_PACKAGE,MSG_ID_ADDED_BY_MTA_3
	version=2.53
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp)

Package: apt
Version: 0.5.4
Severity: normal

Using the -c option to specify a source list file makes
the parsing of this file fail with "Extra junk at end of file".
This happened to me using different source.list files, all
working well as default.

Example:

argon:~# apt-get -c=/etc/apt/sources.list update
E: Syntax error /etc/apt/sources.list:36: Extra junk at end of file

argon:~# apt-get update
Hit http://debian.ethz.ch sarge/main Packages                                  
Hit http://debian.ethz.ch sarge/main Release                                   
....




-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux argon.local 2.4.18 #1 Wed Aug 14 18:35:24 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=

Versions of packages apt depends on:
ii  libc6                        2.3.1-16    GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2       1:2.95.4-17 The GNU stdc++ library


---------------------------------------
Received: (at 190643-done) by bugs.debian.org; 24 Apr 2003 23:28:43 +0000
>From otavio@debian.org Thu Apr 24 18:28:43 2003
Return-path: <otavio@debian.org>
Received: from quebec.procergs.com.br [200.198.128.236] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 198q8x-0005Lr-00; Thu, 24 Apr 2003 18:28:43 -0500
Received: from retteb.casa (200-180-238-011.pltce7001.dsl.brasiltelecom.net.br [200.180.238.11])
	by quebec.procergs.com.br (Postfix) with ESMTP id DC22B73363
	for <190643-done@bugs.debian.org>; Thu, 24 Apr 2003 20:28:01 -0300 (BRT)
Received: by retteb.casa (Postfix, from userid 1000)
	id DBA7A6A866; Thu, 24 Apr 2003 20:28:00 -0300 (BRT)
To: 190643-done@bugs.debian.org
Subject: -c is not for sources.list
From: Otavio Salvador <otavio@debian.org>
Date: Thu, 24 Apr 2003 20:28:00 -0300
Message-ID: <87el3rpjb3.fsf@retteb.casa>
User-Agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: 190643-done@bugs.debian.org
X-Spam-Status: No, hits=-7.3 required=4.0
	tests=BAYES_01,USER_AGENT_GNUS_UA
	version=2.53
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp)

Hello,

The -c option is for configuration files and not for sources.list. If
you look at manpage you will see:

       -c

       --config-file 
              Configuration File; Specify a configuration file
              to use.  The program will read the default configuration
              file and then this configuration file. See apt.conf(5)
              for syntax information.

Thanks,
Otavio

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio@debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------



Reply to: