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

Bug#59218: apt: flags don't override config file (ie, -u -y)



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


Reply to: