Your message dated Sat, 26 Aug 2000 09:50:51 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#70013: apt: ignores "-c=/other/config/file" parameter when
no sources.list present
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; 26 Aug 2000 16:26:24 +0000
>From [EMAIL PROTECTED] Sat Aug 26 11:26:24 2000
Return-path: <[EMAIL PROTECTED]>
Received: from rztsun.rz.tu-harburg.de [::ffff:134.28.200.14]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 13Simm-0001p5-00; Sat, 26 Aug 2000 11:26:24 -0500
Received: from pulp.whm.tu-harburg.de (pulp.whm.tu-harburg.de [134.28.72.1])
by rztsun.rz.tu-harburg.de (8.9.0/8.8.8) with ESMTP id SAA07931
for <[EMAIL PROTECTED]>; Sat, 26 Aug 2000 18:26:22 +0200 (MET DST)
Received: from server.zuhause.de (pinguin.whm.tu-harburg.de [134.28.73.83])
by pulp.whm.tu-harburg.de (8.10.2/8.10.2) with ESMTP id e7QGPQh01728
for <[EMAIL PROTECTED]>; Sat, 26 Aug 2000 18:25:27 +0200
Received: from jens by server.zuhause.de with local (Exim 3.12 #1 (Debian))
id 13Silt-00061K-00; Sat, 26 Aug 2000 18:25:29 +0200
From: Jens Benecke <[EMAIL PROTECTED]>
Subject: apt: ignores "-c=/other/config/file" parameter when no sources.list
present
To: [EMAIL PROTECTED]
X-Mailer: bug 3.2.10
Message-Id: <[EMAIL PROTECTED]>
Date: Sat, 26 Aug 2000 18:25:29 +0200
Delivered-To: [EMAIL PROTECTED]
Package: apt
Version: 0.3.19
Severity: normal
I have two sources.list files: sources.stable and sources.unstable.
Whenever I _need_ some woody package I try sources.unstable and see what
else would be upgraded, and then decide. For that I have set bash aliases,
with proper parameters.
The trouble is that apt-get ignores the proposed "-c=other-config-file"
option. Like this:
ds9:/etc/apt# apt-get install fmt
E: Opening /etc/apt/sources.list - ifstream::ifstream (2 Datei oder
Verzeichnis nicht gefunden)
E: The list of sources could not be read.
(which is normal, since only *stable and *unstable exist.) But:
ds9:/etc/apt# apt-get -c=/etc/apt/sources.stable install fmt
E: Opening /etc/apt/sources.list - ifstream::ifstream (2 Datei oder
Verzeichnis nicht gefunden)
E: The list of sources could not be read.
sources.stable is present and readable, and it still cannot read them. Also
if an empty sources.list exists, it will ignore the -c parameter and
refuse to read the additional source lists.
I suppose not working without a *.list file is a "feature", according to
the man page - but ignoring the -c options should not be.
-- System Information
Debian Release: 2.2
Kernel Version: Linux server 2.2.16-9mdk #1 Wed Aug 2 13:30:35 CEST 2000 i586
unknown
Versions of the packages apt depends on:
ii libc6 2.1.3-10 GNU C Library: Shared libraries and Timezone
ii libstdc++2.10 2.95.2-13 The GNU stdc++ library
---------------------------------------
Received: (at 70013-done) by bugs.debian.org; 26 Aug 2000 16:52:28 +0000
>From [EMAIL PROTECTED] Sat Aug 26 11:52:28 2000
Return-path: <[EMAIL PROTECTED]>
Received: from phnxpop4.phnx.uswest.net [::ffff:206.80.192.4]
by master.debian.org with smtp (Exim 3.12 1 (Debian))
id 13SjBz-0002zg-00; Sat, 26 Aug 2000 11:52:27 -0500
Received: (qmail 54385 invoked by alias); 26 Aug 2000 16:52:26 -0000
Delivered-To: [EMAIL PROTECTED]@fixme
Received: (qmail 54367 invoked by uid 0); 26 Aug 2000 16:52:26 -0000
Received: from bdslppp125.phnx.uswest.net (HELO gandalf.tausq.org)
(216.160.217.125)
by phnxpop4.phnx.uswest.net with SMTP; 26 Aug 2000 16:52:26 -0000
Received: from randolph by gandalf.tausq.org with local (Exim 3.12 #1 (Debian))
id 13SjAR-0000IF-00; Sat, 26 Aug 2000 09:50:51 -0700
Date: Sat, 26 Aug 2000 09:50:51 -0700
From: Randolph Chung <[EMAIL PROTECTED]>
To: Jens Benecke <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#70013: apt: ignores "-c=/other/config/file" parameter when no
sources.list present
Message-ID: <[EMAIL PROTECTED]>
Reply-To: Randolph Chung <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0.1i
In-Reply-To: <[EMAIL PROTECTED]>; from [EMAIL PROTECTED] on Sat, Aug 26, 2000
at 06:25:29PM +0200
X-PGP: for PGP key, see http://www.tausq.org/pgp.txt
X-GPG: for GPG key, see http://www.tausq.org/gpg.txt
Sender: Randolph Chung <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
> The trouble is that apt-get ignores the proposed "-c=other-config-file"
> option. Like this:
> ds9:/etc/apt# apt-get -c=/etc/apt/sources.stable install fmt
> E: Opening /etc/apt/sources.list - ifstream::ifstream (2 Datei oder
> Verzeichnis nicht gefunden)
> E: The list of sources could not be read.
>
> sources.stable is present and readable, and it still cannot read them. Also
> if an empty sources.list exists, it will ignore the -c parameter and
> refuse to read the additional source lists.
-c is for the config file (/etc/apt/apt.conf). this is a source list file...
try:
apt-get -o Dir::Etc::sourcelist=/etc/apt/sources.stable install fmt
randolph
--
Debian Developer <[EMAIL PROTECTED]>
http://www.TauSq.org/