Your message dated Mon, 28 Feb 2000 12:20:23 -0700 (MST)
with message-id <[EMAIL PROTECTED]>
and subject line Bug#59218: apt: flags don't override config file (ie, -u -y)
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; 28 Feb 2000 17:32:32 +0000
Received: (qmail 21913 invoked from network); 28 Feb 2000 17:32:30 -0000
Received: from arclab.static.golden.net (209.183.159.94)
by master.debian.org with SMTP; 28 Feb 2000 17:32:30 -0000
Received: by arclab.static.golden.net
via sendmail from stdin
id <[EMAIL PROTECTED]> (Debian Smail3.2.0.102)
for [EMAIL PROTECTED]; Mon, 28 Feb 2000 12:33:25 -0500 (EST)
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 28 Feb 2000 12:33:25 -0500 (EST)
From: Jason Neudorf <[EMAIL PROTECTED]>
Subject: apt: flags don't override config file (ie, -u -y)
To: [EMAIL PROTECTED]
Bcc:
X-Mailer: bug 3.2.10
Package: apt
Version: 0.3.18
Severity: normal
I've been pointing my default "apt.conf" at a local distribution made by
"apt-move", and using a different one for actual updates. It contains
lines like ` Download-Only "false"; `. When I go to do something like:
apt-get -u -s -c /work/etc/apt/bio-apt.conf upgrade
the line in the configuration file overrides the config file, and it looks
like it never happened. This is unlike the man page, which says (at about
line 200, under OPTIONS) that you can override things. Thus, things like this
can happen:
apt-get -u -s -c /work/etc/apt/bio-apt.conf install iraf
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
f2c iraf-common iraf-ibin iraf-noaobin
The following NEW packages will be installed:
f2c iraf iraf-common iraf-ibin iraf-noaobin
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 38.4MB of archives. After unpacking 111MB will be used.
Do you want to continue? [Y/n]
Get:1 http://http.us.debian.org frozen/main f2c 19991025-1 [408kB]
0% [1 f2c 1088/408kB 0%]
Granted, my "bio-apt.conf" configuration file is broken for having contained
a line with `Download-Only = "false"; `, but according to the manual, it should
have worked anyways.
-- System Information
Debian Release: 2.2
Kernel Version: Linux arc 2.2.14 #8 Tue Jan 4 23:08:31 EST 2000 i686 unknown
Versions of the packages apt depends on:
ii libc6 2.1.3-5 GNU C Library: Shared libraries and Timezone
ii libstdc++2.10 2.95.2-6 The GNU stdc++ library
---------------------------------------
Received: (at 59218-done) by bugs.debian.org; 28 Feb 2000 19:19:33 +0000
Received: (qmail 15808 invoked from network); 28 Feb 2000 19:19:33 -0000
Received: from wakko.powersurfr.com (HELO wakko.deltatee.com) ([EMAIL
PROTECTED])
by master.debian.org with SMTP; 28 Feb 2000 19:19:33 -0000
Received: from localhost (wakko.deltatee.com) [127.0.0.1] (jgg)
by wakko.deltatee.com with smtp (Exim 2.11 #1)
id 12PViR-00050O-00 (Debian); Mon, 28 Feb 2000 12:20:23 -0700
Date: Mon, 28 Feb 2000 12:20:23 -0700 (MST)
From: Jason Gunthorpe <[EMAIL PROTECTED]>
X-Sender: [EMAIL PROTECTED]
To: Jason Neudorf <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
cc: APT Development Team <[EMAIL PROTECTED]>
Subject: Re: Bug#59218: apt: flags don't override config file (ie, -u -y)
In-Reply-To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Mon, 28 Feb 2000, Jason Neudorf wrote:
> I've been pointing my default "apt.conf" at a local distribution made by
> "apt-move", and using a different one for actual updates. It contains
> lines like ` Download-Only "false"; `. When I go to do something like:
>
> apt-get -u -s -c /work/etc/apt/bio-apt.conf upgrade
Your order is wrong, the command line is processed in order of ocurrance,
so -u and -s are overridden by the options in the config file specified
by -c. Put the -c option first.
Jason